Skip to main content


Showing posts from March, 2019

Kubernetes in Docker on Mac

brew link --overwrite kubernetes-cli kubectl config use-context docker-for-desktop kubectl apply -f
vim dashboard-adminuser.yaml apiVersion: v1
kind: ServiceAccount
name: admin-user
namespace: kube-system

kubectl apply -f dashboard-adminuser.yaml kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
Copy the token.

kubectl proxy
Open http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/