use azure cli to install kubectl

pull/709/head
Xander Grzywinski 2019-08-26 09:51:32 -07:00
parent 8a12eb4655
commit 57fc07e8ff
1 changed files with 2 additions and 26 deletions

View File

@ -70,34 +70,10 @@ Runtime: go1.6
## Install kubectl ## Install kubectl
The `kubectl` command line utility is used to interact with the Kubernetes API Server. Download and install `kubectl` from the official release binaries: The `kubectl` command line utility is used to interact with the Kubernetes API Server. We'll use the Azure CLI to install it:
### OS X
``` ```
curl -o kubectl https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/darwin/amd64/kubectl az aks install-cli
```
```
chmod +x kubectl
```
```
sudo mv kubectl /usr/local/bin/
```
### Linux
```
wget https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/linux/amd64/kubectl
```
```
chmod +x kubectl
```
```
sudo mv kubectl /usr/local/bin/
``` ```
### Verification ### Verification