Skip to content

Commit 8d4ff3f

Browse files
committed
Fix create -> update
1 parent d7a8e69 commit 8d4ff3f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/aks/api-server-vnet-integration.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,25 +200,23 @@ az aks update -n <cluster-name> \
200200
--apiserver-subnet-id <apiserver-subnet-resource-id>
201201
```
202202

203-
## Enable or disable private cluster mode on an existing API Server VNet Integration cluster
203+
## Enable or disable private cluster mode on an existing cluster with API Server VNet Integration
204204

205205
AKS clusters configured with API Server VNet Integration can have public network access/private cluster mode enabled or disabled without redeploying the cluster.
206206

207207
### Enable private cluster mode
208208

209209
```azurecli-interactive
210-
az aks create -n <cluster-name> \
210+
az aks update -n <cluster-name> \
211211
-g <resource-group> \
212-
-l <location> \
213212
--enable-private-cluster
214213
```
215214

216215
### Disable private cluster mode
217216

218217
```azurecli-interactive
219-
az aks create -n <cluster-name> \
218+
az aks update -n <cluster-name> \
220219
-g <resource-group> \
221-
-l <location> \
222220
--disable-private-cluster
223221
```
224222

0 commit comments

Comments
 (0)