Deploy the Chart with arkade (fastest option)
The arkade install command installs OpenFaaS using its official helm chart, but without using tiller, a component which is insecure by default. arkade can also install other important software for OpenFaaS users such as cert-manager and nginx-ingress. It's the easiest and quickest way to get up and running.
You can use arkade to install OpenFaaS to a regular cloud cluster, your laptop, a VM, a Raspberry Pi, or a 64-bit ARM machine.
# For MacOS / Linux:
curl -SLsf https://dl.get-arkade.dev/ | sudo sh
# For Windows (using Git Bash)
curl -SLsf https://dl.get-arkade.dev/ | sh
Install the OpenFaaS app If you're using a managed cloud Kubernetes service which supplies LoadBalancers, then run the following:
arkade install openfaas --load-balancer
Note: the --load-balancer flag has a default of false, so by passing the flag, the installation will request one from your cloud provider.
If you're using a local Kubernetes cluster or a VM, then run:
arkade install openfaas
After the installation you'll receive a command to retrieve your OpenFaaS URL and password.
Other options for installation are available with arkade install openfaas --help
For cloud users run
kubectl get -n openfaas svc/gateway-external
and look for EXTERNAL-IP. This is your gateway address.