Share via

Upgrade Settings

Nagashree 80 Reputation points
2025-10-06T10:10:13.97+00:00

Hi Team,

We had upgrade our aks cluster using below command in CLI:

az aks upgrade  --resource-group rg-name  --name k8s-cluster --kubernetes-version 1.29.15 --enable-force-upgrade --upgrade-override-until 2025-04-12T10:15:00Z 

Even though until 2025-04-12T10:15:00Z flag is mentioned. This parameter has not been deleted till now in azure portal.

Could please tell us what is the reason for this behaviour and how to unset this ?

In the json view, we can still see :

"upgradeSettings": {             "overrideSettings": {                 "forceUpgrade": true,                 "until": "2025-04-12T10:15:00Z"     }         }

Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


Answer accepted by question author

Vinay Choudhary 75 Reputation points Microsoft Employee
2025-10-16T06:10:40.38+00:00

Once configured 'upgradeSettings': {

'overrideSettings': {

  'forceUpgrade': false,

  'until': '2024-08-08T18:26:25.037276+00:00'

}

}, its not possible to unset upgradeSettings.until, public documentation should be updated soon with this note.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nikhil Duserla 9,940 Reputation points Microsoft External Staff Moderator
    2025-10-14T17:30:28.2533333+00:00

    Hello Nagashree,

    Azure does not automatically remove the upgrade_override block from the cluster metadata. This is expected behavior, as the setting is persistent and remains in place until it is explicitly removed or modified.

    To potentially clear the override, you can re-run the upgrade command without the --enable-force-upgrade and --upgrade-override-until flags. This can trigger Azure to clean up the override setting, assuming the upgrade conditions no longer require it.

    az aks upgrade \

    --resource-group rg-name \

    --name k8s-cluster \

    --kubernetes-version 1.29.15

    Try the above command and if you have any further queries, do let us know.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.