There should be some warning or error notice to avoid the false idea of az aks update allowing --pod-cidr post cluster creation or after CNI upgrade[0].
Related command
az aks update
Errors
No error. (becasue it should provide some warnings or notices instead.)
Issue script & Debug output
For example, running az aks update against a cluster that is already using CNI in overlay mode, the operation will still return as ok;
The command ran as : az aks update --name on-test --resource-group ae-test --network-plugin-mode overlay --pod-cidr 10.243.0.0/28 -o yamlc
And the podCidr won't change as it should. Here is the partial output:
Describe the bug
There should be some warning or error notice to avoid the false idea of
az aks update
allowing--pod-cidr
post cluster creation or after CNI upgrade[0].Related command
az aks update
Errors
No error. (becasue it should provide some warnings or notices instead.)
Issue script & Debug output
For example, running
az aks update
against a cluster that is already using CNI in overlay mode, the operation will still return as ok; The command ran as :az aks update --name on-test --resource-group ae-test --network-plugin-mode overlay --pod-cidr 10.243.0.0/28 -o yamlc
And the podCidr won't change as it should. Here is the partial output:
Expected behavior
Given the
--pod-cidr
argument is assigned, it should be hinted the parameter won't pass through.But the return of operation is stated as success in green(debug). This might give a false expectation that POD CIDR is updatable.
Environment Summary
Additional context
References: