When attempting to scale up an AKS cluster using Ocean, the process may fail with an error similar to the following in the logs:
Failed to perform scale up for virtual node group vngname (vng-56dea1ae). Got status code different from SC_OK : 400 Body { "code": "BadRequest", "details": null, "message": "Client Error: error parsing version(1.26). If you would like to use alias minor version, please use api version starting from 2022-03-02-preview", "subcode": "" }
This indicates an incompatibility with the API version used for Kubernetes version handling.
- Ocean attempts to create a new node pool using a specific Kubernetes version without specifying the exact patch version (alias minor version).
- AKS requires using the latest GA patch version, which needs an updated API version. Update your AKS API version to at least the version specified in the error message (in the example error used here,
2022-03-02-previewor later). - Verify that both the Azure CLI and AKS API meet the required versions:
- Azure CLI version: 2.37 or higher
- API version: 20220401 or higher
- Use the following command to upgrade the Azure CLI:
az upgrade
After updating the AKS API and Azure CLI versions to the required levels, scaling up with alias minor versions will succeed without triggering the parsing error.
For more details, refer to Azure Documentation: Supported Kubernetes versions.
Related Articles
Cluster doesn’t scale up because of a Kubernetes version parsing error 4Number of Views Start migration button is grayed out in an AKS Ocean cluster 7Number of Views Failed to scale up <number> new nodes as part of scaling the virtual node groups 14Number of Views How spot percentage is represented in an AKS Ocean cluster 5Number of Views Workload marked as unable to migrate in an AKS Ocean cluster 9Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago