mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #94353 from hs0210/work
Improve the prompt message when kubeadm init is successful
This commit is contained in:
commit
d159ae3545
@ -56,6 +56,10 @@ var (
|
|||||||
sudo cp -i {{.KubeConfigPath}} $HOME/.kube/config
|
sudo cp -i {{.KubeConfigPath}} $HOME/.kube/config
|
||||||
sudo chown $(id -u):$(id -g) $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.
|
You should now deploy a pod network to the cluster.
|
||||||
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
|
Run "kubectl apply -f [podnetwork].yaml" with one of the options listed at:
|
||||||
https://kubernetes.io/docs/concepts/cluster-administration/addons/
|
https://kubernetes.io/docs/concepts/cluster-administration/addons/
|
||||||
|
Loading…
Reference in New Issue
Block a user