Use the format of kubeadm init

reviewable/pr4046/r3
Ming Zhao 2017-10-22 22:59:34 -07:00 committed by GitHub
parent fa82d4fedf
commit 67dac7b59c
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ as root:
kubeadm join --token <token> <master-ip>:<master-port> --discovery-token-ca-cert-hash sha256:<hash>
```
To make kubectl work for your non-root user, you might want to run these commands (which is also a part of the kubeadm init output):
To make kubectl work for your non-root user, you might want to run these commands (which is also a part of the `kubeadm init` output):
```
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config