UpgradeChannel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. UpgradeChannel
- com.
- com.
public final class UpgradeChannel
extends ExpandableStringEnum<UpgradeChannel>
The upgrade channel for auto upgrade. The default is 'none'. For more information see [setting the AKS cluster auto-upgrade channel](https://docs.microsoft.com/azure/aks/upgrade-cluster\#set-auto-upgrade-channel).
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Upgrade |
NODE_IMAGE
Automatically upgrade the node image to the latest version available. |
|
static final
Upgrade |
NONE
Disables auto-upgrades and keeps the cluster at its current version of Kubernetes. |
|
static final
Upgrade |
PATCH
Automatically upgrade the cluster to the latest supported patch version when it becomes available while keeping the minor version the same. |
|
static final
Upgrade |
RAPID
Automatically upgrade the cluster to the latest supported patch release on the latest supported minor version. |
|
static final
Upgrade |
STABLE
Automatically upgrade the cluster to the latest supported patch release on minor version N-1, where N is the latest supported minor version. |
Constructor Summary
| Constructor | Description |
|---|---|
| UpgradeChannel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Upgrade |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Upgrade |
fromString(String name)
Creates or finds a Upgrade |
|
static
Collection<Upgrade |
values()
Gets known Upgrade |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NODE_IMAGE
public static final UpgradeChannel NODE_IMAGE
Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching.
NONE
public static final UpgradeChannel NONE
Disables auto-upgrades and keeps the cluster at its current version of Kubernetes.
PATCH
public static final UpgradeChannel 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.
RAPID
public static final UpgradeChannel 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.
STABLE
public static final UpgradeChannel 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.
Constructor Details
UpgradeChannel
@Deprecated
public UpgradeChannel()
Deprecated
Creates a new instance of UpgradeChannel value.
Method Details
fromString
public static UpgradeChannel fromString(String name)
Creates or finds a UpgradeChannel from its string representation.
Parameters:
Returns:
values
public static Collection<UpgradeChannel> values()
Gets known UpgradeChannel values.
Returns: