Skip to content

Instantly share code, notes, and snippets.

@turkenh
Created October 11, 2018 07:23
Show Gist options
  • Save turkenh/5321de47aba17353bd237f2589472bb5 to your computer and use it in GitHub Desktop.
Save turkenh/5321de47aba17353bd237f2589472bb5 to your computer and use it in GitHub Desktop.
Run a local kubernetes dashboard for remote kubernetes cluster
#!/usr/bin/env bash
KUBECONFIG=${KUBECONFIG:-"$HOME/.kube/config"}
docker run -v "${KUBECONFIG}":/tmp/config -p 8443:8443 k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.0 \
--auto-generate-certificates --kubeconfig=/tmp/config --disable-skip
@turkenh
Copy link
Author

turkenh commented Oct 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment