Skip to content

Instantly share code, notes, and snippets.

@troygoode
Created July 30, 2018 16:17
Show Gist options
  • Save troygoode/debe0be9a5a907cbacbf42f4df7ac003 to your computer and use it in GitHub Desktop.
Save troygoode/debe0be9a5a907cbacbf42f4df7ac003 to your computer and use it in GitHub Desktop.
K8s Dashboard
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/heapster.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/influxdb.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/rbac/heapster-rbac.yaml
kubectl apply -f https://gist.githubusercontent.com/troygoode/102596f2ebc4211ccbdaf7c738cea7e5/raw/3d2870329af018efcce27d7da8ed8048af90fbf7/eks-admin-service-account.yaml
kubectl apply -f https://gist.githubusercontent.com/troygoode/102596f2ebc4211ccbdaf7c738cea7e5/raw/3d2870329af018efcce27d7da8ed8048af90fbf7/eks-admin-cluster-role-binding.yaml
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep eks-admin | awk '{print $1}')
echo "Visit: http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/"
kubectl proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment