Skip to content

Commit 5a099e8

Browse files
johnstcnbpmct
authored andcommitted
chore: update az aks create invocation in azure setup docs
* Cannot set `--network-policy azure` with `--network-plugin kubenet`: ``` (NetworkPolicyAzureNotSupportedForKubenet) NetworkPolicy azure is not supported for network plugin kubenet Code: NetworkPolicyAzureNotSupportedForKubenet Message: NetworkPolicy azure is not supported for network plugin kubenet Target: networkProfile.networkPolicy ``` * Must set the `--node-count` parameter equal to `--min-count` as it appears to default to 0 if unspecified.
1 parent 486dda0 commit 5a099e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup/kubernetes/azure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ az aks create \
108108
--location "$LOCATION" \
109109
--max-count 10 \
110110
--min-count 2 \
111+
--node-count 2 \
111112
--node-vm-size Standard_B8ms \
112-
--network-plugin "kubenet" \
113-
--network-policy "azure"
113+
--network-plugin "kubenet"
114114
```
115115

116116
> Both options include the

0 commit comments

Comments
 (0)