az aks update --enable-vpa/disable-vpa
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
Related command
End users are testing if they need VPA and they installing then removing it, after a while they want to add it again and error occurs Commands executed
az aks update -g "<rg_name>" -n "<aks_name>" --disable-vpa
or
az aks update -g "<rg_name>" -n "<aks_name>" --enable-vpa
Error msg
(NotAllAgentPoolOrchestratorVersionSpecifiedAndUnchanged) Using managed cluster api, all Agent pools' OrchestratorVersion must be all specified or all unspecified. If all specified, they must be stay unchanged or the same with control plane. For agent pool specific change, please use per agent pool operations: https://aka.ms/agent-pool-rest-api
Code: NotAllAgentPoolOrchestratorVersionSpecifiedAndUnchanged
Message: Using managed cluster api, all Agent pools' OrchestratorVersion must be all specified or all unspecified. If all specified, they must be stay unchanged or the same with control plane. For agent pool specific change, please use per agent pool operations: https://aka.ms/agent-pool-rest-api
To Reproduce Just run back and forth above commands and error will occur
Expected behavior Error shouldnt occur
Environment summary 1.24.6 AKS, West Europe
Additional context
route to CXP team
@ovie91 We are looking into it and get back to you for any additional information.
@ovie91 I am not able to reproduce this error. I have tried to enable and disable VPA multiple times using the cmdlet, however, I did not receive any errors.
I thought it was problem with running command over and over but its not.
Error occurs when one of the pool is in different version ( e.g. we have auto upgrade set to rapid ), once currentOrchestratorVersion is different than Orchestrator version then error will occur.
"orchestratorVersion": "1.24.6"
"currentOrchestratorVersion": "1.25.4"
above setting is extracted from az aks nodepool list
So my assumption is that VPA is not supported with two different version on the cluster?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
Issue Details
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
Related command
End users are testing if they need VPA and they installing then removing it, after a while they want to add it again and error occurs Commands executed
az aks update -g "<rg_name>" -n "<aks_name>" --disable-vpa
or
az aks update -g "<rg_name>" -n "<aks_name>" --enable-vpa
Error msg
(NotAllAgentPoolOrchestratorVersionSpecifiedAndUnchanged) Using managed cluster api, all Agent pools' OrchestratorVersion must be all specified or all unspecified. If all specified, they must be stay unchanged or the same with control plane. For agent pool specific change, please use per agent pool operations: https://aka.ms/agent-pool-rest-api
Code: NotAllAgentPoolOrchestratorVersionSpecifiedAndUnchanged
Message: Using managed cluster api, all Agent pools' OrchestratorVersion must be all specified or all unspecified. If all specified, they must be stay unchanged or the same with control plane. For agent pool specific change, please use per agent pool operations: https://aka.ms/agent-pool-rest-api
To Reproduce Just run back and forth above commands and error will occur
Expected behavior Error shouldnt occur
Environment summary 1.24.6 AKS, West Europe
Additional context
| Author: | ovie91 |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
@ovie91 Is this issue still occurring for you?