Skip to content

Commit b0301e0

Browse files
author
Kaarthikeyan Subramanian
committed
new changes
1 parent fbbfa2a commit b0301e0

File tree

1 file changed

+26
-21
lines changed

1 file changed

+26
-21
lines changed

articles/aks/aks-planned-maintenance-weekly-releases.md

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ author: kaarthis
1010

1111
---
1212

13-
# Use Planned Maintenance to schedule maintenance windows for your Azure Kubernetes Service (AKS) cluster (preview) exclusively for weekly releases
13+
# Use Planned Maintenance to schedule maintenance windows for your Azure Kubernetes Service (AKS) cluster exclusively for weekly releases (preview)
1414

1515
Planned Maintenance allows you to schedule weekly maintenance windows that will ensure the weekly releases [releases] are controlled. Maintenance Windows are configured using the Azure CLI, allowing you to select from a set of pre-available configurations.
1616

@@ -30,31 +30,35 @@ When using Planned Maintenance, the following restrictions apply:
3030

3131

3232

33-
## Available Pre-created Public Maintenance Configuration for you to pick
33+
## Available Pre-created Public Maintenance configurations for you to pick
3434

35-
There are 2 general kinds of pre-created public maintenance configurations:
35+
There are 2 general kinds of pre-created Public Maintenance configurations:
3636

3737
- For Weekday (Monday, Tuesday, Wednesday, Thursday), from 10 pm to 6 am next morning.
3838
- For Weekend (Friday, Saturday, Sunday), from 10 pm to 6 am next morning.
39-
List of pre-created Public Maintenance Configurations, Prod Region, Weekday Schedule (change the 'weekday' in the configuration name to 'weekend' for Weekend Schedule)
4039

41-
Configuration Name Time Zone
42-
aks-mrp-cfg-weekday_utc12 UTC+12
43-
... ...
44-
aks-mrp-cfg-weekday_utc1 UTC+1
45-
aks-mrp-cfg-weekday_utc UTC+0
46-
aks-mrp-cfg-weekday_utc-1 UTC-1
47-
... ...
48-
aks-mrp-cfg-weekday_utc-12 UTC-12
40+
For a list of pre-created Public Maintenance configurations on the weekday schedule, see below. For weekend schedules, replace `weekday` with `weekend`.
4941

50-
## Assign a Public Maintenance Configuration on an AKS Cluster
42+
|Configuration name| Time zone|
43+
|--|--|
44+
|aks-mrp-cfg-weekday_utc12|UTC+12|
45+
|...|...|
46+
|aks-mrp-cfg-weekday_utc1|UTC+1|
47+
|aks-mrp-cfg-weekday_utc|UTC+0|
48+
|aks-mrp-cfg-weekday_utc-1|UTC-1|
49+
|...|...|
50+
|aks-mrp-cfg-weekday_utc-12|UTC-12|
5151

52-
Find the public maintenance configuration ID by name:
53-
az maintenance public-configuration show --resource-name "aks-mrp-cfg-weekday_utc8"
52+
## Assign a Public Maintenance configuration to an AKS Cluster
5453

54+
Find the Public Maintenance configuration ID by name:
55+
```azurecli-interactive
56+
az maintenance public-configuration show --resource-name "aks-mrp-cfg-weekday_utc8"
57+
```
5558
This call may prompt you to install the extension maintenance, once done you can proceed as below :
5659

57-
the call should return
60+
The output should look like the below example. Be sure to take note of the `id` field -
61+
5862
{
5963
"duration": "08:00",
6064
"expirationDateTime": null,
@@ -78,17 +82,18 @@ the call should return
7882

7983

8084
Next, assign the Public Maintenance configuration to your AKS cluster using the ID:
85+
```azurecli-interactive
8186
az maintenance assignment create --maintenance-configuration-id "/subscriptions/0159df5c-b605-45a9-9876-36e17d5286e0/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/aks-mrp-cfg-weekday_utc8" --name assignmentName --provider-name "Microsoft.ContainerService" --resource-group myResourceGroup --resource-name myAKSCluster --resource-type "managedClusters"
82-
87+
```
8388
## List all maintenance windows in an existing cluster
84-
89+
```azurecli-interactive
8590
az maintenance assignment list --provider-name "Microsoft.ContainerService" --resource-group myResourceGroup --resource-name myAKSCluster --resource-type "managedClusters"
86-
91+
```
8792

8893
## Delete a public maintenance configuration of an AKS cluster
89-
94+
```azurecli-interactive
9095
az maintenance assignment delete --name assignmentName --provider-name "Microsoft.ContainerService" --resource-group myResourceGroup --resource-name myAKSCluster --resource-type "managedClusters"
91-
96+
```
9297

9398
<!-- LINKS - Internal -->
9499
[aks-quickstart-cli]: ./learn/quick-kubernetes-deploy-cli.md

0 commit comments

Comments
 (0)