Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.47.0 published on Saturday, Nov 20, 2021 by Pulumi

AgentPool

Agent Pool. API Version: 2021-03-01.

Example Usage

Create Agent Pool with EncryptionAtHost enabled

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            EnableEncryptionAtHost = true,
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_DS2_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName:          pulumi.String("agentpool1"),
			Count:                  pulumi.Int(3),
			EnableEncryptionAtHost: pulumi.Bool(true),
			OrchestratorVersion:    pulumi.String(""),
			OsType:                 pulumi.String("Linux"),
			ResourceGroupName:      pulumi.String("rg1"),
			ResourceName:           pulumi.String("clustername1"),
			VmSize:                 pulumi.String("Standard_DS2_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    enable_encryption_at_host=True,
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_DS2_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    enableEncryptionAtHost: true,
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_DS2_v2",
});

Create Agent Pool with Ephemeral OS Disk

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            OrchestratorVersion = "",
            OsDiskSizeGB = 64,
            OsDiskType = "Ephemeral",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_DS2_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName:       pulumi.String("agentpool1"),
			Count:               pulumi.Int(3),
			OrchestratorVersion: pulumi.String(""),
			OsDiskSizeGB:        pulumi.Int(64),
			OsDiskType:          pulumi.String("Ephemeral"),
			OsType:              pulumi.String("Linux"),
			ResourceGroupName:   pulumi.String("rg1"),
			ResourceName:        pulumi.String("clustername1"),
			VmSize:              pulumi.String("Standard_DS2_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    orchestrator_version="",
    os_disk_size_gb=64,
    os_disk_type="Ephemeral",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_DS2_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    orchestratorVersion: "",
    osDiskSizeGB: 64,
    osDiskType: "Ephemeral",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_DS2_v2",
});

Create Agent Pool with FIPS enabled OS

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            EnableFIPS = true,
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_DS2_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName:       pulumi.String("agentpool1"),
			Count:               pulumi.Int(3),
			EnableFIPS:          pulumi.Bool(true),
			OrchestratorVersion: pulumi.String(""),
			OsType:              pulumi.String("Linux"),
			ResourceGroupName:   pulumi.String("rg1"),
			ResourceName:        pulumi.String("clustername1"),
			VmSize:              pulumi.String("Standard_DS2_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    enable_fips=True,
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_DS2_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    enableFIPS: true,
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_DS2_v2",
});

Create Agent Pool with GPUMIG

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            GpuInstanceProfile = "MIG2g",
            KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
            {
                AllowedUnsafeSysctls = 
                {
                    "kernel.msg*",
                    "net.core.somaxconn",
                },
                CpuCfsQuota = true,
                CpuCfsQuotaPeriod = "200ms",
                CpuManagerPolicy = "static",
                FailSwapOn = false,
                ImageGcHighThreshold = 90,
                ImageGcLowThreshold = 70,
                TopologyManagerPolicy = "best-effort",
            },
            LinuxOSConfig = new AzureNative.ContainerService.Inputs.LinuxOSConfigArgs
            {
                SwapFileSizeMB = 1500,
                Sysctls = new AzureNative.ContainerService.Inputs.SysctlConfigArgs
                {
                    KernelThreadsMax = 99999,
                    NetCoreWmemDefault = 12345,
                    NetIpv4IpLocalPortRange = "20000 60000",
                    NetIpv4TcpTwReuse = true,
                },
                TransparentHugePageDefrag = "madvise",
                TransparentHugePageEnabled = "always",
            },
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_ND96asr_v4",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName:      pulumi.String("agentpool1"),
			Count:              pulumi.Int(3),
			GpuInstanceProfile: pulumi.String("MIG2g"),
			KubeletConfig: &containerservice.KubeletConfigArgs{
				AllowedUnsafeSysctls: pulumi.StringArray{
					pulumi.String("kernel.msg*"),
					pulumi.String("net.core.somaxconn"),
				},
				CpuCfsQuota:           pulumi.Bool(true),
				CpuCfsQuotaPeriod:     pulumi.String("200ms"),
				CpuManagerPolicy:      pulumi.String("static"),
				FailSwapOn:            pulumi.Bool(false),
				ImageGcHighThreshold:  pulumi.Int(90),
				ImageGcLowThreshold:   pulumi.Int(70),
				TopologyManagerPolicy: pulumi.String("best-effort"),
			},
			LinuxOSConfig: &containerservice.LinuxOSConfigArgs{
				SwapFileSizeMB: pulumi.Int(1500),
				Sysctls: &containerservice.SysctlConfigArgs{
					KernelThreadsMax:        pulumi.Int(99999),
					NetCoreWmemDefault:      pulumi.Int(12345),
					NetIpv4IpLocalPortRange: pulumi.String("20000 60000"),
					NetIpv4TcpTwReuse:       pulumi.Bool(true),
				},
				TransparentHugePageDefrag:  pulumi.String("madvise"),
				TransparentHugePageEnabled: pulumi.String("always"),
			},
			OrchestratorVersion: pulumi.String(""),
			OsType:              pulumi.String("Linux"),
			ResourceGroupName:   pulumi.String("rg1"),
			ResourceName:        pulumi.String("clustername1"),
			VmSize:              pulumi.String("Standard_ND96asr_v4"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    gpu_instance_profile="MIG2g",
    kubelet_config=azure_native.containerservice.KubeletConfigArgs(
        allowed_unsafe_sysctls=[
            "kernel.msg*",
            "net.core.somaxconn",
        ],
        cpu_cfs_quota=True,
        cpu_cfs_quota_period="200ms",
        cpu_manager_policy="static",
        fail_swap_on=False,
        image_gc_high_threshold=90,
        image_gc_low_threshold=70,
        topology_manager_policy="best-effort",
    ),
    linux_os_config=azure_native.containerservice.LinuxOSConfigArgs(
        swap_file_size_mb=1500,
        sysctls=azure_native.containerservice.SysctlConfigArgs(
            kernel_threads_max=99999,
            net_core_wmem_default=12345,
            net_ipv4_ip_local_port_range="20000 60000",
            net_ipv4_tcp_tw_reuse=True,
        ),
        transparent_huge_page_defrag="madvise",
        transparent_huge_page_enabled="always",
    ),
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_ND96asr_v4")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    gpuInstanceProfile: "MIG2g",
    kubeletConfig: {
        allowedUnsafeSysctls: [
            "kernel.msg*",
            "net.core.somaxconn",
        ],
        cpuCfsQuota: true,
        cpuCfsQuotaPeriod: "200ms",
        cpuManagerPolicy: "static",
        failSwapOn: false,
        imageGcHighThreshold: 90,
        imageGcLowThreshold: 70,
        topologyManagerPolicy: "best-effort",
    },
    linuxOSConfig: {
        swapFileSizeMB: 1500,
        sysctls: {
            kernelThreadsMax: 99999,
            netCoreWmemDefault: 12345,
            netIpv4IpLocalPortRange: "20000 60000",
            netIpv4TcpTwReuse: true,
        },
        transparentHugePageDefrag: "madvise",
        transparentHugePageEnabled: "always",
    },
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_ND96asr_v4",
});

Create Agent Pool with KubeletConfig and LinuxOSConfig

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
            {
                AllowedUnsafeSysctls = 
                {
                    "kernel.msg*",
                    "net.core.somaxconn",
                },
                CpuCfsQuota = true,
                CpuCfsQuotaPeriod = "200ms",
                CpuManagerPolicy = "static",
                FailSwapOn = false,
                ImageGcHighThreshold = 90,
                ImageGcLowThreshold = 70,
                TopologyManagerPolicy = "best-effort",
            },
            LinuxOSConfig = new AzureNative.ContainerService.Inputs.LinuxOSConfigArgs
            {
                SwapFileSizeMB = 1500,
                Sysctls = new AzureNative.ContainerService.Inputs.SysctlConfigArgs
                {
                    KernelThreadsMax = 99999,
                    NetCoreWmemDefault = 12345,
                    NetIpv4IpLocalPortRange = "20000 60000",
                    NetIpv4TcpTwReuse = true,
                },
                TransparentHugePageDefrag = "madvise",
                TransparentHugePageEnabled = "always",
            },
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_DS2_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName: pulumi.String("agentpool1"),
			Count:         pulumi.Int(3),
			KubeletConfig: &containerservice.KubeletConfigArgs{
				AllowedUnsafeSysctls: pulumi.StringArray{
					pulumi.String("kernel.msg*"),
					pulumi.String("net.core.somaxconn"),
				},
				CpuCfsQuota:           pulumi.Bool(true),
				CpuCfsQuotaPeriod:     pulumi.String("200ms"),
				CpuManagerPolicy:      pulumi.String("static"),
				FailSwapOn:            pulumi.Bool(false),
				ImageGcHighThreshold:  pulumi.Int(90),
				ImageGcLowThreshold:   pulumi.Int(70),
				TopologyManagerPolicy: pulumi.String("best-effort"),
			},
			LinuxOSConfig: &containerservice.LinuxOSConfigArgs{
				SwapFileSizeMB: pulumi.Int(1500),
				Sysctls: &containerservice.SysctlConfigArgs{
					KernelThreadsMax:        pulumi.Int(99999),
					NetCoreWmemDefault:      pulumi.Int(12345),
					NetIpv4IpLocalPortRange: pulumi.String("20000 60000"),
					NetIpv4TcpTwReuse:       pulumi.Bool(true),
				},
				TransparentHugePageDefrag:  pulumi.String("madvise"),
				TransparentHugePageEnabled: pulumi.String("always"),
			},
			OrchestratorVersion: pulumi.String(""),
			OsType:              pulumi.String("Linux"),
			ResourceGroupName:   pulumi.String("rg1"),
			ResourceName:        pulumi.String("clustername1"),
			VmSize:              pulumi.String("Standard_DS2_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    kubelet_config=azure_native.containerservice.KubeletConfigArgs(
        allowed_unsafe_sysctls=[
            "kernel.msg*",
            "net.core.somaxconn",
        ],
        cpu_cfs_quota=True,
        cpu_cfs_quota_period="200ms",
        cpu_manager_policy="static",
        fail_swap_on=False,
        image_gc_high_threshold=90,
        image_gc_low_threshold=70,
        topology_manager_policy="best-effort",
    ),
    linux_os_config=azure_native.containerservice.LinuxOSConfigArgs(
        swap_file_size_mb=1500,
        sysctls=azure_native.containerservice.SysctlConfigArgs(
            kernel_threads_max=99999,
            net_core_wmem_default=12345,
            net_ipv4_ip_local_port_range="20000 60000",
            net_ipv4_tcp_tw_reuse=True,
        ),
        transparent_huge_page_defrag="madvise",
        transparent_huge_page_enabled="always",
    ),
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_DS2_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    kubeletConfig: {
        allowedUnsafeSysctls: [
            "kernel.msg*",
            "net.core.somaxconn",
        ],
        cpuCfsQuota: true,
        cpuCfsQuotaPeriod: "200ms",
        cpuManagerPolicy: "static",
        failSwapOn: false,
        imageGcHighThreshold: 90,
        imageGcLowThreshold: 70,
        topologyManagerPolicy: "best-effort",
    },
    linuxOSConfig: {
        swapFileSizeMB: 1500,
        sysctls: {
            kernelThreadsMax: 99999,
            netCoreWmemDefault: 12345,
            netIpv4IpLocalPortRange: "20000 60000",
            netIpv4TcpTwReuse: true,
        },
        transparentHugePageDefrag: "madvise",
        transparentHugePageEnabled: "always",
    },
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_DS2_v2",
});

Create Agent Pool with OSSKU

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
            {
                AllowedUnsafeSysctls = 
                {
                    "kernel.msg*",
                    "net.core.somaxconn",
                },
                CpuCfsQuota = true,
                CpuCfsQuotaPeriod = "200ms",
                CpuManagerPolicy = "static",
                FailSwapOn = false,
                ImageGcHighThreshold = 90,
                ImageGcLowThreshold = 70,
                TopologyManagerPolicy = "best-effort",
            },
            LinuxOSConfig = new AzureNative.ContainerService.Inputs.LinuxOSConfigArgs
            {
                SwapFileSizeMB = 1500,
                Sysctls = new AzureNative.ContainerService.Inputs.SysctlConfigArgs
                {
                    KernelThreadsMax = 99999,
                    NetCoreWmemDefault = 12345,
                    NetIpv4IpLocalPortRange = "20000 60000",
                    NetIpv4TcpTwReuse = true,
                },
                TransparentHugePageDefrag = "madvise",
                TransparentHugePageEnabled = "always",
            },
            OrchestratorVersion = "",
            OsSKU = "CBLMariner",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_DS2_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName: pulumi.String("agentpool1"),
			Count:         pulumi.Int(3),
			KubeletConfig: &containerservice.KubeletConfigArgs{
				AllowedUnsafeSysctls: pulumi.StringArray{
					pulumi.String("kernel.msg*"),
					pulumi.String("net.core.somaxconn"),
				},
				CpuCfsQuota:           pulumi.Bool(true),
				CpuCfsQuotaPeriod:     pulumi.String("200ms"),
				CpuManagerPolicy:      pulumi.String("static"),
				FailSwapOn:            pulumi.Bool(false),
				ImageGcHighThreshold:  pulumi.Int(90),
				ImageGcLowThreshold:   pulumi.Int(70),
				TopologyManagerPolicy: pulumi.String("best-effort"),
			},
			LinuxOSConfig: &containerservice.LinuxOSConfigArgs{
				SwapFileSizeMB: pulumi.Int(1500),
				Sysctls: &containerservice.SysctlConfigArgs{
					KernelThreadsMax:        pulumi.Int(99999),
					NetCoreWmemDefault:      pulumi.Int(12345),
					NetIpv4IpLocalPortRange: pulumi.String("20000 60000"),
					NetIpv4TcpTwReuse:       pulumi.Bool(true),
				},
				TransparentHugePageDefrag:  pulumi.String("madvise"),
				TransparentHugePageEnabled: pulumi.String("always"),
			},
			OrchestratorVersion: pulumi.String(""),
			OsSKU:               pulumi.String("CBLMariner"),
			OsType:              pulumi.String("Linux"),
			ResourceGroupName:   pulumi.String("rg1"),
			ResourceName:        pulumi.String("clustername1"),
			VmSize:              pulumi.String("Standard_DS2_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    kubelet_config=azure_native.containerservice.KubeletConfigArgs(
        allowed_unsafe_sysctls=[
            "kernel.msg*",
            "net.core.somaxconn",
        ],
        cpu_cfs_quota=True,
        cpu_cfs_quota_period="200ms",
        cpu_manager_policy="static",
        fail_swap_on=False,
        image_gc_high_threshold=90,
        image_gc_low_threshold=70,
        topology_manager_policy="best-effort",
    ),
    linux_os_config=azure_native.containerservice.LinuxOSConfigArgs(
        swap_file_size_mb=1500,
        sysctls=azure_native.containerservice.SysctlConfigArgs(
            kernel_threads_max=99999,
            net_core_wmem_default=12345,
            net_ipv4_ip_local_port_range="20000 60000",
            net_ipv4_tcp_tw_reuse=True,
        ),
        transparent_huge_page_defrag="madvise",
        transparent_huge_page_enabled="always",
    ),
    orchestrator_version="",
    os_sku="CBLMariner",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_DS2_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    kubeletConfig: {
        allowedUnsafeSysctls: [
            "kernel.msg*",
            "net.core.somaxconn",
        ],
        cpuCfsQuota: true,
        cpuCfsQuotaPeriod: "200ms",
        cpuManagerPolicy: "static",
        failSwapOn: false,
        imageGcHighThreshold: 90,
        imageGcLowThreshold: 70,
        topologyManagerPolicy: "best-effort",
    },
    linuxOSConfig: {
        swapFileSizeMB: 1500,
        sysctls: {
            kernelThreadsMax: 99999,
            netCoreWmemDefault: 12345,
            netIpv4IpLocalPortRange: "20000 60000",
            netIpv4TcpTwReuse: true,
        },
        transparentHugePageDefrag: "madvise",
        transparentHugePageEnabled: "always",
    },
    orchestratorVersion: "",
    osSKU: "CBLMariner",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_DS2_v2",
});

Create Agent Pool with PPG

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            OrchestratorVersion = "",
            OsType = "Linux",
            ProximityPlacementGroupID = "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            VmSize = "Standard_DS2_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName:             pulumi.String("agentpool1"),
			Count:                     pulumi.Int(3),
			OrchestratorVersion:       pulumi.String(""),
			OsType:                    pulumi.String("Linux"),
			ProximityPlacementGroupID: pulumi.String("/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1"),
			ResourceGroupName:         pulumi.String("rg1"),
			ResourceName:              pulumi.String("clustername1"),
			VmSize:                    pulumi.String("Standard_DS2_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    orchestrator_version="",
    os_type="Linux",
    proximity_placement_group_id="/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1",
    resource_group_name="rg1",
    resource_name="clustername1",
    vm_size="Standard_DS2_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    orchestratorVersion: "",
    osType: "Linux",
    proximityPlacementGroupID: "/subscriptions/subid1/resourcegroups/rg1/providers//Microsoft.Compute/proximityPlacementGroups/ppg1",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    vmSize: "Standard_DS2_v2",
});

Create Spot Agent Pool

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            NodeLabels = 
            {
                { "key1", "val1" },
            },
            NodeTaints = 
            {
                "Key1=Value1:NoSchedule",
            },
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            ScaleSetEvictionPolicy = "Delete",
            ScaleSetPriority = "Spot",
            Tags = 
            {
                { "name1", "val1" },
            },
            VmSize = "Standard_DS1_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName: pulumi.String("agentpool1"),
			Count:         pulumi.Int(3),
			NodeLabels: pulumi.StringMap{
				"key1": pulumi.String("val1"),
			},
			NodeTaints: pulumi.StringArray{
				pulumi.String("Key1=Value1:NoSchedule"),
			},
			OrchestratorVersion:    pulumi.String(""),
			OsType:                 pulumi.String("Linux"),
			ResourceGroupName:      pulumi.String("rg1"),
			ResourceName:           pulumi.String("clustername1"),
			ScaleSetEvictionPolicy: pulumi.String("Delete"),
			ScaleSetPriority:       pulumi.String("Spot"),
			Tags: pulumi.StringMap{
				"name1": pulumi.String("val1"),
			},
			VmSize: pulumi.String("Standard_DS1_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    node_labels={
        "key1": "val1",
    },
    node_taints=["Key1=Value1:NoSchedule"],
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    scale_set_eviction_policy="Delete",
    scale_set_priority="Spot",
    tags={
        "name1": "val1",
    },
    vm_size="Standard_DS1_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    nodeLabels: {
        key1: "val1",
    },
    nodeTaints: ["Key1=Value1:NoSchedule"],
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    scaleSetEvictionPolicy: "Delete",
    scaleSetPriority: "Spot",
    tags: {
        name1: "val1",
    },
    vmSize: "Standard_DS1_v2",
});

Create/Update Agent Pool

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            Mode = "User",
            NodeLabels = 
            {
                { "key1", "val1" },
            },
            NodeTaints = 
            {
                "Key1=Value1:NoSchedule",
            },
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            ScaleSetEvictionPolicy = "Delete",
            ScaleSetPriority = "Spot",
            Tags = 
            {
                { "name1", "val1" },
            },
            VmSize = "Standard_DS1_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName: pulumi.String("agentpool1"),
			Count:         pulumi.Int(3),
			Mode:          pulumi.String("User"),
			NodeLabels: pulumi.StringMap{
				"key1": pulumi.String("val1"),
			},
			NodeTaints: pulumi.StringArray{
				pulumi.String("Key1=Value1:NoSchedule"),
			},
			OrchestratorVersion:    pulumi.String(""),
			OsType:                 pulumi.String("Linux"),
			ResourceGroupName:      pulumi.String("rg1"),
			ResourceName:           pulumi.String("clustername1"),
			ScaleSetEvictionPolicy: pulumi.String("Delete"),
			ScaleSetPriority:       pulumi.String("Spot"),
			Tags: pulumi.StringMap{
				"name1": pulumi.String("val1"),
			},
			VmSize: pulumi.String("Standard_DS1_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    mode="User",
    node_labels={
        "key1": "val1",
    },
    node_taints=["Key1=Value1:NoSchedule"],
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    scale_set_eviction_policy="Delete",
    scale_set_priority="Spot",
    tags={
        "name1": "val1",
    },
    vm_size="Standard_DS1_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    mode: "User",
    nodeLabels: {
        key1: "val1",
    },
    nodeTaints: ["Key1=Value1:NoSchedule"],
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    scaleSetEvictionPolicy: "Delete",
    scaleSetPriority: "Spot",
    tags: {
        name1: "val1",
    },
    vmSize: "Standard_DS1_v2",
});

Update Agent Pool

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new AzureNative.ContainerService.AgentPoolArgs
        {
            AgentPoolName = "agentpool1",
            Count = 3,
            EnableAutoScaling = true,
            MaxCount = 2,
            MinCount = 2,
            NodeTaints = 
            {
                "Key1=Value1:NoSchedule",
            },
            OrchestratorVersion = "",
            OsType = "Linux",
            ResourceGroupName = "rg1",
            ResourceName = "clustername1",
            ScaleSetEvictionPolicy = "Delete",
            ScaleSetPriority = "Spot",
            VmSize = "Standard_DS1_v2",
        });
    }

}

package main

import (
	containerservice "github.com/pulumi/pulumi-azure-native/sdk/go/azure/containerservice"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerservice.NewAgentPool(ctx, "agentPool", &containerservice.AgentPoolArgs{
			AgentPoolName:     pulumi.String("agentpool1"),
			Count:             pulumi.Int(3),
			EnableAutoScaling: pulumi.Bool(true),
			MaxCount:          pulumi.Int(2),
			MinCount:          pulumi.Int(2),
			NodeTaints: pulumi.StringArray{
				pulumi.String("Key1=Value1:NoSchedule"),
			},
			OrchestratorVersion:    pulumi.String(""),
			OsType:                 pulumi.String("Linux"),
			ResourceGroupName:      pulumi.String("rg1"),
			ResourceName:           pulumi.String("clustername1"),
			ScaleSetEvictionPolicy: pulumi.String("Delete"),
			ScaleSetPriority:       pulumi.String("Spot"),
			VmSize:                 pulumi.String("Standard_DS1_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

import pulumi
import pulumi_azure_native as azure_native

agent_pool = azure_native.containerservice.AgentPool("agentPool",
    agent_pool_name="agentpool1",
    count=3,
    enable_auto_scaling=True,
    max_count=2,
    min_count=2,
    node_taints=["Key1=Value1:NoSchedule"],
    orchestrator_version="",
    os_type="Linux",
    resource_group_name="rg1",
    resource_name="clustername1",
    scale_set_eviction_policy="Delete",
    scale_set_priority="Spot",
    vm_size="Standard_DS1_v2")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
    agentPoolName: "agentpool1",
    count: 3,
    enableAutoScaling: true,
    maxCount: 2,
    minCount: 2,
    nodeTaints: ["Key1=Value1:NoSchedule"],
    orchestratorVersion: "",
    osType: "Linux",
    resourceGroupName: "rg1",
    resourceName: "clustername1",
    scaleSetEvictionPolicy: "Delete",
    scaleSetPriority: "Spot",
    vmSize: "Standard_DS1_v2",
});

Create a AgentPool Resource

new AgentPool(name: string, args: AgentPoolArgs, opts?: CustomResourceOptions);
@overload
def AgentPool(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              agent_pool_name: Optional[str] = None,
              availability_zones: Optional[Sequence[str]] = None,
              count: Optional[int] = None,
              enable_auto_scaling: Optional[bool] = None,
              enable_encryption_at_host: Optional[bool] = None,
              enable_fips: Optional[bool] = None,
              enable_node_public_ip: Optional[bool] = None,
              gpu_instance_profile: Optional[Union[str, GPUInstanceProfile]] = None,
              kubelet_config: Optional[KubeletConfigArgs] = None,
              kubelet_disk_type: Optional[Union[str, KubeletDiskType]] = None,
              linux_os_config: Optional[LinuxOSConfigArgs] = None,
              max_count: Optional[int] = None,
              max_pods: Optional[int] = None,
              min_count: Optional[int] = None,
              mode: Optional[Union[str, AgentPoolMode]] = None,
              node_labels: Optional[Mapping[str, str]] = 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[Union[str, OSDiskType]] = None,
              os_sku: Optional[Union[str, OSSKU]] = None,
              os_type: Optional[Union[str, OSType]] = None,
              pod_subnet_id: Optional[str] = None,
              proximity_placement_group_id: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              resource_name_: Optional[str] = None,
              scale_set_eviction_policy: Optional[Union[str, ScaleSetEvictionPolicy]] = None,
              scale_set_priority: Optional[Union[str, ScaleSetPriority]] = None,
              spot_max_price: Optional[float] = None,
              tags: Optional[Mapping[str, str]] = None,
              type: Optional[Union[str, AgentPoolType]] = None,
              upgrade_settings: Optional[AgentPoolUpgradeSettingsArgs] = None,
              vm_size: Optional[str] = None,
              vnet_subnet_id: Optional[str] = None)
@overload
def AgentPool(resource_name: str,
              args: AgentPoolArgs,
              opts: Optional[ResourceOptions] = None)
func NewAgentPool(ctx *Context, name string, args AgentPoolArgs, opts ...ResourceOption) (*AgentPool, error)
public AgentPool(string name, AgentPoolArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AgentPoolArgs
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 AgentPoolArgs
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 AgentPoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AgentPoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AgentPool Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AgentPool resource accepts the following input properties:

ResourceGroupName string
The name of the resource group.
ResourceName string
The name of the managed cluster resource.
AgentPoolName string
The name of the agent pool.
AvailabilityZones List<string>
Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType.
Count int
Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1.
EnableAutoScaling bool
Whether to enable auto-scaler
EnableEncryptionAtHost bool
Whether to enable EncryptionAtHost
EnableFIPS bool
Whether to use FIPS enabled OS
EnableNodePublicIP bool
Enable public IP for nodes
GpuInstanceProfile string | Pulumi.AzureNative.ContainerService.GPUInstanceProfile
GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g.
KubeletConfig Pulumi.AzureNative.ContainerService.Inputs.KubeletConfigArgs
KubeletConfig specifies the configuration of kubelet on agent nodes.
KubeletDiskType string | Pulumi.AzureNative.ContainerService.KubeletDiskType
KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data.
LinuxOSConfig Pulumi.AzureNative.ContainerService.Inputs.LinuxOSConfigArgs
LinuxOSConfig specifies the OS configuration of linux agent nodes.
MaxCount int
Maximum number of nodes for auto-scaling
MaxPods int
Maximum number of pods that can run on a node.
MinCount int
Minimum number of nodes for auto-scaling
Mode string | Pulumi.AzureNative.ContainerService.AgentPoolMode
AgentPoolMode represents mode of an agent pool
NodeLabels Dictionary<string, string>
Agent pool node labels to be persisted across all nodes in agent pool.
NodePublicIPPrefixID string
Public IP Prefix ID. VM nodes use IPs assigned from this Public IP Prefix.
NodeTaints List<string>
Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
OrchestratorVersion string
Version of orchestrator specified when creating the managed cluster.
OsDiskSizeGB int
OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
OsDiskType string | Pulumi.AzureNative.ContainerService.OSDiskType
OS disk type to be used for machines in a given agent pool. Allowed values are ‘Ephemeral’ and ‘Managed’. If unspecified, defaults to ‘Ephemeral’ when the VM supports ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to ‘Managed’. May not be changed after creation.
OsSKU string | Pulumi.AzureNative.ContainerService.OSSKU
OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner for Linux OSType. Not applicable to Windows OSType.
OsType string | Pulumi.AzureNative.ContainerService.OSType
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
PodSubnetID string
Pod SubnetID specifies the VNet’s subnet identifier for pods.
ProximityPlacementGroupID string
The ID for Proximity Placement Group.
ScaleSetEvictionPolicy string | Pulumi.AzureNative.ContainerService.ScaleSetEvictionPolicy
ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete.
ScaleSetPriority string | Pulumi.AzureNative.ContainerService.ScaleSetPriority
ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
SpotMaxPrice double
SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.
Tags Dictionary<string, string>
Agent pool tags to be persisted on the agent pool virtual machine scale set.
Type string | Pulumi.AzureNative.ContainerService.AgentPoolType
AgentPoolType represents types of an agent pool
UpgradeSettings Pulumi.AzureNative.ContainerService.Inputs.AgentPoolUpgradeSettingsArgs
Settings for upgrading the agentpool
VmSize string
Size of agent VMs.
VnetSubnetID string
VNet SubnetID specifies the VNet’s subnet identifier for nodes and maybe pods
ResourceGroupName string
The name of the resource group.
ResourceName string
The name of the managed cluster resource.
AgentPoolName string
The name of the agent pool.
AvailabilityZones []string
Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType.
Count int
Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1.
EnableAutoScaling bool
Whether to enable auto-scaler
EnableEncryptionAtHost bool
Whether to enable EncryptionAtHost
EnableFIPS bool
Whether to use FIPS enabled OS
EnableNodePublicIP bool
Enable public IP for nodes
GpuInstanceProfile string | GPUInstanceProfile
GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g.
KubeletConfig KubeletConfigArgs
KubeletConfig specifies the configuration of kubelet on agent nodes.
KubeletDiskType string | KubeletDiskType
KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data.
LinuxOSConfig LinuxOSConfigArgs
LinuxOSConfig specifies the OS configuration of linux agent nodes.
MaxCount int
Maximum number of nodes for auto-scaling
MaxPods int
Maximum number of pods that can run on a node.
MinCount int
Minimum number of nodes for auto-scaling
Mode string | AgentPoolMode
AgentPoolMode represents mode of an agent pool
NodeLabels map[string]string
Agent pool node labels to be persisted across all nodes in agent pool.
NodePublicIPPrefixID string
Public IP Prefix ID. VM nodes use IPs assigned from this Public IP Prefix.
NodeTaints []string
Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
OrchestratorVersion string
Version of orchestrator specified when creating the managed cluster.
OsDiskSizeGB int
OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
OsDiskType string | OSDiskType
OS disk type to be used for machines in a given agent pool. Allowed values are ‘Ephemeral’ and ‘Managed’. If unspecified, defaults to ‘Ephemeral’ when the VM supports ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to ‘Managed’. May not be changed after creation.
OsSKU string | OSSKU
OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner for Linux OSType. Not applicable to Windows OSType.
OsType string | OSType
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
PodSubnetID string
Pod SubnetID specifies the VNet’s subnet identifier for pods.
ProximityPlacementGroupID string
The ID for Proximity Placement Group.
ScaleSetEvictionPolicy string | ScaleSetEvictionPolicy
ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete.
ScaleSetPriority string | ScaleSetPriority
ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
SpotMaxPrice float64
SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.
Tags map[string]string
Agent pool tags to be persisted on the agent pool virtual machine scale set.
Type string | AgentPoolType
AgentPoolType represents types of an agent pool
UpgradeSettings AgentPoolUpgradeSettingsArgs
Settings for upgrading the agentpool
VmSize string
Size of agent VMs.
VnetSubnetID string
VNet SubnetID specifies the VNet’s subnet identifier for nodes and maybe pods
resourceGroupName string
The name of the resource group.
resourceName string
The name of the managed cluster resource.
agentPoolName string
The name of the agent pool.
availabilityZones string[]
Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType.
count number
Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1.
enableAutoScaling boolean
Whether to enable auto-scaler
enableEncryptionAtHost boolean
Whether to enable EncryptionAtHost
enableFIPS boolean
Whether to use FIPS enabled OS
enableNodePublicIP boolean
Enable public IP for nodes
gpuInstanceProfile string | GPUInstanceProfile
GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g.
kubeletConfig KubeletConfigArgs
KubeletConfig specifies the configuration of kubelet on agent nodes.
kubeletDiskType string | KubeletDiskType
KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data.
linuxOSConfig LinuxOSConfigArgs
LinuxOSConfig specifies the OS configuration of linux agent nodes.
maxCount number
Maximum number of nodes for auto-scaling
maxPods number
Maximum number of pods that can run on a node.
minCount number
Minimum number of nodes for auto-scaling
mode string | AgentPoolMode
AgentPoolMode represents mode of an agent pool
nodeLabels {[key: string]: string}
Agent pool node labels to be persisted across all nodes in agent pool.
nodePublicIPPrefixID string
Public IP Prefix ID. VM nodes use IPs assigned from this Public IP Prefix.
nodeTaints string[]
Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
orchestratorVersion string
Version of orchestrator specified when creating the managed cluster.
osDiskSizeGB number
OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
osDiskType string | OSDiskType
OS disk type to be used for machines in a given agent pool. Allowed values are ‘Ephemeral’ and ‘Managed’. If unspecified, defaults to ‘Ephemeral’ when the VM supports ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to ‘Managed’. May not be changed after creation.
osSKU string | OSSKU
OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner for Linux OSType. Not applicable to Windows OSType.
osType string | OSType
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
podSubnetID string
Pod SubnetID specifies the VNet’s subnet identifier for pods.
proximityPlacementGroupID string
The ID for Proximity Placement Group.
scaleSetEvictionPolicy string | ScaleSetEvictionPolicy
ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete.
scaleSetPriority string | ScaleSetPriority
ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
spotMaxPrice number
SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.
tags {[key: string]: string}
Agent pool tags to be persisted on the agent pool virtual machine scale set.
type string | AgentPoolType
AgentPoolType represents types of an agent pool
upgradeSettings AgentPoolUpgradeSettingsArgs
Settings for upgrading the agentpool
vmSize string
Size of agent VMs.
vnetSubnetID string
VNet SubnetID specifies the VNet’s subnet identifier for nodes and maybe pods
resource_group_name str
The name of the resource group.
resource_name str
The name of the managed cluster resource.
agent_pool_name str
The name of the agent pool.
availability_zones Sequence[str]
Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType.
count int
Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1.
enable_auto_scaling bool
Whether to enable auto-scaler
enable_encryption_at_host bool
Whether to enable EncryptionAtHost
enable_fips bool
Whether to use FIPS enabled OS
enable_node_public_ip bool
Enable public IP for nodes
gpu_instance_profile str | GPUInstanceProfile
GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g.
kubelet_config KubeletConfigArgs
KubeletConfig specifies the configuration of kubelet on agent nodes.
kubelet_disk_type str | KubeletDiskType
KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data.
linux_os_config LinuxOSConfigArgs
LinuxOSConfig specifies the OS configuration of linux agent nodes.
max_count int
Maximum number of nodes for auto-scaling
max_pods int
Maximum number of pods that can run on a node.
min_count int
Minimum number of nodes for auto-scaling
mode str | AgentPoolMode
AgentPoolMode represents mode of an agent pool
node_labels Mapping[str, str]
Agent pool node labels to be persisted across all nodes in agent pool.
node_public_ip_prefix_id str
Public IP Prefix ID. VM nodes use IPs assigned from this Public IP Prefix.
node_taints Sequence[str]
Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
orchestrator_version str
Version of orchestrator specified when creating the managed cluster.
os_disk_size_gb int
OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
os_disk_type str | OSDiskType
OS disk type to be used for machines in a given agent pool. Allowed values are ‘Ephemeral’ and ‘Managed’. If unspecified, defaults to ‘Ephemeral’ when the VM supports ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to ‘Managed’. May not be changed after creation.
os_sku str | OSSKU
OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner for Linux OSType. Not applicable to Windows OSType.
os_type str | OSType
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux.
pod_subnet_id str
Pod SubnetID specifies the VNet’s subnet identifier for pods.
proximity_placement_group_id str
The ID for Proximity Placement Group.
scale_set_eviction_policy str | ScaleSetEvictionPolicy
ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete.
scale_set_priority str | ScaleSetPriority
ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
spot_max_price float
SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand.
tags Mapping[str, str]
Agent pool tags to be persisted on the agent pool virtual machine scale set.
type str | AgentPoolType
AgentPoolType represents types of an agent pool
upgrade_settings AgentPoolUpgradeSettingsArgs
Settings for upgrading the agentpool
vm_size str
Size of agent VMs.
vnet_subnet_id str
VNet SubnetID specifies the VNet’s subnet identifier for nodes and maybe pods

Outputs

All input properties are implicitly available as output properties. Additionally, the AgentPool resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
NodeImageVersion string
Version of node image
PowerState Pulumi.AzureNative.ContainerService.Outputs.PowerStateResponse
Describes whether the Agent Pool is Running or Stopped
ProvisioningState string
The current deployment or provisioning state, which only appears in the response.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
NodeImageVersion string
Version of node image
PowerState PowerStateResponse
Describes whether the Agent Pool is Running or Stopped
ProvisioningState string
The current deployment or provisioning state, which only appears in the response.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
nodeImageVersion string
Version of node image
powerState PowerStateResponse
Describes whether the Agent Pool is Running or Stopped
provisioningState string
The current deployment or provisioning state, which only appears in the response.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
node_image_version str
Version of node image
power_state PowerStateResponse
Describes whether the Agent Pool is Running or Stopped
provisioning_state str
The current deployment or provisioning state, which only appears in the response.

Supporting Types

AgentPoolMode

System
System
User
User
AgentPoolModeSystem
System
AgentPoolModeUser
User
System
System
User
User
SYSTEM
System
USER
User

AgentPoolType

VirtualMachineScaleSets
VirtualMachineScaleSets
AvailabilitySet
AvailabilitySet
AgentPoolTypeVirtualMachineScaleSets
VirtualMachineScaleSets
AgentPoolTypeAvailabilitySet
AvailabilitySet
VirtualMachineScaleSets
VirtualMachineScaleSets
AvailabilitySet
AvailabilitySet
VIRTUAL_MACHINE_SCALE_SETS
VirtualMachineScaleSets
AVAILABILITY_SET
AvailabilitySet

AgentPoolUpgradeSettings

MaxSurge string
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default
MaxSurge string
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default
maxSurge string
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default
max_surge str
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default

AgentPoolUpgradeSettingsResponse

MaxSurge string
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default
MaxSurge string
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default
maxSurge string
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default
max_surge str
Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default

GPUInstanceProfile

MIG1g
MIG1g
MIG2g
MIG2g
MIG3g
MIG3g
MIG4g
MIG4g
MIG7g
MIG7g
GPUInstanceProfileMIG1g
MIG1g
GPUInstanceProfileMIG2g
MIG2g
GPUInstanceProfileMIG3g
MIG3g
GPUInstanceProfileMIG4g
MIG4g
GPUInstanceProfileMIG7g
MIG7g
MIG1g
MIG1g
MIG2g
MIG2g
MIG3g
MIG3g
MIG4g
MIG4g
MIG7g
MIG7g
MIG1G
MIG1g
MIG2G
MIG2g
MIG3G
MIG3g
MIG4G
MIG4g
MIG7G
MIG7g

KubeletConfig

AllowedUnsafeSysctls List<string>
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
ContainerLogMaxFiles int
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
ContainerLogMaxSizeMB int
The maximum size (e.g. 10Mi) of container log file before it is rotated.
CpuCfsQuota bool
Enable CPU CFS quota enforcement for containers that specify CPU limits.
CpuCfsQuotaPeriod string
Sets CPU CFS quota period value.
CpuManagerPolicy string
CPU Manager policy to use.
FailSwapOn bool
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
ImageGcHighThreshold int
The percent of disk usage after which image garbage collection is always run.
ImageGcLowThreshold int
The percent of disk usage before which image garbage collection is never run.
PodMaxPids int
The maximum number of processes per pod.
TopologyManagerPolicy string
Topology Manager policy to use.
AllowedUnsafeSysctls []string
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
ContainerLogMaxFiles int
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
ContainerLogMaxSizeMB int
The maximum size (e.g. 10Mi) of container log file before it is rotated.
CpuCfsQuota bool
Enable CPU CFS quota enforcement for containers that specify CPU limits.
CpuCfsQuotaPeriod string
Sets CPU CFS quota period value.
CpuManagerPolicy string
CPU Manager policy to use.
FailSwapOn bool
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
ImageGcHighThreshold int
The percent of disk usage after which image garbage collection is always run.
ImageGcLowThreshold int
The percent of disk usage before which image garbage collection is never run.
PodMaxPids int
The maximum number of processes per pod.
TopologyManagerPolicy string
Topology Manager policy to use.
allowedUnsafeSysctls string[]
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
containerLogMaxFiles number
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
containerLogMaxSizeMB number
The maximum size (e.g. 10Mi) of container log file before it is rotated.
cpuCfsQuota boolean
Enable CPU CFS quota enforcement for containers that specify CPU limits.
cpuCfsQuotaPeriod string
Sets CPU CFS quota period value.
cpuManagerPolicy string
CPU Manager policy to use.
failSwapOn boolean
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
imageGcHighThreshold number
The percent of disk usage after which image garbage collection is always run.
imageGcLowThreshold number
The percent of disk usage before which image garbage collection is never run.
podMaxPids number
The maximum number of processes per pod.
topologyManagerPolicy string
Topology Manager policy to use.
allowed_unsafe_sysctls Sequence[str]
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
container_log_max_files int
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
container_log_max_size_mb int
The maximum size (e.g. 10Mi) of container log file before it is rotated.
cpu_cfs_quota bool
Enable CPU CFS quota enforcement for containers that specify CPU limits.
cpu_cfs_quota_period str
Sets CPU CFS quota period value.
cpu_manager_policy str
CPU Manager policy to use.
fail_swap_on bool
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
image_gc_high_threshold int
The percent of disk usage after which image garbage collection is always run.
image_gc_low_threshold int
The percent of disk usage before which image garbage collection is never run.
pod_max_pids int
The maximum number of processes per pod.
topology_manager_policy str
Topology Manager policy to use.

KubeletConfigResponse

AllowedUnsafeSysctls List<string>
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
ContainerLogMaxFiles int
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
ContainerLogMaxSizeMB int
The maximum size (e.g. 10Mi) of container log file before it is rotated.
CpuCfsQuota bool
Enable CPU CFS quota enforcement for containers that specify CPU limits.
CpuCfsQuotaPeriod string
Sets CPU CFS quota period value.
CpuManagerPolicy string
CPU Manager policy to use.
FailSwapOn bool
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
ImageGcHighThreshold int
The percent of disk usage after which image garbage collection is always run.
ImageGcLowThreshold int
The percent of disk usage before which image garbage collection is never run.
PodMaxPids int
The maximum number of processes per pod.
TopologyManagerPolicy string
Topology Manager policy to use.
AllowedUnsafeSysctls []string
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
ContainerLogMaxFiles int
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
ContainerLogMaxSizeMB int
The maximum size (e.g. 10Mi) of container log file before it is rotated.
CpuCfsQuota bool
Enable CPU CFS quota enforcement for containers that specify CPU limits.
CpuCfsQuotaPeriod string
Sets CPU CFS quota period value.
CpuManagerPolicy string
CPU Manager policy to use.
FailSwapOn bool
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
ImageGcHighThreshold int
The percent of disk usage after which image garbage collection is always run.
ImageGcLowThreshold int
The percent of disk usage before which image garbage collection is never run.
PodMaxPids int
The maximum number of processes per pod.
TopologyManagerPolicy string
Topology Manager policy to use.
allowedUnsafeSysctls string[]
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
containerLogMaxFiles number
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
containerLogMaxSizeMB number
The maximum size (e.g. 10Mi) of container log file before it is rotated.
cpuCfsQuota boolean
Enable CPU CFS quota enforcement for containers that specify CPU limits.
cpuCfsQuotaPeriod string
Sets CPU CFS quota period value.
cpuManagerPolicy string
CPU Manager policy to use.
failSwapOn boolean
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
imageGcHighThreshold number
The percent of disk usage after which image garbage collection is always run.
imageGcLowThreshold number
The percent of disk usage before which image garbage collection is never run.
podMaxPids number
The maximum number of processes per pod.
topologyManagerPolicy string
Topology Manager policy to use.
allowed_unsafe_sysctls Sequence[str]
Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).
container_log_max_files int
The maximum number of container log files that can be present for a container. The number must be ≥ 2.
container_log_max_size_mb int
The maximum size (e.g. 10Mi) of container log file before it is rotated.
cpu_cfs_quota bool
Enable CPU CFS quota enforcement for containers that specify CPU limits.
cpu_cfs_quota_period str
Sets CPU CFS quota period value.
cpu_manager_policy str
CPU Manager policy to use.
fail_swap_on bool
If set to true it will make the Kubelet fail to start if swap is enabled on the node.
image_gc_high_threshold int
The percent of disk usage after which image garbage collection is always run.
image_gc_low_threshold int
The percent of disk usage before which image garbage collection is never run.
pod_max_pids int
The maximum number of processes per pod.
topology_manager_policy str
Topology Manager policy to use.

KubeletDiskType

OS
OS
Temporary
Temporary
KubeletDiskTypeOS
OS
KubeletDiskTypeTemporary
Temporary
OS
OS
Temporary
Temporary
OS
OS
TEMPORARY
Temporary

LinuxOSConfig

SwapFileSizeMB int
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
Sysctls Pulumi.AzureNative.ContainerService.Inputs.SysctlConfig
Sysctl settings for Linux agent nodes.
TransparentHugePageDefrag string
Transparent Huge Page defrag configuration.
TransparentHugePageEnabled string
Transparent Huge Page enabled configuration.
SwapFileSizeMB int
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
Sysctls SysctlConfig
Sysctl settings for Linux agent nodes.
TransparentHugePageDefrag string
Transparent Huge Page defrag configuration.
TransparentHugePageEnabled string
Transparent Huge Page enabled configuration.
swapFileSizeMB number
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
sysctls SysctlConfig
Sysctl settings for Linux agent nodes.
transparentHugePageDefrag string
Transparent Huge Page defrag configuration.
transparentHugePageEnabled string
Transparent Huge Page enabled configuration.
swap_file_size_mb int
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
sysctls SysctlConfig
Sysctl settings for Linux agent nodes.
transparent_huge_page_defrag str
Transparent Huge Page defrag configuration.
transparent_huge_page_enabled str
Transparent Huge Page enabled configuration.

LinuxOSConfigResponse

SwapFileSizeMB int
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
Sysctls Pulumi.AzureNative.ContainerService.Inputs.SysctlConfigResponse
Sysctl settings for Linux agent nodes.
TransparentHugePageDefrag string
Transparent Huge Page defrag configuration.
TransparentHugePageEnabled string
Transparent Huge Page enabled configuration.
SwapFileSizeMB int
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
Sysctls SysctlConfigResponse
Sysctl settings for Linux agent nodes.
TransparentHugePageDefrag string
Transparent Huge Page defrag configuration.
TransparentHugePageEnabled string
Transparent Huge Page enabled configuration.
swapFileSizeMB number
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
sysctls SysctlConfigResponse
Sysctl settings for Linux agent nodes.
transparentHugePageDefrag string
Transparent Huge Page defrag configuration.
transparentHugePageEnabled string
Transparent Huge Page enabled configuration.
swap_file_size_mb int
SwapFileSizeMB specifies size in MB of a swap file will be created on each node.
sysctls SysctlConfigResponse
Sysctl settings for Linux agent nodes.
transparent_huge_page_defrag str
Transparent Huge Page defrag configuration.
transparent_huge_page_enabled str
Transparent Huge Page enabled configuration.

OSDiskType

Managed
Managed
Ephemeral
Ephemeral
OSDiskTypeManaged
Managed
OSDiskTypeEphemeral
Ephemeral
Managed
Managed
Ephemeral
Ephemeral
MANAGED
Managed
EPHEMERAL
Ephemeral

OSSKU

Ubuntu
Ubuntu
CBLMariner
CBLMariner
OSSKUUbuntu
Ubuntu
OSSKUCBLMariner
CBLMariner
Ubuntu
Ubuntu
CBLMariner
CBLMariner
UBUNTU
Ubuntu
CBL_MARINER
CBLMariner

OSType

Linux
Linux
Windows
Windows
OSTypeLinux
Linux
OSTypeWindows
Windows
Linux
Linux
Windows
Windows
LINUX
Linux
WINDOWS
Windows

PowerStateResponse

Code string
Tells whether the cluster is Running or Stopped
Code string
Tells whether the cluster is Running or Stopped
code string
Tells whether the cluster is Running or Stopped
code str
Tells whether the cluster is Running or Stopped

ScaleSetEvictionPolicy

Delete
Delete
Deallocate
Deallocate
ScaleSetEvictionPolicyDelete
Delete
ScaleSetEvictionPolicyDeallocate
Deallocate
Delete
Delete
Deallocate
Deallocate
DELETE
Delete
DEALLOCATE
Deallocate

ScaleSetPriority

Spot
Spot
Regular
Regular
ScaleSetPrioritySpot
Spot
ScaleSetPriorityRegular
Regular
Spot
Spot
Regular
Regular
SPOT
Spot
REGULAR
Regular

SysctlConfig

FsAioMaxNr int
Sysctl setting fs.aio-max-nr.
FsFileMax int
Sysctl setting fs.file-max.
FsInotifyMaxUserWatches int
Sysctl setting fs.inotify.max_user_watches.
FsNrOpen int
Sysctl setting fs.nr_open.
KernelThreadsMax int
Sysctl setting kernel.threads-max.
NetCoreNetdevMaxBacklog int
Sysctl setting net.core.netdev_max_backlog.
NetCoreOptmemMax int
Sysctl setting net.core.optmem_max.
NetCoreRmemDefault int
Sysctl setting net.core.rmem_default.
NetCoreRmemMax int
Sysctl setting net.core.rmem_max.
NetCoreSomaxconn int
Sysctl setting net.core.somaxconn.
NetCoreWmemDefault int
Sysctl setting net.core.wmem_default.
NetCoreWmemMax int
Sysctl setting net.core.wmem_max.
NetIpv4IpLocalPortRange string
Sysctl setting net.ipv4.ip_local_port_range.
NetIpv4NeighDefaultGcThresh1 int
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
NetIpv4NeighDefaultGcThresh2 int
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
NetIpv4NeighDefaultGcThresh3 int
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
NetIpv4TcpFinTimeout int
Sysctl setting net.ipv4.tcp_fin_timeout.
NetIpv4TcpKeepaliveProbes int
Sysctl setting net.ipv4.tcp_keepalive_probes.
NetIpv4TcpKeepaliveTime int
Sysctl setting net.ipv4.tcp_keepalive_time.
NetIpv4TcpMaxSynBacklog int
Sysctl setting net.ipv4.tcp_max_syn_backlog.
NetIpv4TcpMaxTwBuckets int
Sysctl setting net.ipv4.tcp_max_tw_buckets.
NetIpv4TcpTwReuse bool
Sysctl setting net.ipv4.tcp_tw_reuse.
NetIpv4TcpkeepaliveIntvl int
Sysctl setting net.ipv4.tcp_keepalive_intvl.
NetNetfilterNfConntrackBuckets int
Sysctl setting net.netfilter.nf_conntrack_buckets.
NetNetfilterNfConntrackMax int
Sysctl setting net.netfilter.nf_conntrack_max.
VmMaxMapCount int
Sysctl setting vm.max_map_count.
VmSwappiness int
Sysctl setting vm.swappiness.
VmVfsCachePressure int
Sysctl setting vm.vfs_cache_pressure.
FsAioMaxNr int
Sysctl setting fs.aio-max-nr.
FsFileMax int
Sysctl setting fs.file-max.
FsInotifyMaxUserWatches int
Sysctl setting fs.inotify.max_user_watches.
FsNrOpen int
Sysctl setting fs.nr_open.
KernelThreadsMax int
Sysctl setting kernel.threads-max.
NetCoreNetdevMaxBacklog int
Sysctl setting net.core.netdev_max_backlog.
NetCoreOptmemMax int
Sysctl setting net.core.optmem_max.
NetCoreRmemDefault int
Sysctl setting net.core.rmem_default.
NetCoreRmemMax int
Sysctl setting net.core.rmem_max.
NetCoreSomaxconn int
Sysctl setting net.core.somaxconn.
NetCoreWmemDefault int
Sysctl setting net.core.wmem_default.
NetCoreWmemMax int
Sysctl setting net.core.wmem_max.
NetIpv4IpLocalPortRange string
Sysctl setting net.ipv4.ip_local_port_range.
NetIpv4NeighDefaultGcThresh1 int
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
NetIpv4NeighDefaultGcThresh2 int
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
NetIpv4NeighDefaultGcThresh3 int
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
NetIpv4TcpFinTimeout int
Sysctl setting net.ipv4.tcp_fin_timeout.
NetIpv4TcpKeepaliveProbes int
Sysctl setting net.ipv4.tcp_keepalive_probes.
NetIpv4TcpKeepaliveTime int
Sysctl setting net.ipv4.tcp_keepalive_time.
NetIpv4TcpMaxSynBacklog int
Sysctl setting net.ipv4.tcp_max_syn_backlog.
NetIpv4TcpMaxTwBuckets int
Sysctl setting net.ipv4.tcp_max_tw_buckets.
NetIpv4TcpTwReuse bool
Sysctl setting net.ipv4.tcp_tw_reuse.
NetIpv4TcpkeepaliveIntvl int
Sysctl setting net.ipv4.tcp_keepalive_intvl.
NetNetfilterNfConntrackBuckets int
Sysctl setting net.netfilter.nf_conntrack_buckets.
NetNetfilterNfConntrackMax int
Sysctl setting net.netfilter.nf_conntrack_max.
VmMaxMapCount int
Sysctl setting vm.max_map_count.
VmSwappiness int
Sysctl setting vm.swappiness.
VmVfsCachePressure int
Sysctl setting vm.vfs_cache_pressure.
fsAioMaxNr number
Sysctl setting fs.aio-max-nr.
fsFileMax number
Sysctl setting fs.file-max.
fsInotifyMaxUserWatches number
Sysctl setting fs.inotify.max_user_watches.
fsNrOpen number
Sysctl setting fs.nr_open.
kernelThreadsMax number
Sysctl setting kernel.threads-max.
netCoreNetdevMaxBacklog number
Sysctl setting net.core.netdev_max_backlog.
netCoreOptmemMax number
Sysctl setting net.core.optmem_max.
netCoreRmemDefault number
Sysctl setting net.core.rmem_default.
netCoreRmemMax number
Sysctl setting net.core.rmem_max.
netCoreSomaxconn number
Sysctl setting net.core.somaxconn.
netCoreWmemDefault number
Sysctl setting net.core.wmem_default.
netCoreWmemMax number
Sysctl setting net.core.wmem_max.
netIpv4IpLocalPortRange string
Sysctl setting net.ipv4.ip_local_port_range.
netIpv4NeighDefaultGcThresh1 number
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
netIpv4NeighDefaultGcThresh2 number
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
netIpv4NeighDefaultGcThresh3 number
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
netIpv4TcpFinTimeout number
Sysctl setting net.ipv4.tcp_fin_timeout.
netIpv4TcpKeepaliveProbes number
Sysctl setting net.ipv4.tcp_keepalive_probes.
netIpv4TcpKeepaliveTime number
Sysctl setting net.ipv4.tcp_keepalive_time.
netIpv4TcpMaxSynBacklog number
Sysctl setting net.ipv4.tcp_max_syn_backlog.
netIpv4TcpMaxTwBuckets number
Sysctl setting net.ipv4.tcp_max_tw_buckets.
netIpv4TcpTwReuse boolean
Sysctl setting net.ipv4.tcp_tw_reuse.
netIpv4TcpkeepaliveIntvl number
Sysctl setting net.ipv4.tcp_keepalive_intvl.
netNetfilterNfConntrackBuckets number
Sysctl setting net.netfilter.nf_conntrack_buckets.
netNetfilterNfConntrackMax number
Sysctl setting net.netfilter.nf_conntrack_max.
vmMaxMapCount number
Sysctl setting vm.max_map_count.
vmSwappiness number
Sysctl setting vm.swappiness.
vmVfsCachePressure number
Sysctl setting vm.vfs_cache_pressure.
fs_aio_max_nr int
Sysctl setting fs.aio-max-nr.
fs_file_max int
Sysctl setting fs.file-max.
fs_inotify_max_user_watches int
Sysctl setting fs.inotify.max_user_watches.
fs_nr_open int
Sysctl setting fs.nr_open.
kernel_threads_max int
Sysctl setting kernel.threads-max.
net_core_netdev_max_backlog int
Sysctl setting net.core.netdev_max_backlog.
net_core_optmem_max int
Sysctl setting net.core.optmem_max.
net_core_rmem_default int
Sysctl setting net.core.rmem_default.
net_core_rmem_max int
Sysctl setting net.core.rmem_max.
net_core_somaxconn int
Sysctl setting net.core.somaxconn.
net_core_wmem_default int
Sysctl setting net.core.wmem_default.
net_core_wmem_max int
Sysctl setting net.core.wmem_max.
net_ipv4_ip_local_port_range str
Sysctl setting net.ipv4.ip_local_port_range.
net_ipv4_neigh_default_gc_thresh1 int
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
net_ipv4_neigh_default_gc_thresh2 int
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
net_ipv4_neigh_default_gc_thresh3 int
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
net_ipv4_tcp_fin_timeout int
Sysctl setting net.ipv4.tcp_fin_timeout.
net_ipv4_tcp_keepalive_probes int
Sysctl setting net.ipv4.tcp_keepalive_probes.
net_ipv4_tcp_keepalive_time int
Sysctl setting net.ipv4.tcp_keepalive_time.
net_ipv4_tcp_max_syn_backlog int
Sysctl setting net.ipv4.tcp_max_syn_backlog.
net_ipv4_tcp_max_tw_buckets int
Sysctl setting net.ipv4.tcp_max_tw_buckets.
net_ipv4_tcp_tw_reuse bool
Sysctl setting net.ipv4.tcp_tw_reuse.
net_ipv4_tcpkeepalive_intvl int
Sysctl setting net.ipv4.tcp_keepalive_intvl.
net_netfilter_nf_conntrack_buckets int
Sysctl setting net.netfilter.nf_conntrack_buckets.
net_netfilter_nf_conntrack_max int
Sysctl setting net.netfilter.nf_conntrack_max.
vm_max_map_count int
Sysctl setting vm.max_map_count.
vm_swappiness int
Sysctl setting vm.swappiness.
vm_vfs_cache_pressure int
Sysctl setting vm.vfs_cache_pressure.

SysctlConfigResponse

FsAioMaxNr int
Sysctl setting fs.aio-max-nr.
FsFileMax int
Sysctl setting fs.file-max.
FsInotifyMaxUserWatches int
Sysctl setting fs.inotify.max_user_watches.
FsNrOpen int
Sysctl setting fs.nr_open.
KernelThreadsMax int
Sysctl setting kernel.threads-max.
NetCoreNetdevMaxBacklog int
Sysctl setting net.core.netdev_max_backlog.
NetCoreOptmemMax int
Sysctl setting net.core.optmem_max.
NetCoreRmemDefault int
Sysctl setting net.core.rmem_default.
NetCoreRmemMax int
Sysctl setting net.core.rmem_max.
NetCoreSomaxconn int
Sysctl setting net.core.somaxconn.
NetCoreWmemDefault int
Sysctl setting net.core.wmem_default.
NetCoreWmemMax int
Sysctl setting net.core.wmem_max.
NetIpv4IpLocalPortRange string
Sysctl setting net.ipv4.ip_local_port_range.
NetIpv4NeighDefaultGcThresh1 int
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
NetIpv4NeighDefaultGcThresh2 int
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
NetIpv4NeighDefaultGcThresh3 int
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
NetIpv4TcpFinTimeout int
Sysctl setting net.ipv4.tcp_fin_timeout.
NetIpv4TcpKeepaliveProbes int
Sysctl setting net.ipv4.tcp_keepalive_probes.
NetIpv4TcpKeepaliveTime int
Sysctl setting net.ipv4.tcp_keepalive_time.
NetIpv4TcpMaxSynBacklog int
Sysctl setting net.ipv4.tcp_max_syn_backlog.
NetIpv4TcpMaxTwBuckets int
Sysctl setting net.ipv4.tcp_max_tw_buckets.
NetIpv4TcpTwReuse bool
Sysctl setting net.ipv4.tcp_tw_reuse.
NetIpv4TcpkeepaliveIntvl int
Sysctl setting net.ipv4.tcp_keepalive_intvl.
NetNetfilterNfConntrackBuckets int
Sysctl setting net.netfilter.nf_conntrack_buckets.
NetNetfilterNfConntrackMax int
Sysctl setting net.netfilter.nf_conntrack_max.
VmMaxMapCount int
Sysctl setting vm.max_map_count.
VmSwappiness int
Sysctl setting vm.swappiness.
VmVfsCachePressure int
Sysctl setting vm.vfs_cache_pressure.
FsAioMaxNr int
Sysctl setting fs.aio-max-nr.
FsFileMax int
Sysctl setting fs.file-max.
FsInotifyMaxUserWatches int
Sysctl setting fs.inotify.max_user_watches.
FsNrOpen int
Sysctl setting fs.nr_open.
KernelThreadsMax int
Sysctl setting kernel.threads-max.
NetCoreNetdevMaxBacklog int
Sysctl setting net.core.netdev_max_backlog.
NetCoreOptmemMax int
Sysctl setting net.core.optmem_max.
NetCoreRmemDefault int
Sysctl setting net.core.rmem_default.
NetCoreRmemMax int
Sysctl setting net.core.rmem_max.
NetCoreSomaxconn int
Sysctl setting net.core.somaxconn.
NetCoreWmemDefault int
Sysctl setting net.core.wmem_default.
NetCoreWmemMax int
Sysctl setting net.core.wmem_max.
NetIpv4IpLocalPortRange string
Sysctl setting net.ipv4.ip_local_port_range.
NetIpv4NeighDefaultGcThresh1 int
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
NetIpv4NeighDefaultGcThresh2 int
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
NetIpv4NeighDefaultGcThresh3 int
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
NetIpv4TcpFinTimeout int
Sysctl setting net.ipv4.tcp_fin_timeout.
NetIpv4TcpKeepaliveProbes int
Sysctl setting net.ipv4.tcp_keepalive_probes.
NetIpv4TcpKeepaliveTime int
Sysctl setting net.ipv4.tcp_keepalive_time.
NetIpv4TcpMaxSynBacklog int
Sysctl setting net.ipv4.tcp_max_syn_backlog.
NetIpv4TcpMaxTwBuckets int
Sysctl setting net.ipv4.tcp_max_tw_buckets.
NetIpv4TcpTwReuse bool
Sysctl setting net.ipv4.tcp_tw_reuse.
NetIpv4TcpkeepaliveIntvl int
Sysctl setting net.ipv4.tcp_keepalive_intvl.
NetNetfilterNfConntrackBuckets int
Sysctl setting net.netfilter.nf_conntrack_buckets.
NetNetfilterNfConntrackMax int
Sysctl setting net.netfilter.nf_conntrack_max.
VmMaxMapCount int
Sysctl setting vm.max_map_count.
VmSwappiness int
Sysctl setting vm.swappiness.
VmVfsCachePressure int
Sysctl setting vm.vfs_cache_pressure.
fsAioMaxNr number
Sysctl setting fs.aio-max-nr.
fsFileMax number
Sysctl setting fs.file-max.
fsInotifyMaxUserWatches number
Sysctl setting fs.inotify.max_user_watches.
fsNrOpen number
Sysctl setting fs.nr_open.
kernelThreadsMax number
Sysctl setting kernel.threads-max.
netCoreNetdevMaxBacklog number
Sysctl setting net.core.netdev_max_backlog.
netCoreOptmemMax number
Sysctl setting net.core.optmem_max.
netCoreRmemDefault number
Sysctl setting net.core.rmem_default.
netCoreRmemMax number
Sysctl setting net.core.rmem_max.
netCoreSomaxconn number
Sysctl setting net.core.somaxconn.
netCoreWmemDefault number
Sysctl setting net.core.wmem_default.
netCoreWmemMax number
Sysctl setting net.core.wmem_max.
netIpv4IpLocalPortRange string
Sysctl setting net.ipv4.ip_local_port_range.
netIpv4NeighDefaultGcThresh1 number
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
netIpv4NeighDefaultGcThresh2 number
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
netIpv4NeighDefaultGcThresh3 number
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
netIpv4TcpFinTimeout number
Sysctl setting net.ipv4.tcp_fin_timeout.
netIpv4TcpKeepaliveProbes number
Sysctl setting net.ipv4.tcp_keepalive_probes.
netIpv4TcpKeepaliveTime number
Sysctl setting net.ipv4.tcp_keepalive_time.
netIpv4TcpMaxSynBacklog number
Sysctl setting net.ipv4.tcp_max_syn_backlog.
netIpv4TcpMaxTwBuckets number
Sysctl setting net.ipv4.tcp_max_tw_buckets.
netIpv4TcpTwReuse boolean
Sysctl setting net.ipv4.tcp_tw_reuse.
netIpv4TcpkeepaliveIntvl number
Sysctl setting net.ipv4.tcp_keepalive_intvl.
netNetfilterNfConntrackBuckets number
Sysctl setting net.netfilter.nf_conntrack_buckets.
netNetfilterNfConntrackMax number
Sysctl setting net.netfilter.nf_conntrack_max.
vmMaxMapCount number
Sysctl setting vm.max_map_count.
vmSwappiness number
Sysctl setting vm.swappiness.
vmVfsCachePressure number
Sysctl setting vm.vfs_cache_pressure.
fs_aio_max_nr int
Sysctl setting fs.aio-max-nr.
fs_file_max int
Sysctl setting fs.file-max.
fs_inotify_max_user_watches int
Sysctl setting fs.inotify.max_user_watches.
fs_nr_open int
Sysctl setting fs.nr_open.
kernel_threads_max int
Sysctl setting kernel.threads-max.
net_core_netdev_max_backlog int
Sysctl setting net.core.netdev_max_backlog.
net_core_optmem_max int
Sysctl setting net.core.optmem_max.
net_core_rmem_default int
Sysctl setting net.core.rmem_default.
net_core_rmem_max int
Sysctl setting net.core.rmem_max.
net_core_somaxconn int
Sysctl setting net.core.somaxconn.
net_core_wmem_default int
Sysctl setting net.core.wmem_default.
net_core_wmem_max int
Sysctl setting net.core.wmem_max.
net_ipv4_ip_local_port_range str
Sysctl setting net.ipv4.ip_local_port_range.
net_ipv4_neigh_default_gc_thresh1 int
Sysctl setting net.ipv4.neigh.default.gc_thresh1.
net_ipv4_neigh_default_gc_thresh2 int
Sysctl setting net.ipv4.neigh.default.gc_thresh2.
net_ipv4_neigh_default_gc_thresh3 int
Sysctl setting net.ipv4.neigh.default.gc_thresh3.
net_ipv4_tcp_fin_timeout int
Sysctl setting net.ipv4.tcp_fin_timeout.
net_ipv4_tcp_keepalive_probes int
Sysctl setting net.ipv4.tcp_keepalive_probes.
net_ipv4_tcp_keepalive_time int
Sysctl setting net.ipv4.tcp_keepalive_time.
net_ipv4_tcp_max_syn_backlog int
Sysctl setting net.ipv4.tcp_max_syn_backlog.
net_ipv4_tcp_max_tw_buckets int
Sysctl setting net.ipv4.tcp_max_tw_buckets.
net_ipv4_tcp_tw_reuse bool
Sysctl setting net.ipv4.tcp_tw_reuse.
net_ipv4_tcpkeepalive_intvl int
Sysctl setting net.ipv4.tcp_keepalive_intvl.
net_netfilter_nf_conntrack_buckets int
Sysctl setting net.netfilter.nf_conntrack_buckets.
net_netfilter_nf_conntrack_max int
Sysctl setting net.netfilter.nf_conntrack_max.
vm_max_map_count int
Sysctl setting vm.max_map_count.
vm_swappiness int
Sysctl setting vm.swappiness.
vm_vfs_cache_pressure int
Sysctl setting vm.vfs_cache_pressure.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:containerservice:AgentPool agentpool1 /subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/agentPools/agentpool1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0