We recommend using Azure Native.
azure.containerservice.KubernetesClusterNodePool
Explore with Pulumi AI
Manages a Node Pool within a Kubernetes Cluster
NOTE: Multiple Node Pools are only supported when the Kubernetes Cluster is using Virtual Machine Scale Sets.
Example Usage
This example provisions a basic Kubernetes Node Pool.
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleKubernetesCluster = new azure.containerservice.KubernetesCluster("example", {
name: "example-aks1",
location: example.location,
resourceGroupName: example.name,
dnsPrefix: "exampleaks1",
defaultNodePool: {
name: "default",
nodeCount: 1,
vmSize: "Standard_D2_v2",
},
servicePrincipal: {
clientId: "00000000-0000-0000-0000-000000000000",
clientSecret: "00000000000000000000000000000000",
},
});
const exampleKubernetesClusterNodePool = new azure.containerservice.KubernetesClusterNodePool("example", {
name: "internal",
kubernetesClusterId: exampleKubernetesCluster.id,
vmSize: "Standard_DS2_v2",
nodeCount: 1,
tags: {
Environment: "Production",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_kubernetes_cluster = azure.containerservice.KubernetesCluster("example",
name="example-aks1",
location=example.location,
resource_group_name=example.name,
dns_prefix="exampleaks1",
default_node_pool={
"name": "default",
"node_count": 1,
"vm_size": "Standard_D2_v2",
},
service_principal={
"client_id": "00000000-0000-0000-0000-000000000000",
"client_secret": "00000000000000000000000000000000",
})
example_kubernetes_cluster_node_pool = azure.containerservice.KubernetesClusterNodePool("example",
name="internal",
kubernetes_cluster_id=example_kubernetes_cluster.id,
vm_size="Standard_DS2_v2",
node_count=1,
tags={
"Environment": "Production",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "example", &containerservice.KubernetesClusterArgs{
Name: pulumi.String("example-aks1"),
Location: example.Location,
ResourceGroupName: example.Name,
DnsPrefix: pulumi.String("exampleaks1"),
DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
Name: pulumi.String("default"),
NodeCount: pulumi.Int(1),
VmSize: pulumi.String("Standard_D2_v2"),
},
ServicePrincipal: &containerservice.KubernetesClusterServicePrincipalArgs{
ClientId: pulumi.String("00000000-0000-0000-0000-000000000000"),
ClientSecret: pulumi.String("00000000000000000000000000000000"),
},
})
if err != nil {
return err
}
_, err = containerservice.NewKubernetesClusterNodePool(ctx, "example", &containerservice.KubernetesClusterNodePoolArgs{
Name: pulumi.String("internal"),
KubernetesClusterId: exampleKubernetesCluster.ID(),
VmSize: pulumi.String("Standard_DS2_v2"),
NodeCount: pulumi.Int(1),
Tags: pulumi.StringMap{
"Environment": pulumi.String("Production"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleKubernetesCluster = new Azure.ContainerService.KubernetesCluster("example", new()
{
Name = "example-aks1",
Location = example.Location,
ResourceGroupName = example.Name,
DnsPrefix = "exampleaks1",
DefaultNodePool = new Azure.ContainerService.Inputs.KubernetesClusterDefaultNodePoolArgs
{
Name = "default",
NodeCount = 1,
VmSize = "Standard_D2_v2",
},
ServicePrincipal = new Azure.ContainerService.Inputs.KubernetesClusterServicePrincipalArgs
{
ClientId = "00000000-0000-0000-0000-000000000000",
ClientSecret = "00000000000000000000000000000000",
},
});
var exampleKubernetesClusterNodePool = new Azure.ContainerService.KubernetesClusterNodePool("example", new()
{
Name = "internal",
KubernetesClusterId = exampleKubernetesCluster.Id,
VmSize = "Standard_DS2_v2",
NodeCount = 1,
Tags =
{
{ "Environment", "Production" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.containerservice.KubernetesCluster;
import com.pulumi.azure.containerservice.KubernetesClusterArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterDefaultNodePoolArgs;
import com.pulumi.azure.containerservice.inputs.KubernetesClusterServicePrincipalArgs;
import com.pulumi.azure.containerservice.KubernetesClusterNodePool;
import com.pulumi.azure.containerservice.KubernetesClusterNodePoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleKubernetesCluster = new KubernetesCluster("exampleKubernetesCluster", KubernetesClusterArgs.builder()
.name("example-aks1")
.location(example.location())
.resourceGroupName(example.name())
.dnsPrefix("exampleaks1")
.defaultNodePool(KubernetesClusterDefaultNodePoolArgs.builder()
.name("default")
.nodeCount(1)
.vmSize("Standard_D2_v2")
.build())
.servicePrincipal(KubernetesClusterServicePrincipalArgs.builder()
.clientId("00000000-0000-0000-0000-000000000000")
.clientSecret("00000000000000000000000000000000")
.build())
.build());
var exampleKubernetesClusterNodePool = new KubernetesClusterNodePool("exampleKubernetesClusterNodePool", KubernetesClusterNodePoolArgs.builder()
.name("internal")
.kubernetesClusterId(exampleKubernetesCluster.id())
.vmSize("Standard_DS2_v2")
.nodeCount(1)
.tags(Map.of("Environment", "Production"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleKubernetesCluster:
type: azure:containerservice:KubernetesCluster
name: example
properties:
name: example-aks1
location: ${example.location}
resourceGroupName: ${example.name}
dnsPrefix: exampleaks1
defaultNodePool:
name: default
nodeCount: 1
vmSize: Standard_D2_v2
servicePrincipal:
clientId: 00000000-0000-0000-0000-000000000000
clientSecret: '00000000000000000000000000000000'
exampleKubernetesClusterNodePool:
type: azure:containerservice:KubernetesClusterNodePool
name: example
properties:
name: internal
kubernetesClusterId: ${exampleKubernetesCluster.id}
vmSize: Standard_DS2_v2
nodeCount: 1
tags:
Environment: Production
Create KubernetesClusterNodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesClusterNodePool(name: string, args: KubernetesClusterNodePoolArgs, opts?: CustomResourceOptions);
@overload
def KubernetesClusterNodePool(resource_name: str,
args: KubernetesClusterNodePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesClusterNodePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
kubernetes_cluster_id: Optional[str] = None,
vm_size: Optional[str] = None,
node_public_ip_prefix_id: Optional[str] = None,
upgrade_settings: Optional[KubernetesClusterNodePoolUpgradeSettingsArgs] = None,
gpu_instance: Optional[str] = None,
host_encryption_enabled: Optional[bool] = None,
host_group_id: Optional[str] = None,
kubelet_config: Optional[KubernetesClusterNodePoolKubeletConfigArgs] = None,
kubelet_disk_type: Optional[str] = None,
eviction_policy: Optional[str] = None,
linux_os_config: Optional[KubernetesClusterNodePoolLinuxOsConfigArgs] = None,
max_count: Optional[int] = None,
max_pods: Optional[int] = None,
min_count: Optional[int] = None,
mode: Optional[str] = None,
orchestrator_version: Optional[str] = None,
node_count: Optional[int] = None,
node_labels: Optional[Mapping[str, str]] = None,
node_network_profile: Optional[KubernetesClusterNodePoolNodeNetworkProfileArgs] = None,
node_public_ip_enabled: Optional[bool] = None,
workload_runtime: Optional[str] = None,
fips_enabled: Optional[bool] = None,
name: Optional[str] = None,
os_disk_size_gb: Optional[int] = None,
os_disk_type: Optional[str] = None,
os_sku: Optional[str] = None,
os_type: Optional[str] = None,
pod_subnet_id: Optional[str] = None,
priority: Optional[str] = None,
proximity_placement_group_id: Optional[str] = None,
scale_down_mode: Optional[str] = None,
snapshot_id: Optional[str] = None,
spot_max_price: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
ultra_ssd_enabled: Optional[bool] = None,
node_taints: Optional[Sequence[str]] = None,
capacity_reservation_group_id: Optional[str] = None,
vnet_subnet_id: Optional[str] = None,
windows_profile: Optional[KubernetesClusterNodePoolWindowsProfileArgs] = None,
auto_scaling_enabled: Optional[bool] = None,
zones: Optional[Sequence[str]] = None)
func NewKubernetesClusterNodePool(ctx *Context, name string, args KubernetesClusterNodePoolArgs, opts ...ResourceOption) (*KubernetesClusterNodePool, error)
public KubernetesClusterNodePool(string name, KubernetesClusterNodePoolArgs args, CustomResourceOptions? opts = null)
public KubernetesClusterNodePool(String name, KubernetesClusterNodePoolArgs args)
public KubernetesClusterNodePool(String name, KubernetesClusterNodePoolArgs args, CustomResourceOptions options)
type: azure:containerservice:KubernetesClusterNodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KubernetesClusterNodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KubernetesClusterNodePoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KubernetesClusterNodePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesClusterNodePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesClusterNodePoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var kubernetesClusterNodePoolResource = new Azure.ContainerService.KubernetesClusterNodePool("kubernetesClusterNodePoolResource", new()
{
KubernetesClusterId = "string",
VmSize = "string",
NodePublicIpPrefixId = "string",
UpgradeSettings = new Azure.ContainerService.Inputs.KubernetesClusterNodePoolUpgradeSettingsArgs
{
MaxSurge = "string",
DrainTimeoutInMinutes = 0,
NodeSoakDurationInMinutes = 0,
},
GpuInstance = "string",
HostEncryptionEnabled = false,
HostGroupId = "string",
KubeletConfig = new Azure.ContainerService.Inputs.KubernetesClusterNodePoolKubeletConfigArgs
{
AllowedUnsafeSysctls = new[]
{
"string",
},
ContainerLogMaxLine = 0,
ContainerLogMaxSizeMb = 0,
CpuCfsQuotaEnabled = false,
CpuCfsQuotaPeriod = "string",
CpuManagerPolicy = "string",
ImageGcHighThreshold = 0,
ImageGcLowThreshold = 0,
PodMaxPid = 0,
TopologyManagerPolicy = "string",
},
KubeletDiskType = "string",
EvictionPolicy = "string",
LinuxOsConfig = new Azure.ContainerService.Inputs.KubernetesClusterNodePoolLinuxOsConfigArgs
{
SwapFileSizeMb = 0,
SysctlConfig = new Azure.ContainerService.Inputs.KubernetesClusterNodePoolLinuxOsConfigSysctlConfigArgs
{
FsAioMaxNr = 0,
FsFileMax = 0,
FsInotifyMaxUserWatches = 0,
FsNrOpen = 0,
KernelThreadsMax = 0,
NetCoreNetdevMaxBacklog = 0,
NetCoreOptmemMax = 0,
NetCoreRmemDefault = 0,
NetCoreRmemMax = 0,
NetCoreSomaxconn = 0,
NetCoreWmemDefault = 0,
NetCoreWmemMax = 0,
NetIpv4IpLocalPortRangeMax = 0,
NetIpv4IpLocalPortRangeMin = 0,
NetIpv4NeighDefaultGcThresh1 = 0,
NetIpv4NeighDefaultGcThresh2 = 0,
NetIpv4NeighDefaultGcThresh3 = 0,
NetIpv4TcpFinTimeout = 0,
NetIpv4TcpKeepaliveIntvl = 0,
NetIpv4TcpKeepaliveProbes = 0,
NetIpv4TcpKeepaliveTime = 0,
NetIpv4TcpMaxSynBacklog = 0,
NetIpv4TcpMaxTwBuckets = 0,
NetIpv4TcpTwReuse = false,
NetNetfilterNfConntrackBuckets = 0,
NetNetfilterNfConntrackMax = 0,
VmMaxMapCount = 0,
VmSwappiness = 0,
VmVfsCachePressure = 0,
},
TransparentHugePageDefrag = "string",
TransparentHugePageEnabled = "string",
},
MaxCount = 0,
MaxPods = 0,
MinCount = 0,
Mode = "string",
OrchestratorVersion = "string",
NodeCount = 0,
NodeLabels =
{
{ "string", "string" },
},
NodeNetworkProfile = new Azure.ContainerService.Inputs.KubernetesClusterNodePoolNodeNetworkProfileArgs
{
AllowedHostPorts = new[]
{
new Azure.ContainerService.Inputs.KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPortArgs
{
PortEnd = 0,
PortStart = 0,
Protocol = "string",
},
},
ApplicationSecurityGroupIds = new[]
{
"string",
},
NodePublicIpTags =
{
{ "string", "string" },
},
},
NodePublicIpEnabled = false,
WorkloadRuntime = "string",
FipsEnabled = false,
Name = "string",
OsDiskSizeGb = 0,
OsDiskType = "string",
OsSku = "string",
OsType = "string",
PodSubnetId = "string",
Priority = "string",
ProximityPlacementGroupId = "string",
ScaleDownMode = "string",
SnapshotId = "string",
SpotMaxPrice = 0,
Tags =
{
{ "string", "string" },
},
UltraSsdEnabled = false,
NodeTaints = new[]
{
"string",
},
CapacityReservationGroupId = "string",
VnetSubnetId = "string",
WindowsProfile = new Azure.ContainerService.Inputs.KubernetesClusterNodePoolWindowsProfileArgs
{
OutboundNatEnabled = false,
},
AutoScalingEnabled = false,
Zones = new[]
{
"string",
},
});
example, err := containerservice.NewKubernetesClusterNodePool(ctx, "kubernetesClusterNodePoolResource", &containerservice.KubernetesClusterNodePoolArgs{
KubernetesClusterId: pulumi.String("string"),
VmSize: pulumi.String("string"),
NodePublicIpPrefixId: pulumi.String("string"),
UpgradeSettings: &containerservice.KubernetesClusterNodePoolUpgradeSettingsArgs{
MaxSurge: pulumi.String("string"),
DrainTimeoutInMinutes: pulumi.Int(0),
NodeSoakDurationInMinutes: pulumi.Int(0),
},
GpuInstance: pulumi.String("string"),
HostEncryptionEnabled: pulumi.Bool(false),
HostGroupId: pulumi.String("string"),
KubeletConfig: &containerservice.KubernetesClusterNodePoolKubeletConfigArgs{
AllowedUnsafeSysctls: pulumi.StringArray{
pulumi.String("string"),
},
ContainerLogMaxLine: pulumi.Int(0),
ContainerLogMaxSizeMb: pulumi.Int(0),
CpuCfsQuotaEnabled: pulumi.Bool(false),
CpuCfsQuotaPeriod: pulumi.String("string"),
CpuManagerPolicy: pulumi.String("string"),
ImageGcHighThreshold: pulumi.Int(0),
ImageGcLowThreshold: pulumi.Int(0),
PodMaxPid: pulumi.Int(0),
TopologyManagerPolicy: pulumi.String("string"),
},
KubeletDiskType: pulumi.String("string"),
EvictionPolicy: pulumi.String("string"),
LinuxOsConfig: &containerservice.KubernetesClusterNodePoolLinuxOsConfigArgs{
SwapFileSizeMb: pulumi.Int(0),
SysctlConfig: &containerservice.KubernetesClusterNodePoolLinuxOsConfigSysctlConfigArgs{
FsAioMaxNr: pulumi.Int(0),
FsFileMax: pulumi.Int(0),
FsInotifyMaxUserWatches: pulumi.Int(0),
FsNrOpen: pulumi.Int(0),
KernelThreadsMax: pulumi.Int(0),
NetCoreNetdevMaxBacklog: pulumi.Int(0),
NetCoreOptmemMax: pulumi.Int(0),
NetCoreRmemDefault: pulumi.Int(0),
NetCoreRmemMax: pulumi.Int(0),
NetCoreSomaxconn: pulumi.Int(0),
NetCoreWmemDefault: pulumi.Int(0),
NetCoreWmemMax: pulumi.Int(0),
NetIpv4IpLocalPortRangeMax: pulumi.Int(0),
NetIpv4IpLocalPortRangeMin: pulumi.Int(0),
NetIpv4NeighDefaultGcThresh1: pulumi.Int(0),
NetIpv4NeighDefaultGcThresh2: pulumi.Int(0),
NetIpv4NeighDefaultGcThresh3: pulumi.Int(0),
NetIpv4TcpFinTimeout: pulumi.Int(0),
NetIpv4TcpKeepaliveIntvl: pulumi.Int(0),
NetIpv4TcpKeepaliveProbes: pulumi.Int(0),
NetIpv4TcpKeepaliveTime: pulumi.Int(0),
NetIpv4TcpMaxSynBacklog: pulumi.Int(0),
NetIpv4TcpMaxTwBuckets: pulumi.Int(0),
NetIpv4TcpTwReuse: pulumi.Bool(false),
NetNetfilterNfConntrackBuckets: pulumi.Int(0),
NetNetfilterNfConntrackMax: pulumi.Int(0),
VmMaxMapCount: pulumi.Int(0),
VmSwappiness: pulumi.Int(0),
VmVfsCachePressure: pulumi.Int(0),
},
TransparentHugePageDefrag: pulumi.String("string"),
TransparentHugePageEnabled: pulumi.String("string"),
},
MaxCount: pulumi.Int(0),
MaxPods: pulumi.Int(0),
MinCount: pulumi.Int(0),
Mode: pulumi.String("string"),
OrchestratorVersion: pulumi.String("string"),
NodeCount: pulumi.Int(0),
NodeLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
NodeNetworkProfile: &containerservice.KubernetesClusterNodePoolNodeNetworkProfileArgs{
AllowedHostPorts: containerservice.KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPortArray{
&containerservice.KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPortArgs{
PortEnd: pulumi.Int(0),
PortStart: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
ApplicationSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
NodePublicIpTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
NodePublicIpEnabled: pulumi.Bool(false),
WorkloadRuntime: pulumi.String("string"),
FipsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
OsDiskSizeGb: pulumi.Int(0),
OsDiskType: pulumi.String("string"),
OsSku: pulumi.String("string"),
OsType: pulumi.String("string"),
PodSubnetId: pulumi.String("string"),
Priority: pulumi.String("string"),
ProximityPlacementGroupId: pulumi.String("string"),
ScaleDownMode: pulumi.String("string"),
SnapshotId: pulumi.String("string"),
SpotMaxPrice: pulumi.Float64(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UltraSsdEnabled: pulumi.Bool(false),
NodeTaints: pulumi.StringArray{
pulumi.String("string"),
},
CapacityReservationGroupId: pulumi.String("string"),
VnetSubnetId: pulumi.String("string"),
WindowsProfile: &containerservice.KubernetesClusterNodePoolWindowsProfileArgs{
OutboundNatEnabled: pulumi.Bool(false),
},
AutoScalingEnabled: pulumi.Bool(false),
Zones: pulumi.StringArray{
pulumi.String("string"),
},
})
var kubernetesClusterNodePoolResource = new KubernetesClusterNodePool("kubernetesClusterNodePoolResource", KubernetesClusterNodePoolArgs.builder()
.kubernetesClusterId("string")
.vmSize("string")
.nodePublicIpPrefixId("string")
.upgradeSettings(KubernetesClusterNodePoolUpgradeSettingsArgs.builder()
.maxSurge("string")
.drainTimeoutInMinutes(0)
.nodeSoakDurationInMinutes(0)
.build())
.gpuInstance("string")
.hostEncryptionEnabled(false)
.hostGroupId("string")
.kubeletConfig(KubernetesClusterNodePoolKubeletConfigArgs.builder()
.allowedUnsafeSysctls("string")
.containerLogMaxLine(0)
.containerLogMaxSizeMb(0)
.cpuCfsQuotaEnabled(false)
.cpuCfsQuotaPeriod("string")
.cpuManagerPolicy("string")
.imageGcHighThreshold(0)
.imageGcLowThreshold(0)
.podMaxPid(0)
.topologyManagerPolicy("string")
.build())
.kubeletDiskType("string")
.evictionPolicy("string")
.linuxOsConfig(KubernetesClusterNodePoolLinuxOsConfigArgs.builder()
.swapFileSizeMb(0)
.sysctlConfig(KubernetesClusterNodePoolLinuxOsConfigSysctlConfigArgs.builder()
.fsAioMaxNr(0)
.fsFileMax(0)
.fsInotifyMaxUserWatches(0)
.fsNrOpen(0)
.kernelThreadsMax(0)
.netCoreNetdevMaxBacklog(0)
.netCoreOptmemMax(0)
.netCoreRmemDefault(0)
.netCoreRmemMax(0)
.netCoreSomaxconn(0)
.netCoreWmemDefault(0)
.netCoreWmemMax(0)
.netIpv4IpLocalPortRangeMax(0)
.netIpv4IpLocalPortRangeMin(0)
.netIpv4NeighDefaultGcThresh1(0)
.netIpv4NeighDefaultGcThresh2(0)
.netIpv4NeighDefaultGcThresh3(0)
.netIpv4TcpFinTimeout(0)
.netIpv4TcpKeepaliveIntvl(0)
.netIpv4TcpKeepaliveProbes(0)
.netIpv4TcpKeepaliveTime(0)
.netIpv4TcpMaxSynBacklog(0)
.netIpv4TcpMaxTwBuckets(0)
.netIpv4TcpTwReuse(false)
.netNetfilterNfConntrackBuckets(0)
.netNetfilterNfConntrackMax(0)
.vmMaxMapCount(0)
.vmSwappiness(0)
.vmVfsCachePressure(0)
.build())
.transparentHugePageDefrag("string")
.transparentHugePageEnabled("string")
.build())
.maxCount(0)
.maxPods(0)
.minCount(0)
.mode("string")
.orchestratorVersion("string")
.nodeCount(0)
.nodeLabels(Map.of("string", "string"))
.nodeNetworkProfile(KubernetesClusterNodePoolNodeNetworkProfileArgs.builder()
.allowedHostPorts(KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPortArgs.builder()
.portEnd(0)
.portStart(0)
.protocol("string")
.build())
.applicationSecurityGroupIds("string")
.nodePublicIpTags(Map.of("string", "string"))
.build())
.nodePublicIpEnabled(false)
.workloadRuntime("string")
.fipsEnabled(false)
.name("string")
.osDiskSizeGb(0)
.osDiskType("string")
.osSku("string")
.osType("string")
.podSubnetId("string")
.priority("string")
.proximityPlacementGroupId("string")
.scaleDownMode("string")
.snapshotId("string")
.spotMaxPrice(0)
.tags(Map.of("string", "string"))
.ultraSsdEnabled(false)
.nodeTaints("string")
.capacityReservationGroupId("string")
.vnetSubnetId("string")
.windowsProfile(KubernetesClusterNodePoolWindowsProfileArgs.builder()
.outboundNatEnabled(false)
.build())
.autoScalingEnabled(false)
.zones("string")
.build());
kubernetes_cluster_node_pool_resource = azure.containerservice.KubernetesClusterNodePool("kubernetesClusterNodePoolResource",
kubernetes_cluster_id="string",
vm_size="string",
node_public_ip_prefix_id="string",
upgrade_settings={
"max_surge": "string",
"drain_timeout_in_minutes": 0,
"node_soak_duration_in_minutes": 0,
},
gpu_instance="string",
host_encryption_enabled=False,
host_group_id="string",
kubelet_config={
"allowed_unsafe_sysctls": ["string"],
"container_log_max_line": 0,
"container_log_max_size_mb": 0,
"cpu_cfs_quota_enabled": False,
"cpu_cfs_quota_period": "string",
"cpu_manager_policy": "string",
"image_gc_high_threshold": 0,
"image_gc_low_threshold": 0,
"pod_max_pid": 0,
"topology_manager_policy": "string",
},
kubelet_disk_type="string",
eviction_policy="string",
linux_os_config={
"swap_file_size_mb": 0,
"sysctl_config": {
"fs_aio_max_nr": 0,
"fs_file_max": 0,
"fs_inotify_max_user_watches": 0,
"fs_nr_open": 0,
"kernel_threads_max": 0,
"net_core_netdev_max_backlog": 0,
"net_core_optmem_max": 0,
"net_core_rmem_default": 0,
"net_core_rmem_max": 0,
"net_core_somaxconn": 0,
"net_core_wmem_default": 0,
"net_core_wmem_max": 0,
"net_ipv4_ip_local_port_range_max": 0,
"net_ipv4_ip_local_port_range_min": 0,
"net_ipv4_neigh_default_gc_thresh1": 0,
"net_ipv4_neigh_default_gc_thresh2": 0,
"net_ipv4_neigh_default_gc_thresh3": 0,
"net_ipv4_tcp_fin_timeout": 0,
"net_ipv4_tcp_keepalive_intvl": 0,
"net_ipv4_tcp_keepalive_probes": 0,
"net_ipv4_tcp_keepalive_time": 0,
"net_ipv4_tcp_max_syn_backlog": 0,
"net_ipv4_tcp_max_tw_buckets": 0,
"net_ipv4_tcp_tw_reuse": False,
"net_netfilter_nf_conntrack_buckets": 0,
"net_netfilter_nf_conntrack_max": 0,
"vm_max_map_count": 0,
"vm_swappiness": 0,
"vm_vfs_cache_pressure": 0,
},
"transparent_huge_page_defrag": "string",
"transparent_huge_page_enabled": "string",
},
max_count=0,
max_pods=0,
min_count=0,
mode="string",
orchestrator_version="string",
node_count=0,
node_labels={
"string": "string",
},
node_network_profile={
"allowed_host_ports": [{
"port_end": 0,
"port_start": 0,
"protocol": "string",
}],
"application_security_group_ids": ["string"],
"node_public_ip_tags": {
"string": "string",
},
},
node_public_ip_enabled=False,
workload_runtime="string",
fips_enabled=False,
name="string",
os_disk_size_gb=0,
os_disk_type="string",
os_sku="string",
os_type="string",
pod_subnet_id="string",
priority="string",
proximity_placement_group_id="string",
scale_down_mode="string",
snapshot_id="string",
spot_max_price=0,
tags={
"string": "string",
},
ultra_ssd_enabled=False,
node_taints=["string"],
capacity_reservation_group_id="string",
vnet_subnet_id="string",
windows_profile={
"outbound_nat_enabled": False,
},
auto_scaling_enabled=False,
zones=["string"])
const kubernetesClusterNodePoolResource = new azure.containerservice.KubernetesClusterNodePool("kubernetesClusterNodePoolResource", {
kubernetesClusterId: "string",
vmSize: "string",
nodePublicIpPrefixId: "string",
upgradeSettings: {
maxSurge: "string",
drainTimeoutInMinutes: 0,
nodeSoakDurationInMinutes: 0,
},
gpuInstance: "string",
hostEncryptionEnabled: false,
hostGroupId: "string",
kubeletConfig: {
allowedUnsafeSysctls: ["string"],
containerLogMaxLine: 0,
containerLogMaxSizeMb: 0,
cpuCfsQuotaEnabled: false,
cpuCfsQuotaPeriod: "string",
cpuManagerPolicy: "string",
imageGcHighThreshold: 0,
imageGcLowThreshold: 0,
podMaxPid: 0,
topologyManagerPolicy: "string",
},
kubeletDiskType: "string",
evictionPolicy: "string",
linuxOsConfig: {
swapFileSizeMb: 0,
sysctlConfig: {
fsAioMaxNr: 0,
fsFileMax: 0,
fsInotifyMaxUserWatches: 0,
fsNrOpen: 0,
kernelThreadsMax: 0,
netCoreNetdevMaxBacklog: 0,
netCoreOptmemMax: 0,
netCoreRmemDefault: 0,
netCoreRmemMax: 0,
netCoreSomaxconn: 0,
netCoreWmemDefault: 0,
netCoreWmemMax: 0,
netIpv4IpLocalPortRangeMax: 0,
netIpv4IpLocalPortRangeMin: 0,
netIpv4NeighDefaultGcThresh1: 0,
netIpv4NeighDefaultGcThresh2: 0,
netIpv4NeighDefaultGcThresh3: 0,
netIpv4TcpFinTimeout: 0,
netIpv4TcpKeepaliveIntvl: 0,
netIpv4TcpKeepaliveProbes: 0,
netIpv4TcpKeepaliveTime: 0,
netIpv4TcpMaxSynBacklog: 0,
netIpv4TcpMaxTwBuckets: 0,
netIpv4TcpTwReuse: false,
netNetfilterNfConntrackBuckets: 0,
netNetfilterNfConntrackMax: 0,
vmMaxMapCount: 0,
vmSwappiness: 0,
vmVfsCachePressure: 0,
},
transparentHugePageDefrag: "string",
transparentHugePageEnabled: "string",
},
maxCount: 0,
maxPods: 0,
minCount: 0,
mode: "string",
orchestratorVersion: "string",
nodeCount: 0,
nodeLabels: {
string: "string",
},
nodeNetworkProfile: {
allowedHostPorts: [{
portEnd: 0,
portStart: 0,
protocol: "string",
}],
applicationSecurityGroupIds: ["string"],
nodePublicIpTags: {
string: "string",
},
},
nodePublicIpEnabled: false,
workloadRuntime: "string",
fipsEnabled: false,
name: "string",
osDiskSizeGb: 0,
osDiskType: "string",
osSku: "string",
osType: "string",
podSubnetId: "string",
priority: "string",
proximityPlacementGroupId: "string",
scaleDownMode: "string",
snapshotId: "string",
spotMaxPrice: 0,
tags: {
string: "string",
},
ultraSsdEnabled: false,
nodeTaints: ["string"],
capacityReservationGroupId: "string",
vnetSubnetId: "string",
windowsProfile: {
outboundNatEnabled: false,
},
autoScalingEnabled: false,
zones: ["string"],
});
type: azure:containerservice:KubernetesClusterNodePool
properties:
autoScalingEnabled: false
capacityReservationGroupId: string
evictionPolicy: string
fipsEnabled: false
gpuInstance: string
hostEncryptionEnabled: false
hostGroupId: string
kubeletConfig:
allowedUnsafeSysctls:
- string
containerLogMaxLine: 0
containerLogMaxSizeMb: 0
cpuCfsQuotaEnabled: false
cpuCfsQuotaPeriod: string
cpuManagerPolicy: string
imageGcHighThreshold: 0
imageGcLowThreshold: 0
podMaxPid: 0
topologyManagerPolicy: string
kubeletDiskType: string
kubernetesClusterId: string
linuxOsConfig:
swapFileSizeMb: 0
sysctlConfig:
fsAioMaxNr: 0
fsFileMax: 0
fsInotifyMaxUserWatches: 0
fsNrOpen: 0
kernelThreadsMax: 0
netCoreNetdevMaxBacklog: 0
netCoreOptmemMax: 0
netCoreRmemDefault: 0
netCoreRmemMax: 0
netCoreSomaxconn: 0
netCoreWmemDefault: 0
netCoreWmemMax: 0
netIpv4IpLocalPortRangeMax: 0
netIpv4IpLocalPortRangeMin: 0
netIpv4NeighDefaultGcThresh1: 0
netIpv4NeighDefaultGcThresh2: 0
netIpv4NeighDefaultGcThresh3: 0
netIpv4TcpFinTimeout: 0
netIpv4TcpKeepaliveIntvl: 0
netIpv4TcpKeepaliveProbes: 0
netIpv4TcpKeepaliveTime: 0
netIpv4TcpMaxSynBacklog: 0
netIpv4TcpMaxTwBuckets: 0
netIpv4TcpTwReuse: false
netNetfilterNfConntrackBuckets: 0
netNetfilterNfConntrackMax: 0
vmMaxMapCount: 0
vmSwappiness: 0
vmVfsCachePressure: 0
transparentHugePageDefrag: string
transparentHugePageEnabled: string
maxCount: 0
maxPods: 0
minCount: 0
mode: string
name: string
nodeCount: 0
nodeLabels:
string: string
nodeNetworkProfile:
allowedHostPorts:
- portEnd: 0
portStart: 0
protocol: string
applicationSecurityGroupIds:
- string
nodePublicIpTags:
string: string
nodePublicIpEnabled: false
nodePublicIpPrefixId: string
nodeTaints:
- string
orchestratorVersion: string
osDiskSizeGb: 0
osDiskType: string
osSku: string
osType: string
podSubnetId: string
priority: string
proximityPlacementGroupId: string
scaleDownMode: string
snapshotId: string
spotMaxPrice: 0
tags:
string: string
ultraSsdEnabled: false
upgradeSettings:
drainTimeoutInMinutes: 0
maxSurge: string
nodeSoakDurationInMinutes: 0
vmSize: string
vnetSubnetId: string
windowsProfile:
outboundNatEnabled: false
workloadRuntime: string
zones:
- string
KubernetesClusterNodePool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KubernetesClusterNodePool resource accepts the following input properties:
- Kubernetes
Cluster stringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- Vm
Size string - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- Auto
Scaling boolEnabled - Whether to enable auto-scaler.
- Capacity
Reservation stringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- Eviction
Policy string The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- Fips
Enabled bool Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- Gpu
Instance string - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - Host
Encryption boolEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- Host
Group stringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- Kubelet
Config KubernetesCluster Node Pool Kubelet Config - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - Kubelet
Disk stringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - Linux
Os KubernetesConfig Cluster Node Pool Linux Os Config - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - Max
Count int - Max
Pods int - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- Min
Count int - Mode string
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - Name string
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- Node
Count int - Node
Labels Dictionary<string, string> - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- Node
Network KubernetesProfile Cluster Node Pool Node Network Profile - A
node_network_profile
block as documented below. - Node
Public boolIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- Node
Public stringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - Node
Taints List<string> - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - Orchestrator
Version string Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- Os
Disk intSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- Os
Disk stringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - Os
Sku string - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - Os
Type string - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - Pod
Subnet stringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- Priority string
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - Proximity
Placement stringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- Scale
Down stringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - Snapshot
Id string - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- Spot
Max doublePrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Dictionary<string, string>
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- Ultra
Ssd boolEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - Upgrade
Settings KubernetesCluster Node Pool Upgrade Settings - A
upgrade_settings
block as documented below. - Vnet
Subnet stringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- Windows
Profile KubernetesCluster Node Pool Windows Profile - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - Workload
Runtime string Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- Zones List<string>
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- Kubernetes
Cluster stringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- Vm
Size string - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- Auto
Scaling boolEnabled - Whether to enable auto-scaler.
- Capacity
Reservation stringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- Eviction
Policy string The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- Fips
Enabled bool Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- Gpu
Instance string - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - Host
Encryption boolEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- Host
Group stringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- Kubelet
Config KubernetesCluster Node Pool Kubelet Config Args - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - Kubelet
Disk stringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - Linux
Os KubernetesConfig Cluster Node Pool Linux Os Config Args - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - Max
Count int - Max
Pods int - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- Min
Count int - Mode string
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - Name string
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- Node
Count int - Node
Labels map[string]string - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- Node
Network KubernetesProfile Cluster Node Pool Node Network Profile Args - A
node_network_profile
block as documented below. - Node
Public boolIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- Node
Public stringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - Node
Taints []string - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - Orchestrator
Version string Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- Os
Disk intSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- Os
Disk stringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - Os
Sku string - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - Os
Type string - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - Pod
Subnet stringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- Priority string
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - Proximity
Placement stringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- Scale
Down stringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - Snapshot
Id string - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- Spot
Max float64Price The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- map[string]string
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- Ultra
Ssd boolEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - Upgrade
Settings KubernetesCluster Node Pool Upgrade Settings Args - A
upgrade_settings
block as documented below. - Vnet
Subnet stringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- Windows
Profile KubernetesCluster Node Pool Windows Profile Args - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - Workload
Runtime string Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- Zones []string
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- kubernetes
Cluster StringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- vm
Size String - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- auto
Scaling BooleanEnabled - Whether to enable auto-scaler.
- capacity
Reservation StringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction
Policy String The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips
Enabled Boolean Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu
Instance String - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host
Encryption BooleanEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host
Group StringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet
Config KubernetesCluster Node Pool Kubelet Config - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet
Disk StringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - linux
Os KubernetesConfig Cluster Node Pool Linux Os Config - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max
Count Integer - max
Pods Integer - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min
Count Integer - mode String
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name String
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node
Count Integer - node
Labels Map<String,String> - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node
Network KubernetesProfile Cluster Node Pool Node Network Profile - A
node_network_profile
block as documented below. - node
Public BooleanIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node
Public StringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node
Taints List<String> - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator
Version String Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os
Disk IntegerSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os
Disk StringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os
Sku String - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os
Type String - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod
Subnet StringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority String
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity
Placement StringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale
Down StringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot
Id String - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot
Max DoublePrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Map<String,String>
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra
Ssd BooleanEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade
Settings KubernetesCluster Node Pool Upgrade Settings - A
upgrade_settings
block as documented below. - vnet
Subnet StringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows
Profile KubernetesCluster Node Pool Windows Profile - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload
Runtime String Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones List<String>
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- kubernetes
Cluster stringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- vm
Size string - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- auto
Scaling booleanEnabled - Whether to enable auto-scaler.
- capacity
Reservation stringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction
Policy string The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips
Enabled boolean Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu
Instance string - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host
Encryption booleanEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host
Group stringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet
Config KubernetesCluster Node Pool Kubelet Config - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet
Disk stringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - linux
Os KubernetesConfig Cluster Node Pool Linux Os Config - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max
Count number - max
Pods number - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min
Count number - mode string
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name string
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node
Count number - node
Labels {[key: string]: string} - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node
Network KubernetesProfile Cluster Node Pool Node Network Profile - A
node_network_profile
block as documented below. - node
Public booleanIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node
Public stringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node
Taints string[] - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator
Version string Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os
Disk numberSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os
Disk stringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os
Sku string - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os
Type string - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod
Subnet stringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority string
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity
Placement stringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale
Down stringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot
Id string - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot
Max numberPrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- {[key: string]: string}
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra
Ssd booleanEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade
Settings KubernetesCluster Node Pool Upgrade Settings - A
upgrade_settings
block as documented below. - vnet
Subnet stringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows
Profile KubernetesCluster Node Pool Windows Profile - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload
Runtime string Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones string[]
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- kubernetes_
cluster_ strid The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- vm_
size str - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- auto_
scaling_ boolenabled - Whether to enable auto-scaler.
- capacity_
reservation_ strgroup_ id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction_
policy str The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips_
enabled bool Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu_
instance str - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host_
encryption_ boolenabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host_
group_ strid - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet_
config KubernetesCluster Node Pool Kubelet Config Args - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet_
disk_ strtype - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - linux_
os_ Kubernetesconfig Cluster Node Pool Linux Os Config Args - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max_
count int - max_
pods int - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min_
count int - mode str
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name str
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node_
count int - node_
labels Mapping[str, str] - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node_
network_ Kubernetesprofile Cluster Node Pool Node Network Profile Args - A
node_network_profile
block as documented below. - node_
public_ boolip_ enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node_
public_ strip_ prefix_ id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node_
taints Sequence[str] - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator_
version str Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os_
disk_ intsize_ gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os_
disk_ strtype - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os_
sku str - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os_
type str - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod_
subnet_ strid - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority str
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity_
placement_ strgroup_ id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale_
down_ strmode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot_
id str - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot_
max_ floatprice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Mapping[str, str]
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra_
ssd_ boolenabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade_
settings KubernetesCluster Node Pool Upgrade Settings Args - A
upgrade_settings
block as documented below. - vnet_
subnet_ strid The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows_
profile KubernetesCluster Node Pool Windows Profile Args - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload_
runtime str Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones Sequence[str]
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- kubernetes
Cluster StringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- vm
Size String - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- auto
Scaling BooleanEnabled - Whether to enable auto-scaler.
- capacity
Reservation StringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction
Policy String The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips
Enabled Boolean Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu
Instance String - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host
Encryption BooleanEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host
Group StringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet
Config Property Map - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet
Disk StringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - linux
Os Property MapConfig - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max
Count Number - max
Pods Number - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min
Count Number - mode String
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name String
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node
Count Number - node
Labels Map<String> - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node
Network Property MapProfile - A
node_network_profile
block as documented below. - node
Public BooleanIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node
Public StringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node
Taints List<String> - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator
Version String Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os
Disk NumberSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os
Disk StringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os
Sku String - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os
Type String - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod
Subnet StringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority String
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity
Placement StringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale
Down StringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot
Id String - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot
Max NumberPrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Map<String>
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra
Ssd BooleanEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade
Settings Property Map - A
upgrade_settings
block as documented below. - vnet
Subnet StringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows
Profile Property Map - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload
Runtime String Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones List<String>
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesClusterNodePool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KubernetesClusterNodePool Resource
Get an existing KubernetesClusterNodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KubernetesClusterNodePoolState, opts?: CustomResourceOptions): KubernetesClusterNodePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_scaling_enabled: Optional[bool] = None,
capacity_reservation_group_id: Optional[str] = None,
eviction_policy: Optional[str] = None,
fips_enabled: Optional[bool] = None,
gpu_instance: Optional[str] = None,
host_encryption_enabled: Optional[bool] = None,
host_group_id: Optional[str] = None,
kubelet_config: Optional[KubernetesClusterNodePoolKubeletConfigArgs] = None,
kubelet_disk_type: Optional[str] = None,
kubernetes_cluster_id: Optional[str] = None,
linux_os_config: Optional[KubernetesClusterNodePoolLinuxOsConfigArgs] = None,
max_count: Optional[int] = None,
max_pods: Optional[int] = None,
min_count: Optional[int] = None,
mode: Optional[str] = None,
name: Optional[str] = None,
node_count: Optional[int] = None,
node_labels: Optional[Mapping[str, str]] = None,
node_network_profile: Optional[KubernetesClusterNodePoolNodeNetworkProfileArgs] = None,
node_public_ip_enabled: Optional[bool] = None,
node_public_ip_prefix_id: Optional[str] = None,
node_taints: Optional[Sequence[str]] = None,
orchestrator_version: Optional[str] = None,
os_disk_size_gb: Optional[int] = None,
os_disk_type: Optional[str] = None,
os_sku: Optional[str] = None,
os_type: Optional[str] = None,
pod_subnet_id: Optional[str] = None,
priority: Optional[str] = None,
proximity_placement_group_id: Optional[str] = None,
scale_down_mode: Optional[str] = None,
snapshot_id: Optional[str] = None,
spot_max_price: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
ultra_ssd_enabled: Optional[bool] = None,
upgrade_settings: Optional[KubernetesClusterNodePoolUpgradeSettingsArgs] = None,
vm_size: Optional[str] = None,
vnet_subnet_id: Optional[str] = None,
windows_profile: Optional[KubernetesClusterNodePoolWindowsProfileArgs] = None,
workload_runtime: Optional[str] = None,
zones: Optional[Sequence[str]] = None) -> KubernetesClusterNodePool
func GetKubernetesClusterNodePool(ctx *Context, name string, id IDInput, state *KubernetesClusterNodePoolState, opts ...ResourceOption) (*KubernetesClusterNodePool, error)
public static KubernetesClusterNodePool Get(string name, Input<string> id, KubernetesClusterNodePoolState? state, CustomResourceOptions? opts = null)
public static KubernetesClusterNodePool get(String name, Output<String> id, KubernetesClusterNodePoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auto
Scaling boolEnabled - Whether to enable auto-scaler.
- Capacity
Reservation stringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- Eviction
Policy string The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- Fips
Enabled bool Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- Gpu
Instance string - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - Host
Encryption boolEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- Host
Group stringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- Kubelet
Config KubernetesCluster Node Pool Kubelet Config - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - Kubelet
Disk stringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - Kubernetes
Cluster stringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- Linux
Os KubernetesConfig Cluster Node Pool Linux Os Config - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - Max
Count int - Max
Pods int - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- Min
Count int - Mode string
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - Name string
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- Node
Count int - Node
Labels Dictionary<string, string> - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- Node
Network KubernetesProfile Cluster Node Pool Node Network Profile - A
node_network_profile
block as documented below. - Node
Public boolIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- Node
Public stringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - Node
Taints List<string> - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - Orchestrator
Version string Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- Os
Disk intSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- Os
Disk stringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - Os
Sku string - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - Os
Type string - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - Pod
Subnet stringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- Priority string
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - Proximity
Placement stringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- Scale
Down stringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - Snapshot
Id string - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- Spot
Max doublePrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Dictionary<string, string>
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- Ultra
Ssd boolEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - Upgrade
Settings KubernetesCluster Node Pool Upgrade Settings - A
upgrade_settings
block as documented below. - Vm
Size string - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- Vnet
Subnet stringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- Windows
Profile KubernetesCluster Node Pool Windows Profile - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - Workload
Runtime string Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- Zones List<string>
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- Auto
Scaling boolEnabled - Whether to enable auto-scaler.
- Capacity
Reservation stringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- Eviction
Policy string The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- Fips
Enabled bool Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- Gpu
Instance string - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - Host
Encryption boolEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- Host
Group stringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- Kubelet
Config KubernetesCluster Node Pool Kubelet Config Args - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - Kubelet
Disk stringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - Kubernetes
Cluster stringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- Linux
Os KubernetesConfig Cluster Node Pool Linux Os Config Args - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - Max
Count int - Max
Pods int - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- Min
Count int - Mode string
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - Name string
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- Node
Count int - Node
Labels map[string]string - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- Node
Network KubernetesProfile Cluster Node Pool Node Network Profile Args - A
node_network_profile
block as documented below. - Node
Public boolIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- Node
Public stringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - Node
Taints []string - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - Orchestrator
Version string Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- Os
Disk intSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- Os
Disk stringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - Os
Sku string - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - Os
Type string - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - Pod
Subnet stringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- Priority string
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - Proximity
Placement stringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- Scale
Down stringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - Snapshot
Id string - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- Spot
Max float64Price The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- map[string]string
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- Ultra
Ssd boolEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - Upgrade
Settings KubernetesCluster Node Pool Upgrade Settings Args - A
upgrade_settings
block as documented below. - Vm
Size string - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- Vnet
Subnet stringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- Windows
Profile KubernetesCluster Node Pool Windows Profile Args - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - Workload
Runtime string Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- Zones []string
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- auto
Scaling BooleanEnabled - Whether to enable auto-scaler.
- capacity
Reservation StringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction
Policy String The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips
Enabled Boolean Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu
Instance String - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host
Encryption BooleanEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host
Group StringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet
Config KubernetesCluster Node Pool Kubelet Config - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet
Disk StringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - kubernetes
Cluster StringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- linux
Os KubernetesConfig Cluster Node Pool Linux Os Config - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max
Count Integer - max
Pods Integer - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min
Count Integer - mode String
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name String
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node
Count Integer - node
Labels Map<String,String> - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node
Network KubernetesProfile Cluster Node Pool Node Network Profile - A
node_network_profile
block as documented below. - node
Public BooleanIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node
Public StringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node
Taints List<String> - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator
Version String Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os
Disk IntegerSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os
Disk StringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os
Sku String - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os
Type String - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod
Subnet StringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority String
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity
Placement StringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale
Down StringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot
Id String - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot
Max DoublePrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Map<String,String>
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra
Ssd BooleanEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade
Settings KubernetesCluster Node Pool Upgrade Settings - A
upgrade_settings
block as documented below. - vm
Size String - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- vnet
Subnet StringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows
Profile KubernetesCluster Node Pool Windows Profile - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload
Runtime String Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones List<String>
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- auto
Scaling booleanEnabled - Whether to enable auto-scaler.
- capacity
Reservation stringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction
Policy string The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips
Enabled boolean Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu
Instance string - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host
Encryption booleanEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host
Group stringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet
Config KubernetesCluster Node Pool Kubelet Config - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet
Disk stringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - kubernetes
Cluster stringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- linux
Os KubernetesConfig Cluster Node Pool Linux Os Config - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max
Count number - max
Pods number - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min
Count number - mode string
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name string
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node
Count number - node
Labels {[key: string]: string} - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node
Network KubernetesProfile Cluster Node Pool Node Network Profile - A
node_network_profile
block as documented below. - node
Public booleanIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node
Public stringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node
Taints string[] - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator
Version string Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os
Disk numberSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os
Disk stringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os
Sku string - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os
Type string - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod
Subnet stringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority string
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity
Placement stringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale
Down stringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot
Id string - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot
Max numberPrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- {[key: string]: string}
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra
Ssd booleanEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade
Settings KubernetesCluster Node Pool Upgrade Settings - A
upgrade_settings
block as documented below. - vm
Size string - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- vnet
Subnet stringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows
Profile KubernetesCluster Node Pool Windows Profile - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload
Runtime string Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones string[]
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- auto_
scaling_ boolenabled - Whether to enable auto-scaler.
- capacity_
reservation_ strgroup_ id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction_
policy str The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips_
enabled bool Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu_
instance str - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host_
encryption_ boolenabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host_
group_ strid - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet_
config KubernetesCluster Node Pool Kubelet Config Args - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet_
disk_ strtype - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - kubernetes_
cluster_ strid The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- linux_
os_ Kubernetesconfig Cluster Node Pool Linux Os Config Args - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max_
count int - max_
pods int - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min_
count int - mode str
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name str
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node_
count int - node_
labels Mapping[str, str] - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node_
network_ Kubernetesprofile Cluster Node Pool Node Network Profile Args - A
node_network_profile
block as documented below. - node_
public_ boolip_ enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node_
public_ strip_ prefix_ id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node_
taints Sequence[str] - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator_
version str Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os_
disk_ intsize_ gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os_
disk_ strtype - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os_
sku str - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os_
type str - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod_
subnet_ strid - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority str
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity_
placement_ strgroup_ id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale_
down_ strmode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot_
id str - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot_
max_ floatprice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Mapping[str, str]
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra_
ssd_ boolenabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade_
settings KubernetesCluster Node Pool Upgrade Settings Args - A
upgrade_settings
block as documented below. - vm_
size str - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- vnet_
subnet_ strid The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows_
profile KubernetesCluster Node Pool Windows Profile Args - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload_
runtime str Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones Sequence[str]
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
- auto
Scaling BooleanEnabled - Whether to enable auto-scaler.
- capacity
Reservation StringGroup Id - Specifies the ID of the Capacity Reservation Group where this Node Pool should exist. Changing this forces a new resource to be created.
- eviction
Policy String The Eviction Policy which should be used for Virtual Machines within the Virtual Machine Scale Set powering this Node Pool. Possible values are
Deallocate
andDelete
. Changing this forces a new resource to be created.Note: An Eviction Policy can only be configured when
priority
is set toSpot
and will default toDelete
unless otherwise specified.- fips
Enabled Boolean Should the nodes in this Node Pool have Federal Information Processing Standard enabled? Changing this forces a new resource to be created.
Note: FIPS support is in Public Preview - more information and details on how to opt into the Preview can be found in this article.
- gpu
Instance String - Specifies the GPU MIG instance profile for supported GPU VM SKU. The allowed values are
MIG1g
,MIG2g
,MIG3g
,MIG4g
andMIG7g
. Changing this forces a new resource to be created. - host
Encryption BooleanEnabled Should the nodes in this Node Pool have host encryption enabled? Changing this forces a new resource to be created.
NOTE: Additional fields must be configured depending on the value of this field - see below.
- host
Group StringId - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from. Changing this forces a new resource to be created.
- kubelet
Config Property Map - A
kubelet_config
block as defined below. Changing this forces a new resource to be created. - kubelet
Disk StringType - The type of disk used by kubelet. Possible values are
OS
andTemporary
. - kubernetes
Cluster StringId The ID of the Kubernetes Cluster where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: The type of Default Node Pool for the Kubernetes Cluster must be
VirtualMachineScaleSets
to attach multiple node pools.- linux
Os Property MapConfig - A
linux_os_config
block as defined below. Changing this forces a new resource to be created. - max
Count Number - max
Pods Number - The maximum number of pods that can run on each agent. Changing this forces a new resource to be created.
- min
Count Number - mode String
- Should this Node Pool be used for System or User resources? Possible values are
System
andUser
. Defaults toUser
. - name String
The name of the Node Pool which should be created within the Kubernetes Cluster. Changing this forces a new resource to be created.
NOTE: A Windows Node Pool cannot have a
name
longer than 6 characters.- node
Count Number - node
Labels Map<String> - A map of Kubernetes labels which should be applied to nodes in this Node Pool.
- node
Network Property MapProfile - A
node_network_profile
block as documented below. - node
Public BooleanIp Enabled - Should each node have a Public IP Address? Changing this forces a new resource to be created.
- node
Public StringIp Prefix Id - Resource ID for the Public IP Addresses Prefix for the nodes in this Node Pool.
node_public_ip_enabled
should betrue
. Changing this forces a new resource to be created. - node
Taints List<String> - A list of Kubernetes taints which should be applied to nodes in the agent pool (e.g
key=value:NoSchedule
). - orchestrator
Version String Version of Kubernetes used for the Agents. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade). AKS does not require an exact patch version to be specified, minor version aliases such as
1.22
are also supported. - The minor version's latest GA patch is automatically chosen in that case. More details can be found in the documentation.Note: This version must be supported by the Kubernetes Cluster - as such the version of Kubernetes used on the Cluster/Control Plane may need to be upgraded first.
- os
Disk NumberSize Gb - The Agent Operating System disk size in GB. Changing this forces a new resource to be created.
- os
Disk StringType - The type of disk which should be used for the Operating System. Possible values are
Ephemeral
andManaged
. Defaults toManaged
. Changing this forces a new resource to be created. - os
Sku String - Specifies the OS SKU used by the agent pool. Possible values are
AzureLinux
,Ubuntu
,Windows2019
andWindows2022
. If not specified, the default isUbuntu
if OSType=Linux orWindows2019
if OSType=Windows. And the default Windows OSSKU will be changed toWindows2022
after Windows2019 is deprecated. Changing this fromAzureLinux
orUbuntu
toAzureLinux
orUbuntu
will not replace the resource, otherwise it forces a new resource to be created. - os
Type String - The Operating System which should be used for this Node Pool. Changing this forces a new resource to be created. Possible values are
Linux
andWindows
. Defaults toLinux
. - pod
Subnet StringId - The ID of the Subnet where the pods in the Node Pool should exist. Changing this forces a new resource to be created.
- priority String
- The Priority for Virtual Machines within the Virtual Machine Scale Set that powers this Node Pool. Possible values are
Regular
andSpot
. Defaults toRegular
. Changing this forces a new resource to be created. - proximity
Placement StringGroup Id The ID of the Proximity Placement Group where the Virtual Machine Scale Set that powers this Node Pool will be placed. Changing this forces a new resource to be created.
Note: When setting
priority
to Spot - you must configure aneviction_policy
,spot_max_price
and add the applicablenode_labels
andnode_taints
as per the Azure Documentation.- scale
Down StringMode - Specifies how the node pool should deal with scaled-down nodes. Allowed values are
Delete
andDeallocate
. Defaults toDelete
. - snapshot
Id String - The ID of the Snapshot which should be used to create this Node Pool. Changing this forces a new resource to be created.
- spot
Max NumberPrice The maximum price you're willing to pay in USD per Virtual Machine. Valid values are
-1
(the current on-demand price for a Virtual Machine) or a positive value with up to five decimal places. Changing this forces a new resource to be created.Note: This field can only be configured when
priority
is set toSpot
.- Map<String>
A mapping of tags to assign to the resource.
At this time there's a bug in the AKS API where Tags for a Node Pool are not stored in the correct case - you may wish to use
ignoreChanges
functionality to ignore changes to the casing until this is fixed in the AKS API.- ultra
Ssd BooleanEnabled - Used to specify whether the UltraSSD is enabled in the Node Pool. Defaults to
false
. See the documentation for more information. Changing this forces a new resource to be created. - upgrade
Settings Property Map - A
upgrade_settings
block as documented below. - vm
Size String - The SKU which should be used for the Virtual Machines used in this Node Pool. Changing this forces a new resource to be created.
- vnet
Subnet StringId The ID of the Subnet where this Node Pool should exist. Changing this forces a new resource to be created.
NOTE: A route table must be configured on this Subnet.
- windows
Profile Property Map - A
windows_profile
block as documented below. Changing this forces a new resource to be created. - workload
Runtime String Used to specify the workload runtime. Allowed values are
OCIContainer
andWasmWasi
.Note: WebAssembly System Interface node pools are in Public Preview - more information and details on how to opt into the preview can be found in this article
- zones List<String>
- Specifies a list of Availability Zones in which this Kubernetes Cluster Node Pool should be located. Changing this forces a new Kubernetes Cluster Node Pool to be created.
Supporting Types
KubernetesClusterNodePoolKubeletConfig, KubernetesClusterNodePoolKubeletConfigArgs
- Allowed
Unsafe List<string>Sysctls - Specifies the allow list of unsafe sysctls command or patterns (ending in
*
). Changing this forces a new resource to be created. - Container
Log intMax Line - Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
- Container
Log intMax Size Mb - Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
- Cpu
Cfs boolQuota Enabled - Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
- Cpu
Cfs stringQuota Period - Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
- Cpu
Manager stringPolicy - Specifies the CPU Manager policy to use. Possible values are
none
andstatic
, Changing this forces a new resource to be created. - Image
Gc intHigh Threshold - Specifies the percent of disk usage above which image garbage collection is always run. Must be between
0
and100
. Changing this forces a new resource to be created. - Image
Gc intLow Threshold - Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between
0
and100
. Changing this forces a new resource to be created. - Pod
Max intPid - Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
- Topology
Manager stringPolicy - Specifies the Topology Manager policy to use. Possible values are
none
,best-effort
,restricted
orsingle-numa-node
. Changing this forces a new resource to be created.
- Allowed
Unsafe []stringSysctls - Specifies the allow list of unsafe sysctls command or patterns (ending in
*
). Changing this forces a new resource to be created. - Container
Log intMax Line - Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
- Container
Log intMax Size Mb - Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
- Cpu
Cfs boolQuota Enabled - Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
- Cpu
Cfs stringQuota Period - Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
- Cpu
Manager stringPolicy - Specifies the CPU Manager policy to use. Possible values are
none
andstatic
, Changing this forces a new resource to be created. - Image
Gc intHigh Threshold - Specifies the percent of disk usage above which image garbage collection is always run. Must be between
0
and100
. Changing this forces a new resource to be created. - Image
Gc intLow Threshold - Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between
0
and100
. Changing this forces a new resource to be created. - Pod
Max intPid - Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
- Topology
Manager stringPolicy - Specifies the Topology Manager policy to use. Possible values are
none
,best-effort
,restricted
orsingle-numa-node
. Changing this forces a new resource to be created.
- allowed
Unsafe List<String>Sysctls - Specifies the allow list of unsafe sysctls command or patterns (ending in
*
). Changing this forces a new resource to be created. - container
Log IntegerMax Line - Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
- container
Log IntegerMax Size Mb - Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
- cpu
Cfs BooleanQuota Enabled - Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
- cpu
Cfs StringQuota Period - Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
- cpu
Manager StringPolicy - Specifies the CPU Manager policy to use. Possible values are
none
andstatic
, Changing this forces a new resource to be created. - image
Gc IntegerHigh Threshold - Specifies the percent of disk usage above which image garbage collection is always run. Must be between
0
and100
. Changing this forces a new resource to be created. - image
Gc IntegerLow Threshold - Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between
0
and100
. Changing this forces a new resource to be created. - pod
Max IntegerPid - Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
- topology
Manager StringPolicy - Specifies the Topology Manager policy to use. Possible values are
none
,best-effort
,restricted
orsingle-numa-node
. Changing this forces a new resource to be created.
- allowed
Unsafe string[]Sysctls - Specifies the allow list of unsafe sysctls command or patterns (ending in
*
). Changing this forces a new resource to be created. - container
Log numberMax Line - Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
- container
Log numberMax Size Mb - Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
- cpu
Cfs booleanQuota Enabled - Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
- cpu
Cfs stringQuota Period - Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
- cpu
Manager stringPolicy - Specifies the CPU Manager policy to use. Possible values are
none
andstatic
, Changing this forces a new resource to be created. - image
Gc numberHigh Threshold - Specifies the percent of disk usage above which image garbage collection is always run. Must be between
0
and100
. Changing this forces a new resource to be created. - image
Gc numberLow Threshold - Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between
0
and100
. Changing this forces a new resource to be created. - pod
Max numberPid - Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
- topology
Manager stringPolicy - Specifies the Topology Manager policy to use. Possible values are
none
,best-effort
,restricted
orsingle-numa-node
. Changing this forces a new resource to be created.
- allowed_
unsafe_ Sequence[str]sysctls - Specifies the allow list of unsafe sysctls command or patterns (ending in
*
). Changing this forces a new resource to be created. - container_
log_ intmax_ line - Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
- container_
log_ intmax_ size_ mb - Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
- cpu_
cfs_ boolquota_ enabled - Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
- cpu_
cfs_ strquota_ period - Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
- cpu_
manager_ strpolicy - Specifies the CPU Manager policy to use. Possible values are
none
andstatic
, Changing this forces a new resource to be created. - image_
gc_ inthigh_ threshold - Specifies the percent of disk usage above which image garbage collection is always run. Must be between
0
and100
. Changing this forces a new resource to be created. - image_
gc_ intlow_ threshold - Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between
0
and100
. Changing this forces a new resource to be created. - pod_
max_ intpid - Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
- topology_
manager_ strpolicy - Specifies the Topology Manager policy to use. Possible values are
none
,best-effort
,restricted
orsingle-numa-node
. Changing this forces a new resource to be created.
- allowed
Unsafe List<String>Sysctls - Specifies the allow list of unsafe sysctls command or patterns (ending in
*
). Changing this forces a new resource to be created. - container
Log NumberMax Line - Specifies the maximum number of container log files that can be present for a container. must be at least 2. Changing this forces a new resource to be created.
- container
Log NumberMax Size Mb - Specifies the maximum size (e.g. 10MB) of container log file before it is rotated. Changing this forces a new resource to be created.
- cpu
Cfs BooleanQuota Enabled - Is CPU CFS quota enforcement for containers enabled? Changing this forces a new resource to be created.
- cpu
Cfs StringQuota Period - Specifies the CPU CFS quota period value. Changing this forces a new resource to be created.
- cpu
Manager StringPolicy - Specifies the CPU Manager policy to use. Possible values are
none
andstatic
, Changing this forces a new resource to be created. - image
Gc NumberHigh Threshold - Specifies the percent of disk usage above which image garbage collection is always run. Must be between
0
and100
. Changing this forces a new resource to be created. - image
Gc NumberLow Threshold - Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between
0
and100
. Changing this forces a new resource to be created. - pod
Max NumberPid - Specifies the maximum number of processes per pod. Changing this forces a new resource to be created.
- topology
Manager StringPolicy - Specifies the Topology Manager policy to use. Possible values are
none
,best-effort
,restricted
orsingle-numa-node
. Changing this forces a new resource to be created.
KubernetesClusterNodePoolLinuxOsConfig, KubernetesClusterNodePoolLinuxOsConfigArgs
- Swap
File intSize Mb - Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
- Sysctl
Config KubernetesCluster Node Pool Linux Os Config Sysctl Config - A
sysctl_config
block as defined below. Changing this forces a new resource to be created. - Transparent
Huge stringPage Defrag - specifies the defrag configuration for Transparent Huge Page. Possible values are
always
,defer
,defer+madvise
,madvise
andnever
. Changing this forces a new resource to be created. - Transparent
Huge stringPage Enabled - Specifies the Transparent Huge Page enabled configuration. Possible values are
always
,madvise
andnever
. Changing this forces a new resource to be created.
- Swap
File intSize Mb - Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
- Sysctl
Config KubernetesCluster Node Pool Linux Os Config Sysctl Config - A
sysctl_config
block as defined below. Changing this forces a new resource to be created. - Transparent
Huge stringPage Defrag - specifies the defrag configuration for Transparent Huge Page. Possible values are
always
,defer
,defer+madvise
,madvise
andnever
. Changing this forces a new resource to be created. - Transparent
Huge stringPage Enabled - Specifies the Transparent Huge Page enabled configuration. Possible values are
always
,madvise
andnever
. Changing this forces a new resource to be created.
- swap
File IntegerSize Mb - Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
- sysctl
Config KubernetesCluster Node Pool Linux Os Config Sysctl Config - A
sysctl_config
block as defined below. Changing this forces a new resource to be created. - transparent
Huge StringPage Defrag - specifies the defrag configuration for Transparent Huge Page. Possible values are
always
,defer
,defer+madvise
,madvise
andnever
. Changing this forces a new resource to be created. - transparent
Huge StringPage Enabled - Specifies the Transparent Huge Page enabled configuration. Possible values are
always
,madvise
andnever
. Changing this forces a new resource to be created.
- swap
File numberSize Mb - Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
- sysctl
Config KubernetesCluster Node Pool Linux Os Config Sysctl Config - A
sysctl_config
block as defined below. Changing this forces a new resource to be created. - transparent
Huge stringPage Defrag - specifies the defrag configuration for Transparent Huge Page. Possible values are
always
,defer
,defer+madvise
,madvise
andnever
. Changing this forces a new resource to be created. - transparent
Huge stringPage Enabled - Specifies the Transparent Huge Page enabled configuration. Possible values are
always
,madvise
andnever
. Changing this forces a new resource to be created.
- swap_
file_ intsize_ mb - Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
- sysctl_
config KubernetesCluster Node Pool Linux Os Config Sysctl Config - A
sysctl_config
block as defined below. Changing this forces a new resource to be created. - transparent_
huge_ strpage_ defrag - specifies the defrag configuration for Transparent Huge Page. Possible values are
always
,defer
,defer+madvise
,madvise
andnever
. Changing this forces a new resource to be created. - transparent_
huge_ strpage_ enabled - Specifies the Transparent Huge Page enabled configuration. Possible values are
always
,madvise
andnever
. Changing this forces a new resource to be created.
- swap
File NumberSize Mb - Specifies the size of swap file on each node in MB. Changing this forces a new resource to be created.
- sysctl
Config Property Map - A
sysctl_config
block as defined below. Changing this forces a new resource to be created. - transparent
Huge StringPage Defrag - specifies the defrag configuration for Transparent Huge Page. Possible values are
always
,defer
,defer+madvise
,madvise
andnever
. Changing this forces a new resource to be created. - transparent
Huge StringPage Enabled - Specifies the Transparent Huge Page enabled configuration. Possible values are
always
,madvise
andnever
. Changing this forces a new resource to be created.
KubernetesClusterNodePoolLinuxOsConfigSysctlConfig, KubernetesClusterNodePoolLinuxOsConfigSysctlConfigArgs
- Fs
Aio intMax Nr - The sysctl setting fs.aio-max-nr. Must be between
65536
and6553500
. Changing this forces a new resource to be created. - Fs
File intMax - The sysctl setting fs.file-max. Must be between
8192
and12000500
. Changing this forces a new resource to be created. - Fs
Inotify intMax User Watches - The sysctl setting fs.inotify.max_user_watches. Must be between
781250
and2097152
. Changing this forces a new resource to be created. - Fs
Nr intOpen - The sysctl setting fs.nr_open. Must be between
8192
and20000500
. Changing this forces a new resource to be created. - Kernel
Threads intMax - The sysctl setting kernel.threads-max. Must be between
20
and513785
. Changing this forces a new resource to be created. - Net
Core intNetdev Max Backlog - The sysctl setting net.core.netdev_max_backlog. Must be between
1000
and3240000
. Changing this forces a new resource to be created. - Net
Core intOptmem Max - The sysctl setting net.core.optmem_max. Must be between
20480
and4194304
. Changing this forces a new resource to be created. - Net
Core intRmem Default - The sysctl setting net.core.rmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Core intRmem Max - The sysctl setting net.core.rmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Core intSomaxconn - The sysctl setting net.core.somaxconn. Must be between
4096
and3240000
. Changing this forces a new resource to be created. - Net
Core intWmem Default - The sysctl setting net.core.wmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Core intWmem Max - The sysctl setting net.core.wmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Ipv4Ip intLocal Port Range Max - The sysctl setting net.ipv4.ip_local_port_range max value. Must be between
32768
and65535
. Changing this forces a new resource to be created. - Net
Ipv4Ip intLocal Port Range Min - The sysctl setting net.ipv4.ip_local_port_range min value. Must be between
1024
and60999
. Changing this forces a new resource to be created. - Net
Ipv4Neigh intDefault Gc Thresh1 - The sysctl setting net.ipv4.neigh.default.gc_thresh1. Must be between
128
and80000
. Changing this forces a new resource to be created. - Net
Ipv4Neigh intDefault Gc Thresh2 - The sysctl setting net.ipv4.neigh.default.gc_thresh2. Must be between
512
and90000
. Changing this forces a new resource to be created. - Net
Ipv4Neigh intDefault Gc Thresh3 - The sysctl setting net.ipv4.neigh.default.gc_thresh3. Must be between
1024
and100000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intFin Timeout - The sysctl setting net.ipv4.tcp_fin_timeout. Must be between
5
and120
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intKeepalive Intvl - The sysctl setting net.ipv4.tcp_keepalive_intvl. Must be between
10
and90
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intKeepalive Probes - The sysctl setting net.ipv4.tcp_keepalive_probes. Must be between
1
and15
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intKeepalive Time - The sysctl setting net.ipv4.tcp_keepalive_time. Must be between
30
and432000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intMax Syn Backlog - The sysctl setting net.ipv4.tcp_max_syn_backlog. Must be between
128
and3240000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intMax Tw Buckets - The sysctl setting net.ipv4.tcp_max_tw_buckets. Must be between
8000
and1440000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp boolTw Reuse - Is sysctl setting net.ipv4.tcp_tw_reuse enabled? Changing this forces a new resource to be created.
- Net
Netfilter intNf Conntrack Buckets - The sysctl setting net.netfilter.nf_conntrack_buckets. Must be between
65536
and524288
. Changing this forces a new resource to be created. - Net
Netfilter intNf Conntrack Max - The sysctl setting net.netfilter.nf_conntrack_max. Must be between
131072
and2097152
. Changing this forces a new resource to be created. - Vm
Max intMap Count - The sysctl setting vm.max_map_count. Must be between
65530
and262144
. Changing this forces a new resource to be created. - Vm
Swappiness int - The sysctl setting vm.swappiness. Must be between
0
and100
. Changing this forces a new resource to be created. - Vm
Vfs intCache Pressure - The sysctl setting vm.vfs_cache_pressure. Must be between
0
and100
. Changing this forces a new resource to be created.
- Fs
Aio intMax Nr - The sysctl setting fs.aio-max-nr. Must be between
65536
and6553500
. Changing this forces a new resource to be created. - Fs
File intMax - The sysctl setting fs.file-max. Must be between
8192
and12000500
. Changing this forces a new resource to be created. - Fs
Inotify intMax User Watches - The sysctl setting fs.inotify.max_user_watches. Must be between
781250
and2097152
. Changing this forces a new resource to be created. - Fs
Nr intOpen - The sysctl setting fs.nr_open. Must be between
8192
and20000500
. Changing this forces a new resource to be created. - Kernel
Threads intMax - The sysctl setting kernel.threads-max. Must be between
20
and513785
. Changing this forces a new resource to be created. - Net
Core intNetdev Max Backlog - The sysctl setting net.core.netdev_max_backlog. Must be between
1000
and3240000
. Changing this forces a new resource to be created. - Net
Core intOptmem Max - The sysctl setting net.core.optmem_max. Must be between
20480
and4194304
. Changing this forces a new resource to be created. - Net
Core intRmem Default - The sysctl setting net.core.rmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Core intRmem Max - The sysctl setting net.core.rmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Core intSomaxconn - The sysctl setting net.core.somaxconn. Must be between
4096
and3240000
. Changing this forces a new resource to be created. - Net
Core intWmem Default - The sysctl setting net.core.wmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Core intWmem Max - The sysctl setting net.core.wmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - Net
Ipv4Ip intLocal Port Range Max - The sysctl setting net.ipv4.ip_local_port_range max value. Must be between
32768
and65535
. Changing this forces a new resource to be created. - Net
Ipv4Ip intLocal Port Range Min - The sysctl setting net.ipv4.ip_local_port_range min value. Must be between
1024
and60999
. Changing this forces a new resource to be created. - Net
Ipv4Neigh intDefault Gc Thresh1 - The sysctl setting net.ipv4.neigh.default.gc_thresh1. Must be between
128
and80000
. Changing this forces a new resource to be created. - Net
Ipv4Neigh intDefault Gc Thresh2 - The sysctl setting net.ipv4.neigh.default.gc_thresh2. Must be between
512
and90000
. Changing this forces a new resource to be created. - Net
Ipv4Neigh intDefault Gc Thresh3 - The sysctl setting net.ipv4.neigh.default.gc_thresh3. Must be between
1024
and100000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intFin Timeout - The sysctl setting net.ipv4.tcp_fin_timeout. Must be between
5
and120
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intKeepalive Intvl - The sysctl setting net.ipv4.tcp_keepalive_intvl. Must be between
10
and90
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intKeepalive Probes - The sysctl setting net.ipv4.tcp_keepalive_probes. Must be between
1
and15
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intKeepalive Time - The sysctl setting net.ipv4.tcp_keepalive_time. Must be between
30
and432000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intMax Syn Backlog - The sysctl setting net.ipv4.tcp_max_syn_backlog. Must be between
128
and3240000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp intMax Tw Buckets - The sysctl setting net.ipv4.tcp_max_tw_buckets. Must be between
8000
and1440000
. Changing this forces a new resource to be created. - Net
Ipv4Tcp boolTw Reuse - Is sysctl setting net.ipv4.tcp_tw_reuse enabled? Changing this forces a new resource to be created.
- Net
Netfilter intNf Conntrack Buckets - The sysctl setting net.netfilter.nf_conntrack_buckets. Must be between
65536
and524288
. Changing this forces a new resource to be created. - Net
Netfilter intNf Conntrack Max - The sysctl setting net.netfilter.nf_conntrack_max. Must be between
131072
and2097152
. Changing this forces a new resource to be created. - Vm
Max intMap Count - The sysctl setting vm.max_map_count. Must be between
65530
and262144
. Changing this forces a new resource to be created. - Vm
Swappiness int - The sysctl setting vm.swappiness. Must be between
0
and100
. Changing this forces a new resource to be created. - Vm
Vfs intCache Pressure - The sysctl setting vm.vfs_cache_pressure. Must be between
0
and100
. Changing this forces a new resource to be created.
- fs
Aio IntegerMax Nr - The sysctl setting fs.aio-max-nr. Must be between
65536
and6553500
. Changing this forces a new resource to be created. - fs
File IntegerMax - The sysctl setting fs.file-max. Must be between
8192
and12000500
. Changing this forces a new resource to be created. - fs
Inotify IntegerMax User Watches - The sysctl setting fs.inotify.max_user_watches. Must be between
781250
and2097152
. Changing this forces a new resource to be created. - fs
Nr IntegerOpen - The sysctl setting fs.nr_open. Must be between
8192
and20000500
. Changing this forces a new resource to be created. - kernel
Threads IntegerMax - The sysctl setting kernel.threads-max. Must be between
20
and513785
. Changing this forces a new resource to be created. - net
Core IntegerNetdev Max Backlog - The sysctl setting net.core.netdev_max_backlog. Must be between
1000
and3240000
. Changing this forces a new resource to be created. - net
Core IntegerOptmem Max - The sysctl setting net.core.optmem_max. Must be between
20480
and4194304
. Changing this forces a new resource to be created. - net
Core IntegerRmem Default - The sysctl setting net.core.rmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core IntegerRmem Max - The sysctl setting net.core.rmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core IntegerSomaxconn - The sysctl setting net.core.somaxconn. Must be between
4096
and3240000
. Changing this forces a new resource to be created. - net
Core IntegerWmem Default - The sysctl setting net.core.wmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core IntegerWmem Max - The sysctl setting net.core.wmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Ipv4Ip IntegerLocal Port Range Max - The sysctl setting net.ipv4.ip_local_port_range max value. Must be between
32768
and65535
. Changing this forces a new resource to be created. - net
Ipv4Ip IntegerLocal Port Range Min - The sysctl setting net.ipv4.ip_local_port_range min value. Must be between
1024
and60999
. Changing this forces a new resource to be created. - net
Ipv4Neigh IntegerDefault Gc Thresh1 - The sysctl setting net.ipv4.neigh.default.gc_thresh1. Must be between
128
and80000
. Changing this forces a new resource to be created. - net
Ipv4Neigh IntegerDefault Gc Thresh2 - The sysctl setting net.ipv4.neigh.default.gc_thresh2. Must be between
512
and90000
. Changing this forces a new resource to be created. - net
Ipv4Neigh IntegerDefault Gc Thresh3 - The sysctl setting net.ipv4.neigh.default.gc_thresh3. Must be between
1024
and100000
. Changing this forces a new resource to be created. - net
Ipv4Tcp IntegerFin Timeout - The sysctl setting net.ipv4.tcp_fin_timeout. Must be between
5
and120
. Changing this forces a new resource to be created. - net
Ipv4Tcp IntegerKeepalive Intvl - The sysctl setting net.ipv4.tcp_keepalive_intvl. Must be between
10
and90
. Changing this forces a new resource to be created. - net
Ipv4Tcp IntegerKeepalive Probes - The sysctl setting net.ipv4.tcp_keepalive_probes. Must be between
1
and15
. Changing this forces a new resource to be created. - net
Ipv4Tcp IntegerKeepalive Time - The sysctl setting net.ipv4.tcp_keepalive_time. Must be between
30
and432000
. Changing this forces a new resource to be created. - net
Ipv4Tcp IntegerMax Syn Backlog - The sysctl setting net.ipv4.tcp_max_syn_backlog. Must be between
128
and3240000
. Changing this forces a new resource to be created. - net
Ipv4Tcp IntegerMax Tw Buckets - The sysctl setting net.ipv4.tcp_max_tw_buckets. Must be between
8000
and1440000
. Changing this forces a new resource to be created. - net
Ipv4Tcp BooleanTw Reuse - Is sysctl setting net.ipv4.tcp_tw_reuse enabled? Changing this forces a new resource to be created.
- net
Netfilter IntegerNf Conntrack Buckets - The sysctl setting net.netfilter.nf_conntrack_buckets. Must be between
65536
and524288
. Changing this forces a new resource to be created. - net
Netfilter IntegerNf Conntrack Max - The sysctl setting net.netfilter.nf_conntrack_max. Must be between
131072
and2097152
. Changing this forces a new resource to be created. - vm
Max IntegerMap Count - The sysctl setting vm.max_map_count. Must be between
65530
and262144
. Changing this forces a new resource to be created. - vm
Swappiness Integer - The sysctl setting vm.swappiness. Must be between
0
and100
. Changing this forces a new resource to be created. - vm
Vfs IntegerCache Pressure - The sysctl setting vm.vfs_cache_pressure. Must be between
0
and100
. Changing this forces a new resource to be created.
- fs
Aio numberMax Nr - The sysctl setting fs.aio-max-nr. Must be between
65536
and6553500
. Changing this forces a new resource to be created. - fs
File numberMax - The sysctl setting fs.file-max. Must be between
8192
and12000500
. Changing this forces a new resource to be created. - fs
Inotify numberMax User Watches - The sysctl setting fs.inotify.max_user_watches. Must be between
781250
and2097152
. Changing this forces a new resource to be created. - fs
Nr numberOpen - The sysctl setting fs.nr_open. Must be between
8192
and20000500
. Changing this forces a new resource to be created. - kernel
Threads numberMax - The sysctl setting kernel.threads-max. Must be between
20
and513785
. Changing this forces a new resource to be created. - net
Core numberNetdev Max Backlog - The sysctl setting net.core.netdev_max_backlog. Must be between
1000
and3240000
. Changing this forces a new resource to be created. - net
Core numberOptmem Max - The sysctl setting net.core.optmem_max. Must be between
20480
and4194304
. Changing this forces a new resource to be created. - net
Core numberRmem Default - The sysctl setting net.core.rmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core numberRmem Max - The sysctl setting net.core.rmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core numberSomaxconn - The sysctl setting net.core.somaxconn. Must be between
4096
and3240000
. Changing this forces a new resource to be created. - net
Core numberWmem Default - The sysctl setting net.core.wmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core numberWmem Max - The sysctl setting net.core.wmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Ipv4Ip numberLocal Port Range Max - The sysctl setting net.ipv4.ip_local_port_range max value. Must be between
32768
and65535
. Changing this forces a new resource to be created. - net
Ipv4Ip numberLocal Port Range Min - The sysctl setting net.ipv4.ip_local_port_range min value. Must be between
1024
and60999
. Changing this forces a new resource to be created. - net
Ipv4Neigh numberDefault Gc Thresh1 - The sysctl setting net.ipv4.neigh.default.gc_thresh1. Must be between
128
and80000
. Changing this forces a new resource to be created. - net
Ipv4Neigh numberDefault Gc Thresh2 - The sysctl setting net.ipv4.neigh.default.gc_thresh2. Must be between
512
and90000
. Changing this forces a new resource to be created. - net
Ipv4Neigh numberDefault Gc Thresh3 - The sysctl setting net.ipv4.neigh.default.gc_thresh3. Must be between
1024
and100000
. Changing this forces a new resource to be created. - net
Ipv4Tcp numberFin Timeout - The sysctl setting net.ipv4.tcp_fin_timeout. Must be between
5
and120
. Changing this forces a new resource to be created. - net
Ipv4Tcp numberKeepalive Intvl - The sysctl setting net.ipv4.tcp_keepalive_intvl. Must be between
10
and90
. Changing this forces a new resource to be created. - net
Ipv4Tcp numberKeepalive Probes - The sysctl setting net.ipv4.tcp_keepalive_probes. Must be between
1
and15
. Changing this forces a new resource to be created. - net
Ipv4Tcp numberKeepalive Time - The sysctl setting net.ipv4.tcp_keepalive_time. Must be between
30
and432000
. Changing this forces a new resource to be created. - net
Ipv4Tcp numberMax Syn Backlog - The sysctl setting net.ipv4.tcp_max_syn_backlog. Must be between
128
and3240000
. Changing this forces a new resource to be created. - net
Ipv4Tcp numberMax Tw Buckets - The sysctl setting net.ipv4.tcp_max_tw_buckets. Must be between
8000
and1440000
. Changing this forces a new resource to be created. - net
Ipv4Tcp booleanTw Reuse - Is sysctl setting net.ipv4.tcp_tw_reuse enabled? Changing this forces a new resource to be created.
- net
Netfilter numberNf Conntrack Buckets - The sysctl setting net.netfilter.nf_conntrack_buckets. Must be between
65536
and524288
. Changing this forces a new resource to be created. - net
Netfilter numberNf Conntrack Max - The sysctl setting net.netfilter.nf_conntrack_max. Must be between
131072
and2097152
. Changing this forces a new resource to be created. - vm
Max numberMap Count - The sysctl setting vm.max_map_count. Must be between
65530
and262144
. Changing this forces a new resource to be created. - vm
Swappiness number - The sysctl setting vm.swappiness. Must be between
0
and100
. Changing this forces a new resource to be created. - vm
Vfs numberCache Pressure - The sysctl setting vm.vfs_cache_pressure. Must be between
0
and100
. Changing this forces a new resource to be created.
- fs_
aio_ intmax_ nr - The sysctl setting fs.aio-max-nr. Must be between
65536
and6553500
. Changing this forces a new resource to be created. - fs_
file_ intmax - The sysctl setting fs.file-max. Must be between
8192
and12000500
. Changing this forces a new resource to be created. - fs_
inotify_ intmax_ user_ watches - The sysctl setting fs.inotify.max_user_watches. Must be between
781250
and2097152
. Changing this forces a new resource to be created. - fs_
nr_ intopen - The sysctl setting fs.nr_open. Must be between
8192
and20000500
. Changing this forces a new resource to be created. - kernel_
threads_ intmax - The sysctl setting kernel.threads-max. Must be between
20
and513785
. Changing this forces a new resource to be created. - net_
core_ intnetdev_ max_ backlog - The sysctl setting net.core.netdev_max_backlog. Must be between
1000
and3240000
. Changing this forces a new resource to be created. - net_
core_ intoptmem_ max - The sysctl setting net.core.optmem_max. Must be between
20480
and4194304
. Changing this forces a new resource to be created. - net_
core_ intrmem_ default - The sysctl setting net.core.rmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net_
core_ intrmem_ max - The sysctl setting net.core.rmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net_
core_ intsomaxconn - The sysctl setting net.core.somaxconn. Must be between
4096
and3240000
. Changing this forces a new resource to be created. - net_
core_ intwmem_ default - The sysctl setting net.core.wmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net_
core_ intwmem_ max - The sysctl setting net.core.wmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net_
ipv4_ intip_ local_ port_ range_ max - The sysctl setting net.ipv4.ip_local_port_range max value. Must be between
32768
and65535
. Changing this forces a new resource to be created. - net_
ipv4_ intip_ local_ port_ range_ min - The sysctl setting net.ipv4.ip_local_port_range min value. Must be between
1024
and60999
. Changing this forces a new resource to be created. - net_
ipv4_ intneigh_ default_ gc_ thresh1 - The sysctl setting net.ipv4.neigh.default.gc_thresh1. Must be between
128
and80000
. Changing this forces a new resource to be created. - net_
ipv4_ intneigh_ default_ gc_ thresh2 - The sysctl setting net.ipv4.neigh.default.gc_thresh2. Must be between
512
and90000
. Changing this forces a new resource to be created. - net_
ipv4_ intneigh_ default_ gc_ thresh3 - The sysctl setting net.ipv4.neigh.default.gc_thresh3. Must be between
1024
and100000
. Changing this forces a new resource to be created. - net_
ipv4_ inttcp_ fin_ timeout - The sysctl setting net.ipv4.tcp_fin_timeout. Must be between
5
and120
. Changing this forces a new resource to be created. - net_
ipv4_ inttcp_ keepalive_ intvl - The sysctl setting net.ipv4.tcp_keepalive_intvl. Must be between
10
and90
. Changing this forces a new resource to be created. - net_
ipv4_ inttcp_ keepalive_ probes - The sysctl setting net.ipv4.tcp_keepalive_probes. Must be between
1
and15
. Changing this forces a new resource to be created. - net_
ipv4_ inttcp_ keepalive_ time - The sysctl setting net.ipv4.tcp_keepalive_time. Must be between
30
and432000
. Changing this forces a new resource to be created. - net_
ipv4_ inttcp_ max_ syn_ backlog - The sysctl setting net.ipv4.tcp_max_syn_backlog. Must be between
128
and3240000
. Changing this forces a new resource to be created. - net_
ipv4_ inttcp_ max_ tw_ buckets - The sysctl setting net.ipv4.tcp_max_tw_buckets. Must be between
8000
and1440000
. Changing this forces a new resource to be created. - net_
ipv4_ booltcp_ tw_ reuse - Is sysctl setting net.ipv4.tcp_tw_reuse enabled? Changing this forces a new resource to be created.
- net_
netfilter_ intnf_ conntrack_ buckets - The sysctl setting net.netfilter.nf_conntrack_buckets. Must be between
65536
and524288
. Changing this forces a new resource to be created. - net_
netfilter_ intnf_ conntrack_ max - The sysctl setting net.netfilter.nf_conntrack_max. Must be between
131072
and2097152
. Changing this forces a new resource to be created. - vm_
max_ intmap_ count - The sysctl setting vm.max_map_count. Must be between
65530
and262144
. Changing this forces a new resource to be created. - vm_
swappiness int - The sysctl setting vm.swappiness. Must be between
0
and100
. Changing this forces a new resource to be created. - vm_
vfs_ intcache_ pressure - The sysctl setting vm.vfs_cache_pressure. Must be between
0
and100
. Changing this forces a new resource to be created.
- fs
Aio NumberMax Nr - The sysctl setting fs.aio-max-nr. Must be between
65536
and6553500
. Changing this forces a new resource to be created. - fs
File NumberMax - The sysctl setting fs.file-max. Must be between
8192
and12000500
. Changing this forces a new resource to be created. - fs
Inotify NumberMax User Watches - The sysctl setting fs.inotify.max_user_watches. Must be between
781250
and2097152
. Changing this forces a new resource to be created. - fs
Nr NumberOpen - The sysctl setting fs.nr_open. Must be between
8192
and20000500
. Changing this forces a new resource to be created. - kernel
Threads NumberMax - The sysctl setting kernel.threads-max. Must be between
20
and513785
. Changing this forces a new resource to be created. - net
Core NumberNetdev Max Backlog - The sysctl setting net.core.netdev_max_backlog. Must be between
1000
and3240000
. Changing this forces a new resource to be created. - net
Core NumberOptmem Max - The sysctl setting net.core.optmem_max. Must be between
20480
and4194304
. Changing this forces a new resource to be created. - net
Core NumberRmem Default - The sysctl setting net.core.rmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core NumberRmem Max - The sysctl setting net.core.rmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core NumberSomaxconn - The sysctl setting net.core.somaxconn. Must be between
4096
and3240000
. Changing this forces a new resource to be created. - net
Core NumberWmem Default - The sysctl setting net.core.wmem_default. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Core NumberWmem Max - The sysctl setting net.core.wmem_max. Must be between
212992
and134217728
. Changing this forces a new resource to be created. - net
Ipv4Ip NumberLocal Port Range Max - The sysctl setting net.ipv4.ip_local_port_range max value. Must be between
32768
and65535
. Changing this forces a new resource to be created. - net
Ipv4Ip NumberLocal Port Range Min - The sysctl setting net.ipv4.ip_local_port_range min value. Must be between
1024
and60999
. Changing this forces a new resource to be created. - net
Ipv4Neigh NumberDefault Gc Thresh1 - The sysctl setting net.ipv4.neigh.default.gc_thresh1. Must be between
128
and80000
. Changing this forces a new resource to be created. - net
Ipv4Neigh NumberDefault Gc Thresh2 - The sysctl setting net.ipv4.neigh.default.gc_thresh2. Must be between
512
and90000
. Changing this forces a new resource to be created. - net
Ipv4Neigh NumberDefault Gc Thresh3 - The sysctl setting net.ipv4.neigh.default.gc_thresh3. Must be between
1024
and100000
. Changing this forces a new resource to be created. - net
Ipv4Tcp NumberFin Timeout - The sysctl setting net.ipv4.tcp_fin_timeout. Must be between
5
and120
. Changing this forces a new resource to be created. - net
Ipv4Tcp NumberKeepalive Intvl - The sysctl setting net.ipv4.tcp_keepalive_intvl. Must be between
10
and90
. Changing this forces a new resource to be created. - net
Ipv4Tcp NumberKeepalive Probes - The sysctl setting net.ipv4.tcp_keepalive_probes. Must be between
1
and15
. Changing this forces a new resource to be created. - net
Ipv4Tcp NumberKeepalive Time - The sysctl setting net.ipv4.tcp_keepalive_time. Must be between
30
and432000
. Changing this forces a new resource to be created. - net
Ipv4Tcp NumberMax Syn Backlog - The sysctl setting net.ipv4.tcp_max_syn_backlog. Must be between
128
and3240000
. Changing this forces a new resource to be created. - net
Ipv4Tcp NumberMax Tw Buckets - The sysctl setting net.ipv4.tcp_max_tw_buckets. Must be between
8000
and1440000
. Changing this forces a new resource to be created. - net
Ipv4Tcp BooleanTw Reuse - Is sysctl setting net.ipv4.tcp_tw_reuse enabled? Changing this forces a new resource to be created.
- net
Netfilter NumberNf Conntrack Buckets - The sysctl setting net.netfilter.nf_conntrack_buckets. Must be between
65536
and524288
. Changing this forces a new resource to be created. - net
Netfilter NumberNf Conntrack Max - The sysctl setting net.netfilter.nf_conntrack_max. Must be between
131072
and2097152
. Changing this forces a new resource to be created. - vm
Max NumberMap Count - The sysctl setting vm.max_map_count. Must be between
65530
and262144
. Changing this forces a new resource to be created. - vm
Swappiness Number - The sysctl setting vm.swappiness. Must be between
0
and100
. Changing this forces a new resource to be created. - vm
Vfs NumberCache Pressure - The sysctl setting vm.vfs_cache_pressure. Must be between
0
and100
. Changing this forces a new resource to be created.
KubernetesClusterNodePoolNodeNetworkProfile, KubernetesClusterNodePoolNodeNetworkProfileArgs
- Allowed
Host List<KubernetesPorts Cluster Node Pool Node Network Profile Allowed Host Port> - One or more
allowed_host_ports
blocks as defined below. - Application
Security List<string>Group Ids - A list of Application Security Group IDs which should be associated with this Node Pool.
- Dictionary<string, string>
- Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
- Allowed
Host []KubernetesPorts Cluster Node Pool Node Network Profile Allowed Host Port - One or more
allowed_host_ports
blocks as defined below. - Application
Security []stringGroup Ids - A list of Application Security Group IDs which should be associated with this Node Pool.
- map[string]string
- Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
- allowed
Host List<KubernetesPorts Cluster Node Pool Node Network Profile Allowed Host Port> - One or more
allowed_host_ports
blocks as defined below. - application
Security List<String>Group Ids - A list of Application Security Group IDs which should be associated with this Node Pool.
- Map<String,String>
- Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
- allowed
Host KubernetesPorts Cluster Node Pool Node Network Profile Allowed Host Port[] - One or more
allowed_host_ports
blocks as defined below. - application
Security string[]Group Ids - A list of Application Security Group IDs which should be associated with this Node Pool.
- {[key: string]: string}
- Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
- allowed_
host_ Sequence[Kubernetesports Cluster Node Pool Node Network Profile Allowed Host Port] - One or more
allowed_host_ports
blocks as defined below. - application_
security_ Sequence[str]group_ ids - A list of Application Security Group IDs which should be associated with this Node Pool.
- Mapping[str, str]
- Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
- allowed
Host List<Property Map>Ports - One or more
allowed_host_ports
blocks as defined below. - application
Security List<String>Group Ids - A list of Application Security Group IDs which should be associated with this Node Pool.
- Map<String>
- Specifies a mapping of tags to the instance-level public IPs. Changing this forces a new resource to be created.
KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPort, KubernetesClusterNodePoolNodeNetworkProfileAllowedHostPortArgs
- port_
end int - Specifies the end of the port range.
- port_
start int - Specifies the start of the port range.
- protocol str
- Specifies the protocol of the port range. Possible values are
TCP
andUDP
.
KubernetesClusterNodePoolUpgradeSettings, KubernetesClusterNodePoolUpgradeSettingsArgs
- Max
Surge string - The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
- Drain
Timeout intIn Minutes - 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. Unsetting this after configuring it will force a new resource to be created.
- Node
Soak intDuration In Minutes - The amount of time in minutes to wait after draining a node and before reimaging and moving on to next node. Defaults to
0
.
- Max
Surge string - The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
- Drain
Timeout intIn Minutes - 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. Unsetting this after configuring it will force a new resource to be created.
- Node
Soak intDuration In Minutes - The amount of time in minutes to wait after draining a node and before reimaging and moving on to next node. Defaults to
0
.
- max
Surge String - The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
- drain
Timeout IntegerIn Minutes - 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. Unsetting this after configuring it will force a new resource to be created.
- node
Soak IntegerDuration In Minutes - The amount of time in minutes to wait after draining a node and before reimaging and moving on to next node. Defaults to
0
.
- max
Surge string - The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
- drain
Timeout numberIn Minutes - 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. Unsetting this after configuring it will force a new resource to be created.
- node
Soak numberDuration In Minutes - The amount of time in minutes to wait after draining a node and before reimaging and moving on to next node. Defaults to
0
.
- max_
surge str - The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
- drain_
timeout_ intin_ minutes - 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. Unsetting this after configuring it will force a new resource to be created.
- node_
soak_ intduration_ in_ minutes - The amount of time in minutes to wait after draining a node and before reimaging and moving on to next node. Defaults to
0
.
- max
Surge String - The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
- drain
Timeout NumberIn Minutes - 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. Unsetting this after configuring it will force a new resource to be created.
- node
Soak NumberDuration In Minutes - The amount of time in minutes to wait after draining a node and before reimaging and moving on to next node. Defaults to
0
.
KubernetesClusterNodePoolWindowsProfile, KubernetesClusterNodePoolWindowsProfileArgs
- Outbound
Nat boolEnabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to
true
. Changing this forces a new resource to be created.Note: If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than
max_count
during an upgrade. Ensure that your cluster has enough IP space during an upgrade.
- Outbound
Nat boolEnabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to
true
. Changing this forces a new resource to be created.Note: If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than
max_count
during an upgrade. Ensure that your cluster has enough IP space during an upgrade.
- outbound
Nat BooleanEnabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to
true
. Changing this forces a new resource to be created.Note: If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than
max_count
during an upgrade. Ensure that your cluster has enough IP space during an upgrade.
- outbound
Nat booleanEnabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to
true
. Changing this forces a new resource to be created.Note: If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than
max_count
during an upgrade. Ensure that your cluster has enough IP space during an upgrade.
- outbound_
nat_ boolenabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to
true
. Changing this forces a new resource to be created.Note: If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than
max_count
during an upgrade. Ensure that your cluster has enough IP space during an upgrade.
- outbound
Nat BooleanEnabled Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to
true
. Changing this forces a new resource to be created.Note: If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than
max_count
during an upgrade. Ensure that your cluster has enough IP space during an upgrade.
Import
Kubernetes Cluster Node Pools can be imported using the resource id
, e.g.
$ pulumi import azure:containerservice/kubernetesClusterNodePool:KubernetesClusterNodePool pool1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ContainerService/managedClusters/cluster1/agentPools/pool1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.