mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
Update getting-started.md
This commit is contained in:
parent
acf2195e54
commit
ec38685fcd
@ -102,9 +102,26 @@ cp ~/.kube/config .
|
|||||||
|
|
||||||
## Get kubectl
|
## Get kubectl
|
||||||
|
|
||||||
|
You have two options for installing `kubectl` <br/>
|
||||||
|
|
||||||
|
Option 1: Install using `az` CLI
|
||||||
|
|
||||||
```
|
```
|
||||||
az aks install-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 ../..
|
cd ../..
|
||||||
|
|
||||||
kubectl create ns example-app
|
kubectl create ns example-app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user