kubernetes-installation/KIND.md

946 B

Quick Kubernetes Local on KIND

Install Kind and create cluster (local)

GO111MODULE="on" go get sigs.k8s.io/kind@v0.11.1 && kind create cluster

Install Kubeapps

  • Add Bitnami Repo
helm repo add bitnami https://charts.bitnami.com/bitnami
kubectl create namespace kubeapps
helm install kubeapps --namespace kubeapps bitnami/kubeapps
  • Install Kubeapps
kubectl create --namespace default serviceaccount kubeapps-operator
kubectl create clusterrolebinding kubeapps-operator --clusterrole=cluster-admin --serviceaccount=default:kubeapps-operator
  • Get Token
kubectl get secret $(kubectl get serviceaccount kubeapps-operator -o jsonpath='{range .secrets[*]}{.name}{"\n"}{end}' | grep kubeapps-operator-token) -o jsonpath='{.data.token}' -o go-template='{{.data.token | base64decode}}' && echo

Reference