update Setup.md

This commit is contained in:
az 2021-02-26 12:35:48 +01:00
parent daa28a46b9
commit fb999d190b

View file

@ -16,6 +16,7 @@ sudo -i
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" \ echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" \
| tee -a /etc/apt/sources.list.d/kubernetes.list | tee -a /etc/apt/sources.list.d/kubernetes.list
apt update && apt install kubectl
kubectl completion bash >> /etc/bash_completion.d/kubernetes kubectl completion bash >> /etc/bash_completion.d/kubernetes
``` ```