Upgrade nodepool to the same version as control-plane

YOUD 1 Reputation point
2021-03-30T16:31:19.6+00:00

Hello,

We have a cluster running on version 1.17.9, but I noticed that the nodepool is currently running on 1.15.7.
I would like the nodepool to be at the same version, before upgrading the control-plane to 1.18.14.

This is what it looks like:
82901-image.png

I tried to upgrade the nodepool, but I got this error:
82872-image.png

Some additional information about the nodepool:
82767-image.png

And when I tried to upgrade via terraform I got this error:

Failure sending request: StatusCode=400 -- Original Error: Code="NodePoolMcVersionIncompatible" Message="Node pool version 1.15.7 and control plane version 1.18.14 are incompatible. Minor version of node pool cannot be more than 2 versions less than control plane's version. Minor version of node pool is 15 and control plane is 18.

What is the procedure to have the nodepool at the same version as the control-plane?

Thanks

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,869 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. singhh-msft 2,431 Reputation points
    2021-03-30T17:36:30.947+00:00

    @YOUD , thank you for reaching out to us. Happy to help. I see that you want to have the nodepool at the same version as that of control-plane. Unfortunately, this is not possible as per the product's design at the moment. You can read through Upgrade a cluster control plane with multiple node pools. The valid Kubernetes upgrades for a cluster's control plane and node pools are validated by the following sets of rules:

    Rules for valid versions to upgrade node pools:

    • The node pool version must have the same major version as the control plane.
    • The node pool minor version must be within two minor versions of the control plane version.
    • The node pool version cannot be greater than the control major.minor.patch version.

    Rules for submitting an upgrade operation:

    • You cannot downgrade the control plane or a node pool Kubernetes version.
    • If a node pool Kubernetes version is not specified, behavior depends on the client being used. Declaration in Resource Manager templates falls back to the existing version defined for the node pool if used, if none is set the control plane version is used to fall back on.
    • You can either upgrade or scale a control plane or a node pool at a given time, you cannot submit multiple operations on a single control plane or node pool resource simultaneously.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.