O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OpenFaaS

Let's start by looking at OpenFaaS. I still have my Google Cloud cluster running, so I will deploy OpenFaaS there using the following command from within the faas-netes folder I cloned in the previous chapter:

$ kubectl apply -f ./faas.yml,monitoring.yml

As you can see, this time I have used just kubectl rather than helm. We can check the services deployed by running:

$ kubectl get services

This will return the following:

The one thing to notice is that by default OpenFaaS uses the NodePort rather than load balancer to expose the gateway service. No problem, you may be thinking to yourself; we can just use the following commands to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required