Updated 10. Setting the solution up in ACS Kubernetes (markdown)
parent
375e6957b5
commit
d9bf59ba63
@ -215,11 +215,19 @@ eshop-autogen-k8s-dns.westus.cloudapp.azure.com
|
|||||||
<img src="img/kubernetes/kubernetes-cluster-in-azure-portal.png">
|
<img src="img/kubernetes/kubernetes-cluster-in-azure-portal.png">
|
||||||
<p>
|
<p>
|
||||||
<p>
|
<p>
|
||||||
4. **Install the Kubernetes command line client**, `kubectl`.
|
## Connect to a Kubernetes cluster in ACS (Azure Container Service)
|
||||||
* You can install `kubectl` with `az acs kubernetes install-cli` as in the following screenshot (use 'sudo' if in a Mac or Linux). (You can also download it from the [Kubernetes site](https://kubernetes.io/docs/tasks/tools/install-kubectl/))
|
1. **Make sure you have the private keys to connect.
|
||||||
|
* TBD
|
||||||
|
|
||||||
|
2. **Install the Kubernetes command line client**, `kubectl`.
|
||||||
|
* `kubectl` is the Kubernetes command line client. If you don't already have it installed, you can install it with:
|
||||||
|
`az acs kubernetes install-cli`
|
||||||
|
as in the following screenshot (use 'sudo' if in a Mac or Linux).
|
||||||
<img src="img/kubernetes/install-kubernetes-cli.png">
|
<img src="img/kubernetes/install-kubernetes-cli.png">
|
||||||
By default, this command installs the `kubectl` binary to `C:\Program Files (x86)\kubectl.exe` on Windows or to `/usr/local/bin/kubectl` on a Linux or macOS system. To specify a different installation path, use the `--install-location` parameter.
|
By default, this command installs the `kubectl` binary to `C:\Program Files (x86)\kubectl.exe` on Windows or to `/usr/local/bin/kubectl` on a Linux or macOS system. To specify a different installation path, use the `--install-location` parameter.
|
||||||
After `kubectl` is installed, add its directory in your system path. MAke sure you access to its path by typing `kubectl version` as in the following screenshot:
|
You can also download it from the [Kubernetes site](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
|
||||||
|
|
||||||
|
3. After `kubectl` is installed, add its directory in your system path. Make sure you access to its path by typing `kubectl version` as in the following screenshot:
|
||||||
<img src="img/kubernetes/kubernetes-cli-version.png">
|
<img src="img/kubernetes/kubernetes-cli-version.png">
|
||||||
|
|
||||||
* For further info about `az` tool and Kubernetes see the Azure Container Service [walkthrough](https://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough).
|
* For further info about `az` tool and Kubernetes see the Azure Container Service [walkthrough](https://docs.microsoft.com/en-us/azure/container-service/container-service-kubernetes-walkthrough).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user