From 57fc07e8ff01edd6d523edca32aff29c6ec9b3c2 Mon Sep 17 00:00:00 2001 From: Xander Grzywinski Date: Mon, 26 Aug 2019 09:51:32 -0700 Subject: [PATCH] use azure cli to install kubectl --- docs/02-client-tools.md | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/docs/02-client-tools.md b/docs/02-client-tools.md index f4ef130..05c5c35 100644 --- a/docs/02-client-tools.md +++ b/docs/02-client-tools.md @@ -70,34 +70,10 @@ Runtime: go1.6 ## 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: - -### OS X +The `kubectl` command line utility is used to interact with the Kubernetes API Server. We'll use the Azure CLI to install it: ``` -curl -o kubectl https://storage.googleapis.com/kubernetes-release/release/v1.12.0/bin/darwin/amd64/kubectl -``` - -``` -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/ +az aks install-cli ``` ### Verification