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/supported-kubernetes-versions.md
+38-23Lines changed: 38 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Supported Kubernetes versions in Azure Kubernetes Service
3
-
description: Understand the Kubernetes version support policy and lifecycle of clusters in Azure Kubernetes Service (AKS)
2
+
title: Supported Kubernetes versions in Azure Kubernetes Service (AKS).
3
+
description: Learn the Kubernetes version support policy and lifecycle of clusters in Azure Kubernetes Service (AKS).
4
4
ms.topic: article
5
5
ms.date: 11/21/2022
6
6
author: palma21
@@ -39,7 +39,7 @@ Aim to run the latest patch release of the minor version you're running. For exa
39
39
View the upcoming version releases on the AKS Kubernetes release calendar. To see real-time updates of region release status and version release notes, visit the [AKS release status webpage][aks-release]. To learn more about the release status webpage, see [AKS release tracker][aks-tracker].
40
40
41
41
> [!NOTE]
42
-
> AKS follows 12 months of support for a generally available (GA) Kubernetes version. To read more about our support policy for Kubernetes versioning, please read our [FAQ](https://learn.microsoft.com/azure/aks/supported-kubernetes-versions?tabs=azure-cli#faq).
42
+
> AKS follows 12 months of support for a generally available (GA) Kubernetes version. To read more about our support policy for Kubernetes versioning, please read our [FAQ](./supported-kubernetes-versions.md#faq).
43
43
44
44
For the past release history, see [Kubernetes history](https://en.wikipedia.org/wiki/Kubernetes#History).
45
45
@@ -59,7 +59,7 @@ For the past release history, see [Kubernetes history](https://en.wikipedia.org/
59
59
60
60
With AKS, you can create a cluster without specifying the exact patch version. When you create a cluster without designating a patch, the cluster will run the minor version's latest GA patch. For example, if you create a cluster with **`1.21`**, your cluster will run **`1.21.7`**, which is the latest GA patch version of *1.21*.
61
61
62
-
When you upgrade by alias minor version, only a higher minor version is supported. For example, upgrading from `1.14.x` to `1.14` won't trigger an upgrade to the latest GA `1.14` patch, but upgrading to `1.15` will trigger an upgrade to the latest GA `1.15` patch. If you wish to upgrade your patch version in the same minor version, please use [auto-upgrade](https://learn.microsoft.com/azure/aks/auto-upgrade-cluster#using-cluster-auto-upgrade).
62
+
When you upgrade by alias minor version, only a higher minor version is supported. For example, upgrading from `1.14.x` to `1.14` won't trigger an upgrade to the latest GA `1.14` patch, but upgrading to `1.15` will trigger an upgrade to the latest GA `1.15` patch. If you wish to upgrade your patch version in the same minor version, please use [auto-upgrade](./auto-upgrade-cluster.md#using-cluster-auto-upgrade).
63
63
64
64
To see what patch you're on, run the `az aks show --resource-group myResourceGroup --name myAKSCluster` command. The `currentKubernetesVersion` property shows the whole Kubernetes version.
65
65
@@ -75,18 +75,18 @@ To see what patch you're on, run the `az aks show --resource-group myResourceGro
75
75
76
76
## Kubernetes version support policy
77
77
78
-
AKS defines a GA version as a version enabled in all SLO or SLA measurements and available in all regions. AKS supports three GA minor versions of Kubernetes:
78
+
AKS defines a generally available (GA) version as a version available in all regions and enabled in all SLO or SLA measurements. AKS supports three GA minor versions of Kubernetes:
79
79
80
-
* The latest GA minor version released in AKS (which we'll refer to as N).
80
+
* The latest GA minor version released in AKS (which we'll refer to as *N*).
81
81
* Two previous minor versions.
82
-
* Each supported minor version also supports a maximum of two (2) stable patches.
82
+
* Each supported minor version also supports a maximum of two stable patches.
83
83
84
84
AKS may also support preview versions, which are explicitly labeled and subject to [preview terms and conditions][preview-terms].
85
85
86
86
> [!NOTE]
87
87
> AKS uses safe deployment practices which involve gradual region deployment. This means it may take up to 10 business days for a new release or a new version to be available in all regions.
88
88
89
-
The supported window of Kubernetes versions on AKS is known as "N-2": (N (Latest release) - 2 (minor versions)).
89
+
The supported window of Kubernetes versions on AKS is known as "N-2": (N (Latest release) - 2 (minor versions)), and ".letter" is representative of patch versions.
90
90
91
91
For example, if AKS introduces *1.17.a* today, support is provided for the following versions:
92
92
@@ -110,9 +110,9 @@ When a new minor version is introduced, the oldest minor version and patch relea
110
110
When AKS releases 1.18.\*, all the 1.15.\* versions go out of support 30 days later.
111
111
112
112
> [!NOTE]
113
-
> If customers are running an unsupported Kubernetes version, they'll be asked to upgrade when requesting support for the cluster. Clusters running unsupported Kubernetes releases aren't covered by the [AKS support policies](./support-policies.md).
113
+
> If you're running an unsupported Kubernetes version, you'll be asked to upgrade when requesting support for the cluster. Clusters running unsupported Kubernetes releases aren't covered by the [AKS support policies](./support-policies.md).
114
114
115
-
In addition to the above, AKS supports a maximum of two **patch** releases of a given minor version. So given the following supported versions:
115
+
AKS also supports a maximum of two **patch** releases of a given minor version. For example, given the following supported versions:
AKS provides a Long Term Support (LTS) version of Kubernetes for a two-year period. There's only a single minor version of Kubernetes deemed LTS at any one time.
156
+
157
+
|| Community Support |Long Term Support |
158
+
|---|---|---|
159
+
|**When to use**| When you can keep up with upstream Kubernetes releases | When you need control over when to migrate from one version to another |
160
+
|**Support versions**| Three GA minor versions | One Kubernetes version (currently *1.27*) for two years |
161
+
|**Pricing**| Included | Per hour cluster cost |
162
+
163
+
The upstream community maintains a minor release of Kubernetes for one year from release. After this period, Microsoft creates and applies security updates to the LTS version of Kubernetes to provide a total of two years of support on AKS.
164
+
165
+
> [!IMPORTANT]
166
+
> AKS will begin its support for the LTS version of Kubernetes upon the release of Kubernetes version 1.27.
167
+
153
168
## Release and deprecation process
154
169
155
170
You can reference upcoming version releases and deprecations on the [AKS Kubernetes release calendar](#aks-kubernetes-release-calendar).
156
171
157
172
For new **minor** versions of Kubernetes:
158
173
159
-
* AKS publishes a pre-announcement with the planned date of the new version release and respective old version deprecation. This announcement is published on the [AKS release notes](https://aka.ms/aks/releasenotes) at least 30 days before removal.
160
-
* AKS uses [Azure Advisor](../advisor/advisor-overview.md) to alert users if a new version will cause issues in their cluster because of deprecated APIs. Azure Advisor is also used to alert the user if they're currently out of support.
174
+
* AKS publishes an announcement with the planned date of a new version release and respective old version deprecationon the [AKS Release notes](https://aka.ms/aks/releasenotes) at least 30 days prior to removal.
175
+
* AKS uses [Azure Advisor](../advisor/advisor-overview.md) to alert you if a new version could cause issues in your cluster because of deprecated APIs. Azure Advisor also alerts you if you're out of support
161
176
* AKS publishes a [service health notification](../service-health/service-health-overview.md) available to all users with AKS and portal access and sends an email to the subscription administrators with the planned version removal dates.
162
-
163
177
> [!NOTE]
164
-
> Visit [manage Azure subscriptions](../cost-management-billing/manage/add-change-subscription-administrator.md#assign-a-subscription-administrator) to determine who your subscription administrators are and make any necessary changes.
165
-
166
-
* Users have **30 days** from version removal to upgrade to a supported minor version release to continue receiving support.
178
+
> To find out who is your subscription administrators or to change it, please refer to [manage Azure subscriptions](../cost-management-billing/manage/add-change-subscription-administrator.md#assign-a-subscription-administrator).
179
+
* You have **30 days** from version removal to upgrade to a supported minor version release to continue receiving support.
167
180
168
181
For new **patch** versions of Kubernetes:
169
182
170
-
* Because of the urgent nature of patch versions, they can be introduced into the service as they become available. Once available, patches will have a two month minimum lifecycle.
171
-
* In general, AKS doesn't broadly communicate the release of new patch versions. However, AKS constantly monitors and validates available CVE patches to support them in AKS in a timely manner. If a critical patch is found or user action is required, AKS will notify users to upgrade to the newly available patch.
172
-
*Users have **30 days** from a patch release's removal from AKS to upgrade into a supported patch and continue receiving support. However, you'll **no longer be able to create clusters or node pools once the version is deprecated/removed.**
183
+
* Because of the urgent nature of patch versions, they can be introduced into the service as they become available. Once available, patches have a two month minimum lifecycle.
184
+
* In general, AKS doesn't broadly communicate the release of new patch versions. However, AKS constantly monitors and validates available CVE patches to support them in AKS in a timely manner. If a critical patch is found or user action is required, AKS will notify you to upgrade to the newly available patch.
185
+
*You have **30 days** from a patch release's removal from AKS to upgrade into a supported patch and continue receiving support. However, you'll **no longer be able to create clusters or node pools once the version is deprecated/removed.**
173
186
174
187
### Supported versions policy exceptions
175
188
@@ -184,7 +197,7 @@ When you deploy an AKS cluster with Azure portal, Azure CLI, Azure PowerShell, t
184
197
### [Azure CLI](#tab/azure-cli)
185
198
186
199
To find out what versions are currently available for your subscription and region, use the
187
-
[az aks get-versions][az-aks-get-versions] command. The following example lists available Kubernetes versions for the *EastUS* region:
200
+
[`az aks get-versions`][az-aks-get-versions] command. The following example lists the available Kubernetes versions for the *EastUS* region:
188
201
189
202
```azurecli-interactive
190
203
az aks get-versions --location eastus --output table
### How does Microsoft notify me of new Kubernetes versions?
207
220
208
-
The AKS team publishes pre-announcements with planned dates of the new Kubernetes versions in the AKS docs, our [GitHub](https://github.com/Azure/AKS/releases), and emails to subscription administrators who own clusters that are going to fall out of support. AKS also uses [Azure Advisor](../advisor/advisor-overview.md) to alert customers in the Azure portal to notify users if they're out of support. It also alerts them of deprecated APIs that will affect their application or development processes.
221
+
The AKS team publishes announcements with planned dates of the new Kubernetes versions in our documentation, our [GitHub](https://github.com/Azure/AKS/releases), and in emails to subscription administrators who own clusters that are going to fall out of support. AKS also uses [Azure Advisor](../advisor/advisor-overview.md) to alert you inside the Azure portal if you're out of support and inform you of deprecated APIs that will affect your application or development process.
209
222
210
223
### How often should I expect to upgrade Kubernetes versions to stay in support?
211
224
212
-
Starting with Kubernetes 1.19, the [open source community has expanded support to one year](https://kubernetes.io/blog/2020/08/31/kubernetes-1-19-feature-one-year-support/). AKS commits to enabling patches and support matching the upstream commitments. For AKS clusters on 1.19 and greater, you'll be able to upgrade at a minimum of once a year to stay on a supported version.
225
+
Starting with Kubernetes 1.19, the [open source community has expanded support to one year](https://kubernetes.io/blog/2020/08/31/kubernetes-1-19-feature-one-year-support/). AKS commits to enabling patches and support matching the upstream commitments. For AKS clusters on 1.19 and greater, you can upgrade at a minimum of once a year to stay on a supported version.
213
226
214
-
### What happens when a user upgrades a Kubernetes cluster with a minor version that isn't supported?
227
+
**What happens when you upgrade a Kubernetes cluster with a minor version that isn't supported?**
215
228
216
229
If you're on the *n-3* version or older, it means you're outside of support and will be asked to upgrade. When your upgrade from version n-3 to n-2 succeeds, you're back within our support policies. For example:
217
230
@@ -280,6 +293,8 @@ For information on how to upgrade your cluster, see [Upgrade an Azure Kubernetes
0 commit comments