Skip to content

Instantly share code, notes, and snippets.

@thbkrkr
Last active May 12, 2018 10:12
Show Gist options
  • Save thbkrkr/5ff5fdca3f2aeeb14406ef1d074fe4be to your computer and use it in GitHub Desktop.
Save thbkrkr/5ff5fdca3f2aeeb14406ef1d074fe4be to your computer and use it in GitHub Desktop.
Kubernetes in Docker
wget https://cdn.rawgit.com/Mirantis/kubeadm-dind-cluster/master/fixed/dind-cluster-v1.9.sh
chmod +x dind-cluster-v1.9.sh
# start the cluster
./dind-cluster-v1.9.sh up
# add kubectl directory to PATH
export PATH="$HOME/.kubeadm-dind-cluster:$PATH"
kubectl get nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment