fetching route table assumes user uses json ouptut, which is not always true
This commit is contained in:
Sebastian Fyda 2017-12-07 00:16:02 +01:00 коммит произвёл Jack Francis
Родитель cef6aacb50
Коммит db2a747443
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -174,11 +174,11 @@ For Kubernetes clusters, we need to update the VNET to attach to the route table
```
#!/bin/bash
rt=$(az network route-table list -g acs-custom-vnet | jq -r '.[].id')
rt=$(az network route-table list -g acs-custom-vnet -o json | jq -r '.[].id')
az network vnet subnet update -n KubernetesSubnet -g acs-custom-vnet --vnet-name KubernetesCustomVNET --route-table $rt
```
... where `KubernetesSubnet` is the name of the vnet subnet, and `KubernetesCustomVNET` is the name of the custom VNET itself.
## Connect to your new cluster
Once the deployment is completed, you can follow [this documentation](https://docs.microsoft.com/en-us/azure/container-service/container-service-connect) to connect to your new Azure Container Service cluster.
Once the deployment is completed, you can follow [this documentation](https://docs.microsoft.com/en-us/azure/container-service/container-service-connect) to connect to your new Azure Container Service cluster.