Update getting-started.md

This commit is contained in:
Marcel Dempers 2021-04-05 21:51:53 +10:00 committed by GitHub
parent acf2195e54
commit ec38685fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,9 +102,26 @@ cp ~/.kube/config .
## Get kubectl
You have two options for installing `kubectl` <br/>
Option 1: Install using `az` CLI
```
az aks install-cli
```
Option 2: Download the binary using `curl` and place in usr bin
```
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
```
# Create example apps
```
cd ../..
kubectl create ns example-app