- Install Docker Community Edition (Edge): link
- Install Helm:
$ brew install kubernetes-helm
- Create RBAC permissions for Tiller:
$ kubectl -n kube-system create sa tiller \ && kubectl create clusterrolebinding tiller \ --clusterrole cluster-admin \ --serviceaccount=kube-system:tiller
- Install the server-side Tiller component:
$ helm init --skip-refresh --upgrade --service-account tiller
- Create OpenFaaS namespaces:
$ kubectl apply -f https://raw.githubusercontent.com/openfaas/faas-netes/master/namespaces.yml
- Add the OpenFaaS Helm chart:
$ helm repo add openfaas https://openfaas.github.io/faas-netes/
- Deploy OpenFaaS from the helm chart repo:
$ helm upgrade openfaas --install openfaas/openfaas \ --namespace openfaas \ --set functionNamespace=openfaas-fn
- Navigate to
http://localhost:31112/ui/
and deploy some sample functions
Last active
October 24, 2018 13:55
-
-
Save rorpage/f85f7c41e9ae4c2157c7ab6d02b6ed7e to your computer and use it in GitHub Desktop.
Install and set up OpenFaaS on local Kubernetes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment