- 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
Created
July 4, 2019 17:16
-
-
Save ramene/42f097fe7e6275f84967f29030c3327c to your computer and use it in GitHub Desktop.
OpenFaaS on Kubernetes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment