Megosztás a következőn keresztül:


ManagedClusterAgentPoolProfileProperties Class

Definition

Properties for the container service agent pool profile. Serialized Name: ManagedClusterAgentPoolProfileProperties

public class ManagedClusterAgentPoolProfileProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfileProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterAgentPoolProfileProperties>
public class ManagedClusterAgentPoolProfileProperties
type ManagedClusterAgentPoolProfileProperties = class
    interface IJsonModel<ManagedClusterAgentPoolProfileProperties>
    interface IPersistableModel<ManagedClusterAgentPoolProfileProperties>
type ManagedClusterAgentPoolProfileProperties = class
Public Class ManagedClusterAgentPoolProfileProperties
Implements IJsonModel(Of ManagedClusterAgentPoolProfileProperties), IPersistableModel(Of ManagedClusterAgentPoolProfileProperties)
Public Class ManagedClusterAgentPoolProfileProperties
Inheritance
ManagedClusterAgentPoolProfileProperties
Derived
Implements

Constructors

ManagedClusterAgentPoolProfileProperties()

Initializes a new instance of ManagedClusterAgentPoolProfileProperties.

Properties

AgentPoolType

The type of Agent Pool.

AvailabilityZones

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

If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.

DisableOutboundNat

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.

EnableAutoScaling

Whether to enable auto-scaler.

EnableCustomCATrust

When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded certificates into node trust stores. Defaults to false.

EnableEncryptionAtHost

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

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

EnableNodePublicIP

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.

GpuInstanceProfile

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

HostGroupId

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

KubeletConfig

The Kubelet configuration on the agent pool nodes.

KubeletDiskType

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

LinuxOSConfig

The OS configuration of Linux agent nodes.

MaxCount

The maximum number of nodes for auto-scaling.

MaxPods

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

MessageOfTheDay

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

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.

NetworkProfile

Network-related settings of an agent pool.

NodeImageVersion

The version of node image.

NodeLabels

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

NodePublicIPPrefixId

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

NodeTaints

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

OrchestratorVersion

Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> 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.

OSDiskSizeInGB

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

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.

OSType

The operating system type. The default is Linux.

PodSubnetId

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.

ProvisioningState

The current deployment or provisioning state.

ProximityPlacementGroupId

The ID for Proximity Placement Group.

ScaleDownMode

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

ScaleSetEvictionPolicy

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

SpotMaxPrice

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.

Tags

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

UpgradeSettings

Settings for upgrading the agentpool.

VmSize

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

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

WorkloadRuntime

Determines the type of workload a node can run.

Explicit Interface Implementations

IJsonModel<ManagedClusterAgentPoolProfileProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedClusterAgentPoolProfileProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterAgentPoolProfileProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterAgentPoolProfileProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedClusterAgentPoolProfileProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to