Create local Kubernetes clusters using Docker container "nodes" with kind
./scripts/kind-install-all.sh
Or you can install each component individually
./scripts/kind-create.sh
./scripts/kind-create.sh
Script creates:
- client.key
- client.crt
- client.pfx
- cluster-ca.crt
Install k8s dashboard
./scripts/kind-add-dashboard.sh
Script creates file with admin-user token
- dashboard-admin-token.txt
In terminal
# kill kubectl proxy if already running
pkill -9 -f "kubectl proxy"
# start new kubectl proxy
kubectl proxy –address=’0.0.0.0′ –accept-hosts=’^*$’ &
# copy admin-user token to the clipboard
cat ./dashboard-admin-token.txt | xclip -i
# open dashboard
xdg-open "http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" &
In Dashboard UI select "Token' and Ctrl+V
./scripts/kind-add-ingress-nginx.sh
./scripts/kind-add-metallb.sh
./scripts/kind-deploy-app-nginx-ingress-localhost.sh
./scripts/kind-deploy-app-helloweb.sh
./scripts/kind-deploy-app-golang-hello-world-web.sh
./scripts/kind-deploy-app-foo-bar-service.sh
./scripts/kind-delete.sh