Partager via


IManagedClusterAgentPoolProfileProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterAgentPoolProfilePropertiesTypeConverter))]
public interface IManagedClusterAgentPoolProfileProperties : Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.ManagedClusterAgentPoolProfilePropertiesTypeConverter))>]
type IManagedClusterAgentPoolProfileProperties = interface
    interface IJsonSerializable
Public Interface IManagedClusterAgentPoolProfileProperties
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
AvailabilityZone

The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.

CapacityReservationGroupId

AKS will associate the specified agent pool with the Capacity Reservation Group.

Count

Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.

CreationDataSourceResourceId

This is the ARM ID of the source object to be used to create the target object.

CurrentOrchestratorVersion
EnableAutoScaling

Whether to enable auto-scaler

EnableEncryptionAtHost

Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption

EnableFips

Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.

EnableNodePublicIP

Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.

EnableUltraSsd

Whether to enable UltraSSD

ETag

Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.

GatewayProfilePublicIPPrefixSize

The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.

GpuInstanceProfile

GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.

GpuProfileDriver

Whether to install GPU drivers. When it's not specified, default is Install.

HostGroupId

The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.

KubeletConfigAllowedUnsafeSysctl

Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in *).

KubeletConfigContainerLogMaxFile

The maximum number of container log files that can be present for a container. The number must be ≥ 2.

KubeletConfigContainerLogMaxSizeMb

The maximum size (e.g. 10Mi) of container log file before it is rotated.

KubeletConfigCpuCfsQuota

If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.

KubeletConfigCpuCfsQuotaPeriod

The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.

KubeletConfigCpuManagerPolicy

The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.

KubeletConfigFailSwapOn

If set to true it will make the Kubelet fail to start if swap is enabled on the node.

KubeletConfigImageGcHighThreshold

The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%

KubeletConfigImageGcLowThreshold

The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%

KubeletConfigPodMaxPid

The maximum number of processes per pod.

KubeletConfigTopologyManagerPolicy

The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.

KubeletDiskType

Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.

LinuxOSConfigSwapFileSizeMb

The size in MB of a swap file that will be created on each node.

LinuxOSConfigSysctl

Sysctl settings for Linux agent nodes.

LinuxOSConfigTransparentHugePageDefrag

Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.

LinuxOSConfigTransparentHugePageEnabled

Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.

MaxCount

The maximum number of nodes for auto-scaling

MaxPod

The maximum number of pods that can run on a node.

MessageOfTheDay

Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).

MinCount

The minimum number of nodes for auto-scaling

Mode

The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools

NetworkProfileAllowedHostPort

The port ranges that are allowed to access. The specified ranges are allowed to overlap.

NetworkProfileApplicationSecurityGroup

The IDs of the application security groups which agent pool will associate when created.

NetworkProfileNodePublicIPTag

IPTags of instance-level public IPs.

NodeImageVersion

The version of node image

NodeLabel

The node labels to be persisted across all nodes in agent pool.

NodePublicIPPrefixId

The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}

NodeTaint

The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.

OrchestratorVersion
OSDiskSizeGb

OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.

OSDiskType

The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.

OSSku
OSType

The operating system type. The default is Linux.

PodIPAllocationMode

Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.

PodSubnetId

The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}

PowerStateCode

Tells whether the cluster is Running or Stopped

ProvisioningErrorAdditionalInfo

The error additional info.

ProvisioningErrorCode

The error code.

ProvisioningErrorDetail

The error details.

ProvisioningErrorMessage

The error message.

ProvisioningErrorTarget

The error target.

ProvisioningState

The current deployment or provisioning state.

ProximityPlacementGroupId

The ID for Proximity Placement Group.

ScaleDownMode

The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.

ScaleManual

Specifications on how to scale the VirtualMachines agent pool to a fixed size.

ScaleSetEvictionPolicy

The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.

ScaleSetPriority

The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.

SecurityProfileEnableSecureBoot

Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.

SecurityProfileEnableVtpm

vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.

SecurityProfileSshAccess

SSH access method of an agent pool.

SpotMaxPrice

The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing

Tag

The tags to be persisted on the agent pool virtual machine scale set.

Type

The type of Agent Pool.

UpgradeSettingDrainTimeoutInMinute

The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.

UpgradeSettingMaxSurge

The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster

UpgradeSettingMaxUnavailable

The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster

UpgradeSettingNodeSoakDurationInMinute

The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.

UpgradeSettingUndrainableNodeBehavior

Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.

VirtualMachineNodesStatus

The status of nodes in a VirtualMachines agent pool.

VMSize

The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions

VnetSubnetId

The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}

WindowProfileDisableOutboundNat

Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.

WorkloadRuntime

Determines the type of workload a node can run.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to