Summary
This chapter discussed OpenFaaS, its architecture, and how we can use it as a serverless framework to deploy functions in Docker Swarm. OpenFaaS has several compelling features, especially its ease of use. This chapter showed that deploying an OpenFaaS stack is quite simple in Docker Swarm infrastructure. Then, this chapter continued to discuss how to define, build, pack, and deploy functions in OpenFaaS. It also discussed an advanced topic of how to tweak and prepare custom templates.
Monitoring OpenFaaS is quite simple, as it comes with Prometheus built in. We only need to install a Grafana dashboard and connect it to the Prometheus data source and we will have a ready-to-use dashboard, helping us to operate an OpenFaaS cluster. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access