On The Blog

News, tutorials and case-studies from the OpenFaaS team.

  • How to split large Python Functions across multiple files

    Python Coding Examples

    As a core contributor to OpenFaaS, you’ll find me in the OpenFaaS Slack hanging out and ready to help new users and contributors. You can join the community here. This was post inspired by a question from a new user who had just joined the community. He asked:

    Lucas Roesler

    Read Now
  • Unifying Secrets for OpenFaaS

    Kubernetes Swarm Developer-experience Security

    Today I want to tell you about a new feature released in OpenFaaS that unifies the experience of working with secrets. We introduced the ability to manage secrets in one consistent way whether you are using Kubernetes, Swarm or Nomad. The changes we made to the REST API and CLI simplify the amount of commands you need to learn and remember to manage confidential data used by your functions.

    Alex Ellis

    Read Now
  • Introducing the Template Store for OpenFaaS

    Kubernetes Swarm Templates Developer-experience

    I would like to introduce you to the new Template Store feature which has been developed in the community to make it even easier to discover and share custom function templates for your serverless functions. We’ll look at how serverless platforms such as AWS Lambda package functions in zip files along with some of the pros and cons. We’ll then take a quick look at how OpenFaaS packages functions using the Docker/OCI image format and learn how to discover custom function templates using the new template store feature.

    Alex Ellis

    Read Now
  • Introducing stateless microservices for OpenFaaS

    Kubernetes Swarm Microservices

    I want to share some news with you. We’ve merged and released support for stateless microservices in OpenFaaS 0.9.0. This means you can now take advantage of the simple, but powerful developer experience of OpenFaaS as a single pane of glass to manage your FaaS functions and microservices. The whole experience is included from the CLI, to the Prometheus metrics to the built-in auto-scaling. Even scaling to zero is supported. I’ll walk you through deploying a Ruby and Sinatra guestbook backed by MySQL deployed to OpenFaaS with Kubernetes.

    Alex Ellis

    Read Now
  • Deploy OpenFaaS and Kubernetes on DigitalOcean with Ansible

    Automation Kubernetes Swarm Ansible

    This article will demonstrate how to have an OpenFaaS instance up and running on a DigitalOcean droplet in around 5 minutes through an Ansible playbook. You can pick either Kubernetes or Docker Swarm in the tutorial.

    Richard Gee

    Read Now
  • 5 tips and tricks for the OpenFaaS CLI

    Cli Kubernetes Swarm

    In this post I’ll share 5 top tips for boosting productivity with the OpenFaaS CLI. The CLI is used by developers to interact with OpenFaaS from the terminal is the most popular part of the project for new contributors to cut their teeth on. Since 2017 the contributors been incrementally fine-tuning the developer-experience through user-feedback, new features and productivity-boosters.

    Alex Ellis

    Read Now
  • Multi-stage Serverless on Kubernetes with OpenFaaS and GKE

    Auto-scaling Kubernetes Gke

    This is a guide on how to set up OpenFaaS on Google Kubernetes Engine (GKE) with a cost-effective, auto-scaling, multi-stage deployment.

    Stefan Prodan

    Read Now
  • Serverless Security: read-only functions with OpenFaaS

    Security Kubernetes Swarm

    In this post I’ll highlight one of the ways we’re making OpenFaaS a more secure environment for your production functions and workloads.

    Alex Ellis

    Read Now
  • Scale to Zero and Back Again with OpenFaaS

    Auto-scaling Kubernetes Swarm

    In this post I’ll explain how you can now save resources by having OpenFaaS automatically scale functions to zero replicas and back to their minimum replica-level again whenever they are needed. The zero-scale feature consists of scaling up from zero and scaling down to zero, both work very together to provide cost savings and efficient use of resources.

    Alex Ellis

    Read Now
  • Introducing the OpenFaaS Operator for Serverless on Kubernetes

    Kubernetes

    This blog post introduces OpenFaaS Operator which is a CRD and Controller for OpenFaaS on Kubernetes. We started working on this in the community in October last year to enable a tighter integration with Kubernetes. The most visible way you’ll see this is by being able to type in kubectl get functions.

    Alex Ellis

    Read Now