Skip to content

Commit

Permalink
Merge pull request kubernetes#94353 from hs0210/work
Browse files Browse the repository at this point in the history
Improve the prompt message when kubeadm init is successful
  • Loading branch information
k8s-ci-robot authored Sep 1, 2020
2 parents e23d83e + 2be66fe commit d159ae3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/kubeadm/app/cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ var (
sudo cp -i {{.KubeConfigPath}} $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
Alternatively, if you are the root user, you can run:
export KUBECONFIG=/etc/kubernetes/admin.conf
You should now deploy a pod network to the cluster.
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
https://kubernetes.io/docs/concepts/cluster-administration/addons/
Expand Down

0 comments on commit d159ae3

Please sign in to comment.