Azure / Azure/azure-cli

az aks maintenanceconfiguration - Daylight Savings?

Open
#20,949 13 comments 3 reactions 0 assignees View on GitHub
act-observability-squad AKS customer-reported feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Hi,

We would like to use AKS Maintenance Configurations to do maintenance between 02:00 and 04:00 in our local time zone (CET/CEST). However, we can only specify timeslots in UTC. Is there any guidance on how to do this?

Could we specify 2 separate MaintenanceConfigurations for the winter and summer, like so?
Winter:
```json
{
"timeInWeek": [
{
"day": "Tuesday",
"hour_slots": [
1,
2
]
}
],
"notAllowedTime": [
{
"start": "2022-03-27T00:00:00Z",
"end": "2022-10-30T00:00:00Z"
}
]
}
```
Summer:
```json
{
"timeInWeek": [
{
"day": "Tuesday",
"hour_slots": [
0,
1
]
}
],
"notAllowedTime": [
{
"start": "2021-10-31T00:00:00Z",
"end": "2022-03-27T00:00:00Z"
},
{
"start": "2022-10-30T00:00:00Z",
"end": "2023-03-26T00:00:00Z"
}
]
}
```
Or would these cancel each other out?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 560b49aa-3fcc-51a1-5b72-d126712d462c
* Version Independent ID: 990a716e-67c1-585a-831c-1ef5d6a5d979
* Content: [az aks maintenanceconfiguration](https://docs.microsoft.com/en-us/cli/azure/aks/maintenanceconfiguration?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/aks/maintenanceconfiguration.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/aks/maintenanceconfiguration.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.