Condividi tramite


NodeOSUpgradeChannel Class

public final class NodeOSUpgradeChannel
extends ExpandableStringEnum<NodeOSUpgradeChannel>

Node OS Upgrade Channel. Manner in which the OS on your nodes is updated. The default is NodeImage.

Field Summary

Modifier and Type Field and Description
static final NodeOSUpgradeChannel NODE_IMAGE

AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence.

static final NodeOSUpgradeChannel NONE

No attempt to update your machines OS will be made either by OS or by rolling VHDs.

static final NodeOSUpgradeChannel SECURITY_PATCH

AKS downloads and updates the nodes with tested security updates.

static final NodeOSUpgradeChannel UNMANAGED

OS updates will be applied automatically through the OS built-in patching infrastructure.

Constructor Summary

Constructor Description
NodeOSUpgradeChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NodeOSUpgradeChannel value.

Method Summary

Modifier and Type Method and Description
static NodeOSUpgradeChannel fromString(String name)

Creates or finds a NodeOSUpgradeChannel from its string representation.

static Collection<NodeOSUpgradeChannel> values()

Gets known NodeOSUpgradeChannel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NODE_IMAGE

public static final NodeOSUpgradeChannel NODE_IMAGE

AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images.

NONE

public static final NodeOSUpgradeChannel NONE

No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates.

SECURITY_PATCH

public static final NodeOSUpgradeChannel SECURITY_PATCH

AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption.

UNMANAGED

public static final NodeOSUpgradeChannel UNMANAGED

OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice.

Constructor Details

NodeOSUpgradeChannel

@Deprecated
public NodeOSUpgradeChannel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NodeOSUpgradeChannel value.

Method Details

fromString

public static NodeOSUpgradeChannel fromString(String name)

Creates or finds a NodeOSUpgradeChannel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NodeOSUpgradeChannel.

values

public static Collection<NodeOSUpgradeChannel> values()

Gets known NodeOSUpgradeChannel values.

Returns:

known NodeOSUpgradeChannel values.

Applies to