Skip to content

Commit 6755dd5

Browse files
committed
Merge branch 'main' into release-updatecenterv2-publicpreview
2 parents 9448dd3 + 070e8f5 commit 6755dd5

File tree

308 files changed

+1890
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+1890
-1048
lines changed

articles/active-directory-domain-services/policy-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Built-in policy definitions for Azure Active Directory Domain Services
33
description: Lists Azure Policy built-in policy definitions for Azure Active Directory Domain Services. These built-in policy definitions provide common approaches to managing your Azure resources.
4-
ms.date: 06/29/2022
4+
ms.date: 07/06/2022
55
ms.service: active-directory
66
ms.subservice: domain-services
77
author: justinha

articles/aks/TOC.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@
179179
href: out-of-tree.md
180180
- name: Upgrade an AKS cluster
181181
href: upgrade-cluster.md
182+
- name: Automatically upgrade an AKS cluster
183+
href: auto-upgrade-cluster.md
182184
- name: Use Uptime SLA
183185
href: uptime-sla.md
184186
- name: Use Draft (preview)
@@ -223,7 +225,7 @@
223225
href: use-system-pools.md
224226
- name: Use WebAssembly System Interface (WASI) node pools
225227
href: use-wasi-node-pools.md
226-
- name: Start/stop node pools (preview)
228+
- name: Start/stop node pools
227229
href: start-stop-nodepools.md
228230
- name: Resize node pools
229231
href: resize-node-pool.md

articles/aks/auto-upgrade-cluster.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: Automatically upgrade an Azure Kubernetes Service (AKS) cluster
3+
description: Learn how to automatically upgrade an Azure Kubernetes Service (AKS) cluster to get the latest features and security updates.
4+
services: container-service
5+
ms.topic: article
6+
ms.author: nickoman
7+
author: nickomang
8+
ms.date: 07/07/2022
9+
---
10+
11+
# Automatically upgrade an Azure Kubernetes Service (AKS) cluster
12+
13+
Part of the AKS cluster lifecycle involves performing periodic upgrades to the latest Kubernetes version. It’s important you apply the latest security releases, or upgrade to get the latest features. Before learning about auto-upgrade, make sure you understand upgrade fundamentals by reading [Upgrade an AKS cluster][upgrade-aks-cluster].
14+
15+
## Why use auto-upgrade
16+
17+
Auto-upgrade provides a set once and forget mechanism that yields tangible time and operational cost benefits. By enabling auto-upgrade, you can ensure your clusters are up to date and don't miss the latest AKS features or patches from AKS and upstream Kubernetes.
18+
19+
AKS follows a strict versioning window with regard to supportability. With properly selected auto-upgrade channels, you can avoid clusters falling into an unsupported version. For more on the AKS support window, see [Supported Kubernetes versions][supported-kubernetes-versions].
20+
21+
## Using auto-upgrade
22+
23+
Automatically completed upgrades are functionally the same as manual upgrades. The timing of upgrades is determined by the selected channel.
24+
25+
The following upgrade channels are available:
26+
27+
|Channel| Action | Example
28+
|---|---|---|
29+
| `none`| disables auto-upgrades and keeps the cluster at its current version of Kubernetes| Default setting if left unchanged|
30+
| `patch`| automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same.| For example, if a cluster is running version *1.17.7* and versions *1.17.9*, *1.18.4*, *1.18.6*, and *1.19.1* are available, your cluster is upgraded to *1.17.9*|
31+
| `stable`| automatically upgrade the cluster to the latest supported patch release on minor version *N-1*, where *N* is the latest supported minor version.| For example, if a cluster is running version *1.17.7* and versions *1.17.9*, *1.18.4*, *1.18.6*, and *1.19.1* are available, your cluster is upgraded to *1.18.6*.
32+
| `rapid`| automatically upgrade the cluster to the latest supported patch release on the latest supported minor version.| In cases where the cluster is at a version of Kubernetes that is at an *N-2* minor version where *N* is the latest supported minor version, the cluster first upgrades to the latest supported patch version on *N-1* minor version. For example, if a cluster is running version *1.17.7* and versions *1.17.9*, *1.18.4*, *1.18.6*, and *1.19.1* are available, your cluster first is upgraded to *1.18.6*, then is upgraded to *1.19.1*.
33+
| `node-image`| automatically upgrade the node image to the latest version available.| Microsoft provides patches and new images for image nodes frequently (usually weekly), but your running nodes won't get the new images unless you do a node image upgrade. Turning on the node-image channel will automatically update your node images whenever a new version is available. |
34+
35+
> [!NOTE]
36+
> Cluster auto-upgrade only updates to GA versions of Kubernetes and will not update to preview versions.
37+
38+
Automatically upgrading a cluster follows the same process as manually upgrading a cluster. For more information, see [Upgrade an AKS cluster][upgrade-aks-cluster].
39+
40+
To set the auto-upgrade channel when creating a cluster, use the *auto-upgrade-channel* parameter, similar to the following example.
41+
42+
```azurecli-interactive
43+
az aks create --resource-group myResourceGroup --name myAKSCluster --auto-upgrade-channel stable --generate-ssh-keys
44+
```
45+
46+
To set the auto-upgrade channel on existing cluster, update the *auto-upgrade-channel* parameter, similar to the following example.
47+
48+
```azurecli-interactive
49+
az aks update --resource-group myResourceGroup --name myAKSCluster --auto-upgrade-channel stable
50+
```
51+
52+
## Using auto-upgrade with Planned Maintenance
53+
54+
If you’re using Planned Maintenance and Auto-Upgrade, your upgrade will start during your specified maintenance window. For more information on Planned Maintenance, see [Use Planned Maintenance to schedule maintenance windows for your Azure Kubernetes Service (AKS) cluster][planned-maintenance].
55+
56+
## Best practices for auto-upgrade
57+
58+
The following best practices will help maximize your success when using auto-upgrade:
59+
60+
- In order to keep your cluster always in a supported version (i.e within the N-2 rule), choose either `stable` or `rapid` channels.
61+
- If you're interested in getting the latest patches as soon as possible, use the `patch` channel. The `node-image` channel is a good fit if you want your agent pools to always be running the most recent node images.
62+
- Follow [Operator best practices][operator-best-practices-scheduler].
63+
- Follow [PDB best practices][pdb-best-practices].
64+
65+
<!-- INTERNAL LINKS -->
66+
[supported-kubernetes-versions]: supported-kubernetes-versions.md
67+
[upgrade-aks-cluster]: upgrade-cluster.md
68+
[planned-maintenance]: planned-maintenance.md
69+
[operator-best-practices-scheduler]: operator-best-practices-scheduler.md#plan-for-availability-using-pod-disruption-budgets
70+
71+
72+
<!-- EXTERNAL LINKS -->
73+
[pdb-best-practices]: https://kubernetes.io/docs/tasks/run-application/configure-pdb/

articles/aks/cluster-configuration.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,17 @@ Like the temporary disk, an ephemeral OS disk is included in the price of the vi
7070
7171
When using ephemeral OS, the OS disk must fit in the VM cache. The sizes for VM cache are available in the [Azure documentation](../virtual-machines/dv3-dsv3-series.md) in parentheses next to IO throughput ("cache size in GiB").
7272

73-
Using the AKS default VM size Standard_DS2_v2 with the default OS disk size of 100GB as an example, this VM size supports ephemeral OS but only has 86GB of cache size. This configuration would default to managed disks if the user does not specify explicitly. If a user explicitly requested ephemeral OS, they would receive a validation error.
73+
Using the AKS default VM size [Standard_DS2_v2](/azure/virtual-machines/dv2-dsv2-series#dsv2-series) with the default OS disk size of 100GB as an example, this VM size supports ephemeral OS but only has 86GB of cache size. This configuration would default to managed disks if the user does not specify explicitly. If a user explicitly requested ephemeral OS, they would receive a validation error.
7474

75-
If a user requests the same Standard_DS2_v2 with a 60GB OS disk, this configuration would default to ephemeral OS: the requested size of 60GB is smaller than the maximum cache size of 86GB.
75+
If a user requests the same [Standard_DS2_v2](/azure/virtual-machines/dv2-dsv2-series#dsv2-series) with a 60GB OS disk, this configuration would default to ephemeral OS: the requested size of 60GB is smaller than the maximum cache size of 86GB.
7676

77-
Using Standard_D8s_v3 with 100GB OS disk, this VM size supports ephemeral OS and has 200GB of cache space. If a user does not specify the OS disk type, the node pool would receive ephemeral OS by default.
77+
Using [Standard_D8s_v3](/azure/virtual-machines/dv3-dsv3-series#dsv3-series) with 100GB OS disk, this VM size supports ephemeral OS and has 200GB of cache space. If a user does not specify the OS disk type, the node pool would receive ephemeral OS by default.
78+
79+
The latest generation of VM series does not have a dedicated cache, but only temporary storage. Let's assume to use the [Standard_E2bds_v5](/azure/virtual-machines/ebdsv5-ebsv5-series#ebdsv5-series) VM size with the default OS disk size of 100 GiB as an example. This VM size supports ephemeral OS disks but only has 75 GiB of temporary storage. This configuration would default to managed OS disks if the user does not specify explicitly. If a user explicitly requested ephemeral OS disks, they would receive a validation error.
80+
81+
If a user requests the same [Standard_E2bds_v5](/azure/virtual-machines/ebdsv5-ebsv5-series#ebdsv5-series) VM size with a 60 GiB OS disk, this configuration would default to ephemeral OS disks: the requested size of 60 GiB is smaller than the maximum temporary storage of 75 GiB.
82+
83+
Using [Standard_E4bds_v5](/azure/virtual-machines/ebdsv5-ebsv5-series#ebdsv5-series) with 100 GiB OS disk, this VM size supports ephemeral OS and has 150 GiB of temporary storage. If a user does not specify the OS disk type, the node pool would receive ephemeral OS by default.
7884

7985
Ephemeral OS requires at least version 2.15.0 of the Azure CLI.
8086

articles/aks/policy-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Built-in policy definitions for Azure Kubernetes Service
33
description: Lists Azure Policy built-in policy definitions for Azure Kubernetes Service. These built-in policy definitions provide common approaches to managing your Azure resources.
4-
ms.date: 06/29/2022
4+
ms.date: 07/06/2022
55
ms.topic: reference
66
ms.custom: subject-policy-reference
77
---

0 commit comments

Comments
 (0)