ManagedClusterAgentPoolProfileArgs

data class ManagedClusterAgentPoolProfileArgs(val availabilityZones: Output<List<String>>? = null, val capacityReservationGroupID: Output<String>? = null, val count: Output<Int>? = null, val creationData: Output<CreationDataArgs>? = null, val enableAutoScaling: Output<Boolean>? = null, val enableEncryptionAtHost: Output<Boolean>? = null, val enableFIPS: Output<Boolean>? = null, val enableNodePublicIP: Output<Boolean>? = null, val enableUltraSSD: Output<Boolean>? = null, val gpuInstanceProfile: Output<Either<String, GPUInstanceProfile>>? = null, val hostGroupID: Output<String>? = null, val kubeletConfig: Output<KubeletConfigArgs>? = null, val kubeletDiskType: Output<Either<String, KubeletDiskType>>? = null, val linuxOSConfig: Output<LinuxOSConfigArgs>? = null, val maxCount: Output<Int>? = null, val maxPods: Output<Int>? = null, val messageOfTheDay: Output<String>? = null, val minCount: Output<Int>? = null, val mode: Output<Either<String, AgentPoolMode>>? = null, val name: Output<String>, val networkProfile: Output<AgentPoolNetworkProfileArgs>? = null, val nodeLabels: Output<Map<String, String>>? = null, val nodePublicIPPrefixID: Output<String>? = null, val nodeTaints: Output<List<String>>? = null, val orchestratorVersion: Output<String>? = null, val osDiskSizeGB: Output<Int>? = null, val osDiskType: Output<Either<String, OSDiskType>>? = null, val osSKU: Output<Either<String, OSSKU>>? = null, val osType: Output<Either<String, OSType>>? = null, val podSubnetID: Output<String>? = null, val powerState: Output<PowerStateArgs>? = null, val proximityPlacementGroupID: Output<String>? = null, val scaleDownMode: Output<Either<String, ScaleDownMode>>? = null, val scaleSetEvictionPolicy: Output<Either<String, ScaleSetEvictionPolicy>>? = null, val scaleSetPriority: Output<Either<String, ScaleSetPriority>>? = null, val securityProfile: Output<AgentPoolSecurityProfileArgs>? = null, val spotMaxPrice: Output<Double>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<Either<String, AgentPoolType>>? = null, val upgradeSettings: Output<AgentPoolUpgradeSettingsArgs>? = null, val vmSize: Output<String>? = null, val vnetSubnetID: Output<String>? = null, val windowsProfile: Output<AgentPoolWindowsProfileArgs>? = null, val workloadRuntime: Output<Either<String, WorkloadRuntime>>? = null) : ConvertibleToJava<ManagedClusterAgentPoolProfileArgs>

Profile for the container service agent pool.

Constructors

Link copied to clipboard
constructor(availabilityZones: Output<List<String>>? = null, capacityReservationGroupID: Output<String>? = null, count: Output<Int>? = null, creationData: Output<CreationDataArgs>? = null, enableAutoScaling: Output<Boolean>? = null, enableEncryptionAtHost: Output<Boolean>? = null, enableFIPS: Output<Boolean>? = null, enableNodePublicIP: Output<Boolean>? = null, enableUltraSSD: Output<Boolean>? = null, gpuInstanceProfile: Output<Either<String, GPUInstanceProfile>>? = null, hostGroupID: Output<String>? = null, kubeletConfig: Output<KubeletConfigArgs>? = null, kubeletDiskType: Output<Either<String, KubeletDiskType>>? = null, linuxOSConfig: Output<LinuxOSConfigArgs>? = null, maxCount: Output<Int>? = null, maxPods: Output<Int>? = null, messageOfTheDay: Output<String>? = null, minCount: Output<Int>? = null, mode: Output<Either<String, AgentPoolMode>>? = null, name: Output<String>, networkProfile: Output<AgentPoolNetworkProfileArgs>? = null, nodeLabels: Output<Map<String, String>>? = null, nodePublicIPPrefixID: Output<String>? = null, nodeTaints: Output<List<String>>? = null, orchestratorVersion: Output<String>? = null, osDiskSizeGB: Output<Int>? = null, osDiskType: Output<Either<String, OSDiskType>>? = null, osSKU: Output<Either<String, OSSKU>>? = null, osType: Output<Either<String, OSType>>? = null, podSubnetID: Output<String>? = null, powerState: Output<PowerStateArgs>? = null, proximityPlacementGroupID: Output<String>? = null, scaleDownMode: Output<Either<String, ScaleDownMode>>? = null, scaleSetEvictionPolicy: Output<Either<String, ScaleSetEvictionPolicy>>? = null, scaleSetPriority: Output<Either<String, ScaleSetPriority>>? = null, securityProfile: Output<AgentPoolSecurityProfileArgs>? = null, spotMaxPrice: Output<Double>? = null, tags: Output<Map<String, String>>? = null, type: Output<Either<String, AgentPoolType>>? = null, upgradeSettings: Output<AgentPoolUpgradeSettingsArgs>? = null, vmSize: Output<String>? = null, vnetSubnetID: Output<String>? = null, windowsProfile: Output<AgentPoolWindowsProfileArgs>? = null, workloadRuntime: Output<Either<String, WorkloadRuntime>>? = null)

Properties

Link copied to clipboard
val availabilityZones: Output<List<String>>? = null

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

Link copied to clipboard
val capacityReservationGroupID: Output<String>? = null

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

Link copied to clipboard
val count: Output<Int>? = null

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.

Link copied to clipboard
val creationData: Output<CreationDataArgs>? = null

CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.

Link copied to clipboard
val enableAutoScaling: Output<Boolean>? = null

Whether to enable auto-scaler

Link copied to clipboard
val enableEncryptionAtHost: Output<Boolean>? = null

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

Link copied to clipboard
val enableFIPS: Output<Boolean>? = null

See Add a FIPS-enabled node pool for more details.

Link copied to clipboard
val enableNodePublicIP: Output<Boolean>? = null

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.

Link copied to clipboard
val enableUltraSSD: Output<Boolean>? = null

Whether to enable UltraSSD

Link copied to clipboard
val gpuInstanceProfile: Output<Either<String, GPUInstanceProfile>>? = null

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

Link copied to clipboard
val hostGroupID: Output<String>? = null

This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.

Link copied to clipboard
val kubeletConfig: Output<KubeletConfigArgs>? = null

The Kubelet configuration on the agent pool nodes.

Link copied to clipboard
val kubeletDiskType: Output<Either<String, KubeletDiskType>>? = null

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

Link copied to clipboard
val linuxOSConfig: Output<LinuxOSConfigArgs>? = null

The OS configuration of Linux agent nodes.

Link copied to clipboard
val maxCount: Output<Int>? = null

The maximum number of nodes for auto-scaling

Link copied to clipboard
val maxPods: Output<Int>? = null

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

Link copied to clipboard
val messageOfTheDay: Output<String>? = null

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).

Link copied to clipboard
val minCount: Output<Int>? = null

The minimum number of nodes for auto-scaling

Link copied to clipboard
val mode: Output<Either<String, AgentPoolMode>>? = null

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

Link copied to clipboard
val name: Output<String>

Windows agent pool names must be 6 characters or less.

Link copied to clipboard

Network-related settings of an agent pool.

Link copied to clipboard
val nodeLabels: Output<Map<String, String>>? = null

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

Link copied to clipboard
val nodePublicIPPrefixID: Output<String>? = null

This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}

Link copied to clipboard
val nodeTaints: Output<List<String>>? = null

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

Link copied to clipboard
val orchestratorVersion: Output<String>? = null

Both patch version (e.g. 1.20.13) and (e.g. 1.20) are supported. When is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.

Link copied to clipboard
val osDiskSizeGB: Output<Int>? = null

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.

Link copied to clipboard
val osDiskType: Output<Either<String, OSDiskType>>? = null

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.

Link copied to clipboard
val osSKU: Output<Either<String, OSSKU>>? = null

Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.

Link copied to clipboard
val osType: Output<Either<String, OSType>>? = null

The operating system type. The default is Linux.

Link copied to clipboard
val podSubnetID: Output<String>? = null

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}

Link copied to clipboard
val powerState: Output<PowerStateArgs>? = null

When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded

Link copied to clipboard
val proximityPlacementGroupID: Output<String>? = null

The ID for Proximity Placement Group.

Link copied to clipboard
val scaleDownMode: Output<Either<String, ScaleDownMode>>? = null

This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.

Link copied to clipboard

This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.

Link copied to clipboard
val scaleSetPriority: Output<Either<String, ScaleSetPriority>>? = null

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

Link copied to clipboard

The security settings of an agent pool.

Link copied to clipboard
val spotMaxPrice: Output<Double>? = null

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

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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

Link copied to clipboard
val type: Output<Either<String, AgentPoolType>>? = null

The type of Agent Pool.

Link copied to clipboard

Settings for upgrading the agentpool

Link copied to clipboard
val vmSize: Output<String>? = null

VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. If this field is not specified, AKS will attempt to find an appropriate VM SKU for your pool, based on quota and capacity. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions

Link copied to clipboard
val vnetSubnetID: Output<String>? = null

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}

Link copied to clipboard

The Windows agent pool's specific profile.

Link copied to clipboard
val workloadRuntime: Output<Either<String, WorkloadRuntime>>? = null

Determines the type of workload a node can run.

Functions

Link copied to clipboard
open override fun toJava(): ManagedClusterAgentPoolProfileArgs