AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Planned Maintenance Window

Open palma21 opened this issue 5 years ago • 12 comments

Support for setting a planned maintenance window for the AKS weekly releases, platform maintenance and any automatic operations like automatic upgrades. https://docs.microsoft.com/en-us/azure/aks/planned-maintenance

palma21 avatar Dec 09 '20 08:12 palma21

Action required from @Azure/aks-pm

ghost avatar Jun 12 '21 16:06 ghost

@palma21 It seems, the maintenance window having no effect on the auto upgrade channel on our test clusters. As we do not see node image upgrades happening during specific day and time in maintenance window. Also, there are no events or logs available to trace back.

sureshgoli25 avatar Sep 10 '21 14:09 sureshgoli25

@sureshgoli25 what upgrade channel have you chosen for your cluster? Only one will update the node images currently.

PixelRobots avatar Sep 10 '21 14:09 PixelRobots

Node images. It worked with maintenance window in around 11-Aug. Afterwords, there are no upgrades are happening. Though there are new node images available.

sureshgoli25 avatar Sep 10 '21 14:09 sureshgoli25

Hmm seems strange. Have you disabled and reenabled the auto update and recreated the maintenance window?

Might be worth a try as it is still in preview and things can change.

PixelRobots avatar Sep 10 '21 14:09 PixelRobots

Will try that as well and report back next week. As our preferred scheduled is usually Sundays early mornings...

sureshgoli25 avatar Sep 10 '21 15:09 sureshgoli25

It worked on my test just now, but please do open a ticket if you don't see it working as expected. +@qpetraroia

palma21 avatar Sep 10 '21 19:09 palma21

We are looking at extending the planned maintenance window into Planned maintenance groups to group your clusters by region and by categories like Test , Dev, Production etc. Stay tuned for updates here.

Kaarthis-zz avatar Dec 08 '21 17:12 Kaarthis-zz

Nice! Just need to also be able to update node images and k8s versions automatically in these windows. Not just one or the other like we currently have.

PixelRobots avatar Dec 08 '21 17:12 PixelRobots

I have a customer asking whether we can add timezone and recureEvery to the config of planned maintenance, similar to how you can configure VM planned maintenance. They currently need separate config for summer and winter time in their timezone.

vermegi avatar Jan 13 '22 09:01 vermegi

hey @palma21 @Kaarthis-zz we are using this preview feature for 2 AKS clusters (1.22.6, westeurope) and the upgrade channel is node-image. The configured maintenance window (Thursday 2-3 am UTC) seems to not have any effect as the cluster just updates nodes during daytime like today. I will open a ticket later as it is a customer subscription but do you have any advise?

philwelz avatar Mar 14 '22 13:03 philwelz

Typically for Auto upgrade (Upgrader) can take upto 1 day (ideally few hours) from the start of the Window to effect the upgrades this is something we noticed internally and are looking to document it in the Public docs soon. We shall try to improve the accuracy of the upgrader wrt to schedule as best as possible in future.

kaarthis avatar Oct 19 '22 17:10 kaarthis