Skip to content

Commit

Permalink
Fix file extension and remove not necessary sudo. (#7143)
Browse files Browse the repository at this point in the history
* Fix file extension and remove not necessary sudo.

* Rename kube-proxy.сm to kube-proxy-сm.yaml for clarity.
  • Loading branch information
M00nr41n authored and k8s-ci-robot committed Feb 6, 2018
1 parent d581dff commit 879e499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/setup/independent/high-availability.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,9 @@ Next provision and set up the worker nodes. To do this, you will need to provisi
1. Reconfigure kube-proxy to access kube-apiserver via the load balancer:
```shell
kubectl get configmap -n kube-system kube-proxy -o yaml > kube-proxy.yaml
sudo sed -i 's#server:.*#server: https://<masterLoadBalancerFQDN>:6443#g' kube-proxy.cm
kubectl apply -f kube-proxy.cm --force
kubectl get configmap -n kube-system kube-proxy -o yaml > kube-proxy-сm.yaml
sed -i 's#server:.*#server: https://<masterLoadBalancerFQDN>:6443#g' kube-proxy-cm.yaml
kubectl apply -f kube-proxy-cm.yaml --force
# restart all kube-proxy pods to ensure that they load the new configmap
kubectl delete pod -n kube-system -l k8s-app=kube-proxy
```
Expand Down

0 comments on commit 879e499

Please sign in to comment.