parent
a20bf030a2
commit
71e634f75d
|
@ -182,9 +182,9 @@ as root:
|
|||
```
|
||||
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
|
||||
sudo chown $(id -u):$(id -g) $HOME/.kube/config
|
||||
mkdir -p $HOME/.kube
|
||||
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
|
||||
sudo chown $(id -u):$(id -g) $HOME/.kube/config
|
||||
```
|
||||
Alternatively, if you are the root user, you could run this:
|
||||
```
|
||||
|
@ -226,7 +226,6 @@ kubectl apply -f <add-on.yaml>
|
|||
|
||||
**NOTE:** You can install **only one** pod network per cluster.
|
||||
|
||||
|
||||
{% capture choose %}
|
||||
Please select one of the tabs to see installation instructions for the respective third-party Pod Network Provider.
|
||||
{% endcapture %}
|
||||
|
|
Loading…
Reference in New Issue