You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/aks-planned-maintenance-weekly-releases.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ author: kaarthis
14
14
15
15
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.
16
16
17
+
Weekly releases can also be scheduled with more fine-grained control using Planned Maintenance's `default` configuration type. For more information, see [Planned Maintenance to schedule and control upgrades][planned-maintenance].
18
+
17
19
## Before you begin
18
20
19
21
This article assumes that you have an existing AKS cluster. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli], [using Azure PowerShell][aks-quickstart-powershell], or [using the Azure portal][aks-quickstart-portal].
Copy file name to clipboardExpand all lines: articles/aks/planned-maintenance.md
+14-17Lines changed: 14 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,26 @@
1
1
---
2
-
title: Use Planned Maintenance for your Azure Kubernetes Service (AKS) cluster (preview)
2
+
title: Use Planned Maintenance to schedule and control upgrades for your Azure Kubernetes Service (AKS) cluster (preview)
3
3
titleSuffix: Azure Kubernetes Service
4
-
description: Learn how to use Planned Maintenance in Azure Kubernetes Service (AKS).
4
+
description: Learn how to use Planned Maintenance to schedule and control cluster and node image upgrades in Azure Kubernetes Service (AKS).
5
5
services: container-service
6
6
ms.topic: article
7
7
ms.date: 01/17/2023
8
8
ms.author: qpetraroia
9
9
author: qpetraroia
10
10
---
11
11
12
-
# Use Planned Maintenance to schedule maintenance windows for your Azure Kubernetes Service (AKS) cluster (preview)
12
+
# Use Planned Maintenance to schedule and control upgrades for your Azure Kubernetes Service (AKS) cluster (preview)
13
13
14
14
Your AKS cluster has regular maintenance performed on it automatically. By default, this work can happen at any time. Planned Maintenance allows you to schedule weekly maintenance windows to perform updates and minimize workload impact. Once scheduled, maintenance will occur only during the window you selected.
15
15
16
+
There are currently two available configuration types: `default` and `aksManagedAutoUpgradeSchedule`:
17
+
18
+
-`default` corresponds to a basic configuration that will update your control plane and your kube-system pods on a virtual machine scale sets instance. It is a legacy configuration that is mostly suitable for basic scheduling of [weekly releases][release-tracker]. Another way of accomplishing this using pre-configured windows is detailed at [use Planned Maintenance to schedule weekly releases][pm-weekly]
19
+
20
+
-`aksManagedAutoUpgradeSchedule` is a more complex configuration that controls when upgrades scheduled by your designated auto-upgrade channel are performed. More finely controlled cadence and recurrence settings are possible. For more information on cluster auto-upgrade, see [Automatically an Azure Kubernetes Service (AKS) cluster][aks-upgrade].
21
+
22
+
We recommend using `aksManagedAutoUpgradeSchedule` for all maintenance and upgrade scenarios, while `default` is meant exclusively for weekly releases. You can port `default` configurations to `aksManagedAutoUpgradeSchedule` configurations via the `az aks maintenanceconfiguration update` command.
23
+
16
24
## Before you begin
17
25
18
26
This article assumes that you have an existing AKS cluster. If you need an AKS cluster, see the AKS quickstart [using the Azure CLI][aks-quickstart-cli], [using Azure PowerShell][aks-quickstart-powershell], or [using the Azure portal][aks-quickstart-portal].
@@ -39,25 +47,13 @@ az extension add --name aks-preview
There are currently two available configuration types: `default` and `aksManagedAutoUpgradeSchedule`:
45
-
46
-
-`default` corresponds to a basic configuration that will update your control plane and your kube-system pods on a virtual machine scale sets instance. It is a legacy configuration that is mostly suitable for basic scheduling of [weekly releases][release-tracker].
47
-
48
-
-`aksManagedAutoUpgradeSchedule` is a more complex configuration that controls when upgrades scheduled by your designated auto-upgrade channel are performed. More finely controlled cadence and recurrence settings are possible. For more information on cluster auto-upgrade, see [Automatically an Azure Kubernetes Service (AKS) cluster][aks-upgrade].
49
-
50
-
### Choosing between configuration types
50
+
## Creating a maintenance window
51
51
52
-
We recommend using `aksManagedAutoUpgradeSchedule` for all maintenance and upgrade scenarios, while `default` is meant exclusively for weekly releases. You can port`default`configurations to `aksManagedAutoUpgradeSchedule` configurations via the `az aks maintenanceconfiguration update` command.
52
+
To create a maintenance window, you can use the `az aks maintenanceconfiguration add` command using the `--name` value`default`or `aksManagedAutoUpgradeSchedule`. The name value should reflect the desired configuration type. Using any other name will cause your maintenance window not to run.
53
53
54
54
> [!NOTE]
55
55
> When using auto-upgrade, to ensure proper functionality, use a maintenance window with a duration of four hours or more.
56
56
57
-
## Creating a maintenance window
58
-
59
-
To create a maintenance window, you can use the `az aks maintenanceconfiguration add` command using the `--name` value `default` or `aksManagedAutoUpgradeSchedule`. The name value should reflect the desired configuration type. Using any other name will cause your maintenance window not to run.
60
-
61
57
Planned Maintenance windows are specified in Coordinated Universal Time (UTC).
62
58
63
59
A `default` maintenance window has the following properties:
@@ -306,3 +302,4 @@ az aks maintenanceconfiguration delete -g MyResourceGroup --cluster-name myAKSCl
0 commit comments