Install kubectl

This change shows an easier way to install kubectl, when using AKS.
This commit is contained in:
Richard Diphoorn 2021-02-15 23:42:02 +01:00 committed by GitHub
parent 5c86259aff
commit 9f6e038b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,9 +103,7 @@ cp ~/.kube/config .
## Get kubectl
```
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
mv ./kubectl /usr/local/bin/kubectl
az aks install-cli
cd ../..