Closed RSE132 closed 4 months ago
There are two fields on the autoUpgradeProfile
One is nodeOSUpgradeChannel
and one is upgradeChannel
:
I think you've set the upgradeChannel
one only, but not the nodeOSUpgradeChannel
. You can confirm this in the portal by looking at the raw JSON of the resource:
My expectation based on your AKS YAML would be that the portal JSON will show upgradeChannel
is none but nodeUSUpgradeChannel
is not.
Somewhat related note: it's not recommended to disable node patching unless you're doing patching yourselves.
@matthchr
Thanks for your help. It setting nodeUSUpgradeChannel:none
worked out.
v2.7.0
Describe the bug According to the PSRule for Azure AKS auto-upgrade channel, the following release channels are available:
none
- Disables auto-upgrades. The default setting.patch
- Automatically upgrade to the latest supported patch version of the current minor version.stable
- Automatically upgrade to the latest supported patch release of the recommended minor version. This is N-1 of the current AKS non-preview minor version.rapid
- Automatically upgrade to the latest supported patch of the latest support minor version.node-image
- Automatically upgrade to the latest node image version. Normally upgraded weekly.We want to keep it to
none
, hence used the spec as described in ASO V2 sample withupgradeChannel: none
- https://github.com/Azure/azure-service-operator/blob/f288e217c85bb04b7d5e60d82218f6223737aae7/v2/samples/dataprotection/v1api20231101/refs/v1api20231001_managedcluster.yaml#L20But each time cluster is created, we could see in the azure portal that the
upgradeChannel
value is set tonode-image
although the applied manifest/yaml showsupgradeChannel: none
Screenshot from Azure Portal
Applied manifest snippet
To Reproduce Steps to reproduce the behavior:
Expected behavior It is expected that
upgradeChannel: none
also reflects in Azure Portal, otherwise the k8s node update takes place automatically