File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,20 +83,20 @@ Logs generated by `azure-vnet-ipam` plugin are available in `/var/log/azure-vnet
8383
84841 . ssh into a master node
8585``` bash
86- ssh username@masternodeipaddress
86+ $ ssh username@masternodeipaddress
8787```
8888
89892 . Cordon the agent nodes using below command
9090``` bash
91- kubectl get nodes -o name | cut -d / -f 2 | xargs -I{} -n1 kubectl cordon {}
91+ $ kubectl get nodes -o name | cut -d / -f 2 | xargs -I{} -n1 kubectl cordon {}
9292```
9393
94943 . Upgrade all nodes one by one to v1.0.11 using the below command
9595``` bash
96- kubectl get nodes -o name | cut -d / -f 2 | xargs -I{} -n1 ssh -tt {} -t ' wget -O /tmp/upgrade-cni.sh https://raw.githubusercontent.com/Azure/azure-container-networking/master/scripts/install-cni-plugin.sh; chmod 755 /tmp/upgrade-cni.sh; ls -l /tmp/upgrade-cni.sh; sudo /tmp/upgrade-cni.sh v1.0.11; echo ' upgraded node ' {}; echo ' sleeping for 5 seconds before moving on to next node... press ctrl-c if you want to abort' ; sleep 5'
96+ $ kubectl get nodes -o name | cut -d / -f 2 | xargs -I{} -n1 ssh -tt {} -t ' wget -O /tmp/upgrade-cni.sh https://raw.githubusercontent.com/Azure/azure-container-networking/master/scripts/install-cni-plugin.sh; chmod 755 /tmp/upgrade-cni.sh; ls -l /tmp/upgrade-cni.sh; sudo /tmp/upgrade-cni.sh v1.0.11; echo ' upgraded node ' {}; echo ' sleeping for 5 seconds before moving on to next node... press ctrl-c if you want to abort' ; sleep 5'
9797` ` `
9898
99994. Uncordon all agent nodes using below command
100100` ` ` bash
101- kubectl get nodes -o name | cut -d / -f 2 | xargs -I{} -n1 kubectl uncordon {}
101+ $ kubectl get nodes -o name | cut -d / -f 2 | xargs -I{} -n1 kubectl uncordon {}
102102` ` `
You can’t perform that action at this time.
0 commit comments