Agent Pool.
Uses Azure REST API version 2025-08-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01.
Other available API versions: 2019-11-01, 2020-01-01, 2020-02-01, 2020-03-01, 2020-04-01, 2020-06-01, 2020-07-01, 2020-09-01, 2020-11-01, 2020-12-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-07-01, 2021-08-01, 2021-09-01, 2021-10-01, 2021-11-01-preview, 2022-01-01, 2022-01-02-preview, 2022-02-01, 2022-02-02-preview, 2022-03-01, 2022-03-02-preview, 2022-04-01, 2022-04-02-preview, 2022-05-02-preview, 2022-06-01, 2022-06-02-preview, 2022-07-01, 2022-07-02-preview, 2022-08-02-preview, 2022-08-03-preview, 2022-09-01, 2022-09-02-preview, 2022-10-02-preview, 2022-11-01, 2022-11-02-preview, 2023-01-01, 2023-01-02-preview, 2023-02-01, 2023-02-02-preview, 2023-03-01, 2023-03-02-preview, 2023-04-01, 2023-04-02-preview, 2023-05-01, 2023-05-02-preview, 2023-06-01, 2023-06-02-preview, 2023-07-01, 2023-07-02-preview, 2023-08-01, 2023-08-02-preview, 2023-09-01, 2023-09-02-preview, 2023-10-01, 2023-10-02-preview, 2023-11-01, 2023-11-02-preview, 2024-01-01, 2024-01-02-preview, 2024-02-01, 2024-02-02-preview, 2024-03-02-preview, 2024-04-02-preview, 2024-05-01, 2024-05-02-preview, 2024-06-02-preview, 2024-07-01, 2024-07-02-preview, 2024-08-01, 2024-09-01, 2024-09-02-preview, 2024-10-01, 2024-10-02-preview, 2025-01-01, 2025-01-02-preview, 2025-02-01, 2025-02-02-preview, 2025-03-01, 2025-03-02-preview, 2025-04-01, 2025-04-02-preview, 2025-05-01, 2025-05-02-preview, 2025-06-02-preview, 2025-07-01, 2025-07-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]. See the version guide for details.
Example Usage
Create Agent Pool using an agent pool snapshot
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
CreationData = new AzureNative.ContainerService.Inputs.CreationDataArgs
{
SourceResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
},
EnableFIPS = true,
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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),
CreationData: &containerservice.CreationDataArgs{
SourceResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1"),
},
EnableFIPS: pulumi.Bool(true),
OrchestratorVersion: pulumi.String(""),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.CreationDataArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.creationData(CreationDataArgs.builder()
.sourceResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1")
.build())
.enableFIPS(true)
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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,
creationData: {
sourceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
},
enableFIPS: true,
orchestratorVersion: "",
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
creation_data={
"source_resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1",
},
enable_fips=True,
orchestrator_version="",
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
creationData:
sourceResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/snapshots/snapshot1
enableFIPS: true
orchestratorVersion: ""
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with Capacity Reservation Group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
CapacityReservationGroupID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1",
Count = 3,
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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"),
CapacityReservationGroupID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1"),
Count: pulumi.Int(3),
OrchestratorVersion: pulumi.String(""),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.capacityReservationGroupID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1")
.count(3)
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
agentPoolName: "agentpool1",
capacityReservationGroupID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1",
count: 3,
orchestratorVersion: "",
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
capacity_reservation_group_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1",
count=3,
orchestrator_version="",
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
capacityReservationGroupID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/CapacityReservationGroups/crg1
count: 3
orchestratorVersion: ""
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with Dedicated Host Group
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
HostGroupID = "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1",
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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),
HostGroupID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1"),
OrchestratorVersion: pulumi.String(""),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.hostGroupID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1")
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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,
hostGroupID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1",
orchestratorVersion: "",
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
host_group_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1",
orchestrator_version="",
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
hostGroupID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/Microsoft.Compute/hostGroups/hostgroup1
orchestratorVersion: ""
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with EncryptionAtHost enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
EnableEncryptionAtHost = true,
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.enableEncryptionAtHost(true)
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
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=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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 System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
OrchestratorVersion = "",
OsDiskSizeGB = 64,
OsDiskType = AzureNative.ContainerService.OSDiskType.Ephemeral,
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSDiskTypeEphemeral),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.orchestratorVersion("")
.osDiskSizeGB(64)
.osDiskType("Ephemeral")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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: azure_native.containerservice.OSDiskType.Ephemeral,
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
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=azure_native.containerservice.OSDiskType.EPHEMERAL,
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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 System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
EnableFIPS = true,
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.enableFIPS(true)
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
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=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
enableFIPS: true
orchestratorVersion: ""
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with GPUMIG
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
GpuInstanceProfile = AzureNative.ContainerService.GPUInstanceProfile.MIG2g,
KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
{
AllowedUnsafeSysctls = new[]
{
"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 = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_ND96asr_v4",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.GPUInstanceProfileMIG2g),
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(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_ND96asr_v4"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.KubeletConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.LinuxOSConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.SysctlConfigArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.gpuInstanceProfile("MIG2g")
.kubeletConfig(KubeletConfigArgs.builder()
.allowedUnsafeSysctls(
"kernel.msg*",
"net.core.somaxconn")
.cpuCfsQuota(true)
.cpuCfsQuotaPeriod("200ms")
.cpuManagerPolicy("static")
.failSwapOn(false)
.imageGcHighThreshold(90)
.imageGcLowThreshold(70)
.topologyManagerPolicy("best-effort")
.build())
.linuxOSConfig(LinuxOSConfigArgs.builder()
.swapFileSizeMB(1500)
.sysctls(SysctlConfigArgs.builder()
.kernelThreadsMax(99999)
.netCoreWmemDefault(12345)
.netIpv4IpLocalPortRange("20000 60000")
.netIpv4TcpTwReuse(true)
.build())
.transparentHugePageDefrag("madvise")
.transparentHugePageEnabled("always")
.build())
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_ND96asr_v4")
.build());
}
}
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: azure_native.containerservice.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: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_ND96asr_v4",
});
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=azure_native.containerservice.GPUInstanceProfile.MIG2G,
kubelet_config={
"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={
"swap_file_size_mb": 1500,
"sysctls": {
"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=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_ND96asr_v4")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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 Krustlet and the WASI runtime
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
Mode = AzureNative.ContainerService.AgentPoolMode.User,
OrchestratorVersion = "",
OsDiskSizeGB = 64,
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
WorkloadRuntime = AzureNative.ContainerService.WorkloadRuntime.WasmWasi,
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.AgentPoolModeUser),
OrchestratorVersion: pulumi.String(""),
OsDiskSizeGB: pulumi.Int(64),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
WorkloadRuntime: pulumi.String(containerservice.WorkloadRuntimeWasmWasi),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.mode("User")
.orchestratorVersion("")
.osDiskSizeGB(64)
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.workloadRuntime("WasmWasi")
.build());
}
}
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: azure_native.containerservice.AgentPoolMode.User,
orchestratorVersion: "",
osDiskSizeGB: 64,
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
workloadRuntime: azure_native.containerservice.WorkloadRuntime.WasmWasi,
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
mode=azure_native.containerservice.AgentPoolMode.USER,
orchestrator_version="",
os_disk_size_gb=64,
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2",
workload_runtime=azure_native.containerservice.WorkloadRuntime.WASM_WASI)
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
mode: User
orchestratorVersion: ""
osDiskSizeGB: 64
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
workloadRuntime: WasmWasi
Create Agent Pool with KubeletConfig and LinuxOSConfig
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
{
AllowedUnsafeSysctls = new[]
{
"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 = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.KubeletConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.LinuxOSConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.SysctlConfigArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.kubeletConfig(KubeletConfigArgs.builder()
.allowedUnsafeSysctls(
"kernel.msg*",
"net.core.somaxconn")
.cpuCfsQuota(true)
.cpuCfsQuotaPeriod("200ms")
.cpuManagerPolicy("static")
.failSwapOn(false)
.imageGcHighThreshold(90)
.imageGcLowThreshold(70)
.topologyManagerPolicy("best-effort")
.build())
.linuxOSConfig(LinuxOSConfigArgs.builder()
.swapFileSizeMB(1500)
.sysctls(SysctlConfigArgs.builder()
.kernelThreadsMax(99999)
.netCoreWmemDefault(12345)
.netIpv4IpLocalPortRange("20000 60000")
.netIpv4TcpTwReuse(true)
.build())
.transparentHugePageDefrag("madvise")
.transparentHugePageEnabled("always")
.build())
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
kubelet_config={
"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={
"swap_file_size_mb": 1500,
"sysctls": {
"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=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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 Message of the Day
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
MessageOfTheDay = "Zm9vCg==",
Mode = AzureNative.ContainerService.AgentPoolMode.User,
OrchestratorVersion = "",
OsDiskSizeGB = 64,
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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),
MessageOfTheDay: pulumi.String("Zm9vCg=="),
Mode: pulumi.String(containerservice.AgentPoolModeUser),
OrchestratorVersion: pulumi.String(""),
OsDiskSizeGB: pulumi.Int(64),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.messageOfTheDay("Zm9vCg==")
.mode("User")
.orchestratorVersion("")
.osDiskSizeGB(64)
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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,
messageOfTheDay: "Zm9vCg==",
mode: azure_native.containerservice.AgentPoolMode.User,
orchestratorVersion: "",
osDiskSizeGB: 64,
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
message_of_the_day="Zm9vCg==",
mode=azure_native.containerservice.AgentPoolMode.USER,
orchestrator_version="",
os_disk_size_gb=64,
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
messageOfTheDay: Zm9vCg==
mode: User
orchestratorVersion: ""
osDiskSizeGB: 64
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with OSSKU
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
{
AllowedUnsafeSysctls = new[]
{
"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 = AzureNative.ContainerService.OSSKU.AzureLinux,
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSSKUAzureLinux),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.KubeletConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.LinuxOSConfigArgs;
import com.pulumi.azurenative.containerservice.inputs.SysctlConfigArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.kubeletConfig(KubeletConfigArgs.builder()
.allowedUnsafeSysctls(
"kernel.msg*",
"net.core.somaxconn")
.cpuCfsQuota(true)
.cpuCfsQuotaPeriod("200ms")
.cpuManagerPolicy("static")
.failSwapOn(false)
.imageGcHighThreshold(90)
.imageGcLowThreshold(70)
.topologyManagerPolicy("best-effort")
.build())
.linuxOSConfig(LinuxOSConfigArgs.builder()
.swapFileSizeMB(1500)
.sysctls(SysctlConfigArgs.builder()
.kernelThreadsMax(99999)
.netCoreWmemDefault(12345)
.netIpv4IpLocalPortRange("20000 60000")
.netIpv4TcpTwReuse(true)
.build())
.transparentHugePageDefrag("madvise")
.transparentHugePageEnabled("always")
.build())
.orchestratorVersion("")
.osSKU("AzureLinux")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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: azure_native.containerservice.OSSKU.AzureLinux,
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
kubelet_config={
"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={
"swap_file_size_mb": 1500,
"sysctls": {
"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=azure_native.containerservice.OSSKU.AZURE_LINUX,
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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: AzureLinux
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with PPG
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ProximityPlacementGroupID = "/subscriptions/00000000-0000-0000-0000-000000000000/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/containerservice/v3"
"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(containerservice.OSTypeLinux),
ProximityPlacementGroupID: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.orchestratorVersion("")
.osType("Linux")
.proximityPlacementGroupID("/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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: azure_native.containerservice.OSType.Linux,
proximityPlacementGroupID: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1",
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
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=azure_native.containerservice.OSType.LINUX,
proximity_placement_group_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1",
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
orchestratorVersion: ""
osType: Linux
proximityPlacementGroupID: /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with UltraSSD enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
EnableUltraSSD = true,
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_DS2_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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),
EnableUltraSSD: pulumi.Bool(true),
OrchestratorVersion: pulumi.String(""),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_DS2_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.enableUltraSSD(true)
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_DS2_v2")
.build());
}
}
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,
enableUltraSSD: true,
orchestratorVersion: "",
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_DS2_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
enable_ultra_ssd=True,
orchestrator_version="",
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_DS2_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
count: 3
enableUltraSSD: true
orchestratorVersion: ""
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_DS2_v2
Create Agent Pool with VirtualMachines pool type
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
NodeLabels =
{
{ "key1", "val1" },
},
NodeTaints = new[]
{
"Key1=Value1:NoSchedule",
},
OrchestratorVersion = "1.9.6",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
Tags =
{
{ "name1", "val1" },
},
Type = AzureNative.ContainerService.AgentPoolType.VirtualMachines,
VirtualMachinesProfile = new AzureNative.ContainerService.Inputs.VirtualMachinesProfileArgs
{
Scale = new AzureNative.ContainerService.Inputs.ScaleProfileArgs
{
Manual = new[]
{
new AzureNative.ContainerService.Inputs.ManualScaleProfileArgs
{
Count = 3,
Size = "Standard_D2_v2",
},
new AzureNative.ContainerService.Inputs.ManualScaleProfileArgs
{
Count = 2,
Size = "Standard_D2_v3",
},
},
},
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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"),
NodeLabels: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
NodeTaints: pulumi.StringArray{
pulumi.String("Key1=Value1:NoSchedule"),
},
OrchestratorVersion: pulumi.String("1.9.6"),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
Tags: pulumi.StringMap{
"name1": pulumi.String("val1"),
},
Type: pulumi.String(containerservice.AgentPoolTypeVirtualMachines),
VirtualMachinesProfile: &containerservice.VirtualMachinesProfileArgs{
Scale: &containerservice.ScaleProfileArgs{
Manual: containerservice.ManualScaleProfileArray{
&containerservice.ManualScaleProfileArgs{
Count: pulumi.Int(3),
Size: pulumi.String("Standard_D2_v2"),
},
&containerservice.ManualScaleProfileArgs{
Count: pulumi.Int(2),
Size: pulumi.String("Standard_D2_v3"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.VirtualMachinesProfileArgs;
import com.pulumi.azurenative.containerservice.inputs.ScaleProfileArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.nodeLabels(Map.of("key1", "val1"))
.nodeTaints("Key1=Value1:NoSchedule")
.orchestratorVersion("1.9.6")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.tags(Map.of("name1", "val1"))
.type("VirtualMachines")
.virtualMachinesProfile(VirtualMachinesProfileArgs.builder()
.scale(ScaleProfileArgs.builder()
.manual(
ManualScaleProfileArgs.builder()
.count(3)
.size("Standard_D2_v2")
.build(),
ManualScaleProfileArgs.builder()
.count(2)
.size("Standard_D2_v3")
.build())
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
agentPoolName: "agentpool1",
nodeLabels: {
key1: "val1",
},
nodeTaints: ["Key1=Value1:NoSchedule"],
orchestratorVersion: "1.9.6",
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
tags: {
name1: "val1",
},
type: azure_native.containerservice.AgentPoolType.VirtualMachines,
virtualMachinesProfile: {
scale: {
manual: [
{
count: 3,
size: "Standard_D2_v2",
},
{
count: 2,
size: "Standard_D2_v3",
},
],
},
},
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
node_labels={
"key1": "val1",
},
node_taints=["Key1=Value1:NoSchedule"],
orchestrator_version="1.9.6",
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
tags={
"name1": "val1",
},
type=azure_native.containerservice.AgentPoolType.VIRTUAL_MACHINES,
virtual_machines_profile={
"scale": {
"manual": [
{
"count": 3,
"size": "Standard_D2_v2",
},
{
"count": 2,
"size": "Standard_D2_v3",
},
],
},
})
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
nodeLabels:
key1: val1
nodeTaints:
- Key1=Value1:NoSchedule
orchestratorVersion: 1.9.6
osType: Linux
resourceGroupName: rg1
resourceName: clustername1
tags:
name1: val1
type: VirtualMachines
virtualMachinesProfile:
scale:
manual:
- count: 3
size: Standard_D2_v2
- count: 2
size: Standard_D2_v3
Create Agent Pool with Windows OSSKU
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "wnp2",
Count = 3,
OrchestratorVersion = "1.23.3",
OsSKU = AzureNative.ContainerService.OSSKU.Windows2022,
OsType = AzureNative.ContainerService.OSType.Windows,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_D4s_v3",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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("wnp2"),
Count: pulumi.Int(3),
OrchestratorVersion: pulumi.String("1.23.3"),
OsSKU: pulumi.String(containerservice.OSSKUWindows2022),
OsType: pulumi.String(containerservice.OSTypeWindows),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_D4s_v3"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("wnp2")
.count(3)
.orchestratorVersion("1.23.3")
.osSKU("Windows2022")
.osType("Windows")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_D4s_v3")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
agentPoolName: "wnp2",
count: 3,
orchestratorVersion: "1.23.3",
osSKU: azure_native.containerservice.OSSKU.Windows2022,
osType: azure_native.containerservice.OSType.Windows,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_D4s_v3",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="wnp2",
count=3,
orchestrator_version="1.23.3",
os_sku=azure_native.containerservice.OSSKU.WINDOWS2022,
os_type=azure_native.containerservice.OSType.WINDOWS,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_D4s_v3")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: wnp2
count: 3
orchestratorVersion: 1.23.3
osSKU: Windows2022
osType: Windows
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_D4s_v3
Create Spot Agent Pool
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
NodeLabels =
{
{ "key1", "val1" },
},
NodeTaints = new[]
{
"Key1=Value1:NoSchedule",
},
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ScaleSetEvictionPolicy = AzureNative.ContainerService.ScaleSetEvictionPolicy.Delete,
ScaleSetPriority = AzureNative.ContainerService.ScaleSetPriority.Spot,
Tags =
{
{ "name1", "val1" },
},
VmSize = "Standard_DS1_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ScaleSetEvictionPolicy: pulumi.String(containerservice.ScaleSetEvictionPolicyDelete),
ScaleSetPriority: pulumi.String(containerservice.ScaleSetPrioritySpot),
Tags: pulumi.StringMap{
"name1": pulumi.String("val1"),
},
VmSize: pulumi.String("Standard_DS1_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.nodeLabels(Map.of("key1", "val1"))
.nodeTaints("Key1=Value1:NoSchedule")
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.scaleSetEvictionPolicy("Delete")
.scaleSetPriority("Spot")
.tags(Map.of("name1", "val1"))
.vmSize("Standard_DS1_v2")
.build());
}
}
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: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
scaleSetEvictionPolicy: azure_native.containerservice.ScaleSetEvictionPolicy.Delete,
scaleSetPriority: azure_native.containerservice.ScaleSetPriority.Spot,
tags: {
name1: "val1",
},
vmSize: "Standard_DS1_v2",
});
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=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
scale_set_eviction_policy=azure_native.containerservice.ScaleSetEvictionPolicy.DELETE,
scale_set_priority=azure_native.containerservice.ScaleSetPriority.SPOT,
tags={
"name1": "val1",
},
vm_size="Standard_DS1_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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 Windows Agent Pool with disabling OutboundNAT
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "wnp2",
Count = 3,
OrchestratorVersion = "1.23.8",
OsSKU = AzureNative.ContainerService.OSSKU.Windows2022,
OsType = AzureNative.ContainerService.OSType.Windows,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
VmSize = "Standard_D4s_v3",
WindowsProfile = new AzureNative.ContainerService.Inputs.AgentPoolWindowsProfileArgs
{
DisableOutboundNat = true,
},
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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("wnp2"),
Count: pulumi.Int(3),
OrchestratorVersion: pulumi.String("1.23.8"),
OsSKU: pulumi.String(containerservice.OSSKUWindows2022),
OsType: pulumi.String(containerservice.OSTypeWindows),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
VmSize: pulumi.String("Standard_D4s_v3"),
WindowsProfile: &containerservice.AgentPoolWindowsProfileArgs{
DisableOutboundNat: pulumi.Bool(true),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.AgentPoolWindowsProfileArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("wnp2")
.count(3)
.orchestratorVersion("1.23.8")
.osSKU("Windows2022")
.osType("Windows")
.resourceGroupName("rg1")
.resourceName("clustername1")
.vmSize("Standard_D4s_v3")
.windowsProfile(AgentPoolWindowsProfileArgs.builder()
.disableOutboundNat(true)
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
agentPoolName: "wnp2",
count: 3,
orchestratorVersion: "1.23.8",
osSKU: azure_native.containerservice.OSSKU.Windows2022,
osType: azure_native.containerservice.OSType.Windows,
resourceGroupName: "rg1",
resourceName: "clustername1",
vmSize: "Standard_D4s_v3",
windowsProfile: {
disableOutboundNat: true,
},
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="wnp2",
count=3,
orchestrator_version="1.23.8",
os_sku=azure_native.containerservice.OSSKU.WINDOWS2022,
os_type=azure_native.containerservice.OSType.WINDOWS,
resource_group_name="rg1",
resource_name_="clustername1",
vm_size="Standard_D4s_v3",
windows_profile={
"disable_outbound_nat": True,
})
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: wnp2
count: 3
orchestratorVersion: 1.23.8
osSKU: Windows2022
osType: Windows
resourceGroupName: rg1
resourceName: clustername1
vmSize: Standard_D4s_v3
windowsProfile:
disableOutboundNat: true
Create/Update Agent Pool
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
Mode = AzureNative.ContainerService.AgentPoolMode.User,
NodeLabels =
{
{ "key1", "val1" },
},
NodeTaints = new[]
{
"Key1=Value1:NoSchedule",
},
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ScaleSetEvictionPolicy = AzureNative.ContainerService.ScaleSetEvictionPolicy.Delete,
ScaleSetPriority = AzureNative.ContainerService.ScaleSetPriority.Spot,
Tags =
{
{ "name1", "val1" },
},
VmSize = "Standard_DS1_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.AgentPoolModeUser),
NodeLabels: pulumi.StringMap{
"key1": pulumi.String("val1"),
},
NodeTaints: pulumi.StringArray{
pulumi.String("Key1=Value1:NoSchedule"),
},
OrchestratorVersion: pulumi.String(""),
OsType: pulumi.String(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ScaleSetEvictionPolicy: pulumi.String(containerservice.ScaleSetEvictionPolicyDelete),
ScaleSetPriority: pulumi.String(containerservice.ScaleSetPrioritySpot),
Tags: pulumi.StringMap{
"name1": pulumi.String("val1"),
},
VmSize: pulumi.String("Standard_DS1_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.count(3)
.mode("User")
.nodeLabels(Map.of("key1", "val1"))
.nodeTaints("Key1=Value1:NoSchedule")
.orchestratorVersion("")
.osType("Linux")
.resourceGroupName("rg1")
.resourceName("clustername1")
.scaleSetEvictionPolicy("Delete")
.scaleSetPriority("Spot")
.tags(Map.of("name1", "val1"))
.vmSize("Standard_DS1_v2")
.build());
}
}
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: azure_native.containerservice.AgentPoolMode.User,
nodeLabels: {
key1: "val1",
},
nodeTaints: ["Key1=Value1:NoSchedule"],
orchestratorVersion: "",
osType: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
scaleSetEvictionPolicy: azure_native.containerservice.ScaleSetEvictionPolicy.Delete,
scaleSetPriority: azure_native.containerservice.ScaleSetPriority.Spot,
tags: {
name1: "val1",
},
vmSize: "Standard_DS1_v2",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
count=3,
mode=azure_native.containerservice.AgentPoolMode.USER,
node_labels={
"key1": "val1",
},
node_taints=["Key1=Value1:NoSchedule"],
orchestrator_version="",
os_type=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
scale_set_eviction_policy=azure_native.containerservice.ScaleSetEvictionPolicy.DELETE,
scale_set_priority=azure_native.containerservice.ScaleSetPriority.SPOT,
tags={
"name1": "val1",
},
vm_size="Standard_DS1_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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
Start Agent Pool
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
PowerState = new AzureNative.ContainerService.Inputs.PowerStateArgs
{
Code = AzureNative.ContainerService.Code.Running,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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"),
PowerState: &containerservice.PowerStateArgs{
Code: pulumi.String(containerservice.CodeRunning),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.PowerStateArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.powerState(PowerStateArgs.builder()
.code("Running")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
agentPoolName: "agentpool1",
powerState: {
code: azure_native.containerservice.Code.Running,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
power_state={
"code": azure_native.containerservice.Code.RUNNING,
},
resource_group_name="rg1",
resource_name_="clustername1")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
powerState:
code: Running
resourceGroupName: rg1
resourceName: clustername1
Stop Agent Pool
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
PowerState = new AzureNative.ContainerService.Inputs.PowerStateArgs
{
Code = AzureNative.ContainerService.Code.Stopped,
},
ResourceGroupName = "rg1",
ResourceName = "clustername1",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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"),
PowerState: &containerservice.PowerStateArgs{
Code: pulumi.String(containerservice.CodeStopped),
},
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
import com.pulumi.azurenative.containerservice.inputs.PowerStateArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.agentPoolName("agentpool1")
.powerState(PowerStateArgs.builder()
.code("Stopped")
.build())
.resourceGroupName("rg1")
.resourceName("clustername1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const agentPool = new azure_native.containerservice.AgentPool("agentPool", {
agentPoolName: "agentpool1",
powerState: {
code: azure_native.containerservice.Code.Stopped,
},
resourceGroupName: "rg1",
resourceName: "clustername1",
});
import pulumi
import pulumi_azure_native as azure_native
agent_pool = azure_native.containerservice.AgentPool("agentPool",
agent_pool_name="agentpool1",
power_state={
"code": azure_native.containerservice.Code.STOPPED,
},
resource_group_name="rg1",
resource_name_="clustername1")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: agentpool1
powerState:
code: Stopped
resourceGroupName: rg1
resourceName: clustername1
Update Agent Pool
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var agentPool = new AzureNative.ContainerService.AgentPool("agentPool", new()
{
AgentPoolName = "agentpool1",
Count = 3,
EnableAutoScaling = true,
MaxCount = 2,
MinCount = 2,
NodeTaints = new[]
{
"Key1=Value1:NoSchedule",
},
OrchestratorVersion = "",
OsType = AzureNative.ContainerService.OSType.Linux,
ResourceGroupName = "rg1",
ResourceName = "clustername1",
ScaleSetEvictionPolicy = AzureNative.ContainerService.ScaleSetEvictionPolicy.Delete,
ScaleSetPriority = AzureNative.ContainerService.ScaleSetPriority.Spot,
VmSize = "Standard_DS1_v2",
});
});
package main
import (
containerservice "github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3"
"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(containerservice.OSTypeLinux),
ResourceGroupName: pulumi.String("rg1"),
ResourceName: pulumi.String("clustername1"),
ScaleSetEvictionPolicy: pulumi.String(containerservice.ScaleSetEvictionPolicyDelete),
ScaleSetPriority: pulumi.String(containerservice.ScaleSetPrioritySpot),
VmSize: pulumi.String("Standard_DS1_v2"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerservice.AgentPool;
import com.pulumi.azurenative.containerservice.AgentPoolArgs;
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 agentPool = new AgentPool("agentPool", AgentPoolArgs.builder()
.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")
.build());
}
}
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: azure_native.containerservice.OSType.Linux,
resourceGroupName: "rg1",
resourceName: "clustername1",
scaleSetEvictionPolicy: azure_native.containerservice.ScaleSetEvictionPolicy.Delete,
scaleSetPriority: azure_native.containerservice.ScaleSetPriority.Spot,
vmSize: "Standard_DS1_v2",
});
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=azure_native.containerservice.OSType.LINUX,
resource_group_name="rg1",
resource_name_="clustername1",
scale_set_eviction_policy=azure_native.containerservice.ScaleSetEvictionPolicy.DELETE,
scale_set_priority=azure_native.containerservice.ScaleSetPriority.SPOT,
vm_size="Standard_DS1_v2")
resources:
agentPool:
type: azure-native:containerservice:AgentPool
properties:
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 AgentPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentPool(name: string, args: AgentPoolArgs, opts?: CustomResourceOptions);@overload
def AgentPool(resource_name: str,
args: AgentPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
gpu_profile: Optional[GPUProfileArgs] = None,
type: Optional[Union[str, AgentPoolType]] = None,
creation_data: Optional[CreationDataArgs] = 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,
enable_ultra_ssd: Optional[bool] = None,
gateway_profile: Optional[AgentPoolGatewayProfileArgs] = None,
gpu_instance_profile: Optional[Union[str, GPUInstanceProfile]] = None,
agent_pool_name: Optional[str] = None,
host_group_id: Optional[str] = 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,
message_of_the_day: Optional[str] = None,
min_count: Optional[int] = None,
mode: Optional[Union[str, AgentPoolMode]] = None,
network_profile: Optional[AgentPoolNetworkProfileArgs] = None,
node_labels: Optional[Mapping[str, str]] = None,
node_public_ip_prefix_id: Optional[str] = None,
node_taints: Optional[Sequence[str]] = None,
count: Optional[int] = None,
os_disk_type: Optional[Union[str, OSDiskType]] = None,
orchestrator_version: Optional[str] = None,
os_sku: Optional[Union[str, OSSKU]] = None,
os_type: Optional[Union[str, OSType]] = None,
pod_ip_allocation_mode: Optional[Union[str, PodIPAllocationMode]] = None,
pod_subnet_id: Optional[str] = None,
power_state: Optional[PowerStateArgs] = None,
proximity_placement_group_id: Optional[str] = None,
capacity_reservation_group_id: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
scale_down_mode: Optional[Union[str, ScaleDownMode]] = None,
scale_set_eviction_policy: Optional[Union[str, ScaleSetEvictionPolicy]] = None,
scale_set_priority: Optional[Union[str, ScaleSetPriority]] = None,
security_profile: Optional[AgentPoolSecurityProfileArgs] = None,
spot_max_price: Optional[float] = None,
tags: Optional[Mapping[str, str]] = None,
os_disk_size_gb: Optional[int] = None,
upgrade_settings: Optional[AgentPoolUpgradeSettingsArgs] = None,
virtual_machine_nodes_status: Optional[Sequence[VirtualMachineNodesArgs]] = None,
virtual_machines_profile: Optional[VirtualMachinesProfileArgs] = None,
vm_size: Optional[str] = None,
vnet_subnet_id: Optional[str] = None,
windows_profile: Optional[AgentPoolWindowsProfileArgs] = None,
workload_runtime: Optional[Union[str, WorkloadRuntime]] = None)func NewAgentPool(ctx *Context, name string, args AgentPoolArgs, opts ...ResourceOption) (*AgentPool, error)public AgentPool(string name, AgentPoolArgs args, CustomResourceOptions? opts = null)
public AgentPool(String name, AgentPoolArgs args)
public AgentPool(String name, AgentPoolArgs args, CustomResourceOptions options)
type: azure-native:containerservice:AgentPool
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 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.
- name String
- The unique name of the resource.
- args AgentPoolArgs
- 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 azure_nativeAgentPoolResource = new AzureNative.ContainerService.AgentPool("azure-nativeAgentPoolResource", new()
{
ResourceGroupName = "string",
ResourceName = "string",
GpuProfile = new AzureNative.ContainerService.Inputs.GPUProfileArgs
{
Driver = "string",
},
Type = "string",
CreationData = new AzureNative.ContainerService.Inputs.CreationDataArgs
{
SourceResourceId = "string",
},
EnableAutoScaling = false,
EnableEncryptionAtHost = false,
EnableFIPS = false,
EnableNodePublicIP = false,
EnableUltraSSD = false,
GatewayProfile = new AzureNative.ContainerService.Inputs.AgentPoolGatewayProfileArgs
{
PublicIPPrefixSize = 0,
},
GpuInstanceProfile = "string",
AgentPoolName = "string",
HostGroupID = "string",
KubeletConfig = new AzureNative.ContainerService.Inputs.KubeletConfigArgs
{
AllowedUnsafeSysctls = new[]
{
"string",
},
ContainerLogMaxFiles = 0,
ContainerLogMaxSizeMB = 0,
CpuCfsQuota = false,
CpuCfsQuotaPeriod = "string",
CpuManagerPolicy = "string",
FailSwapOn = false,
ImageGcHighThreshold = 0,
ImageGcLowThreshold = 0,
PodMaxPids = 0,
TopologyManagerPolicy = "string",
},
KubeletDiskType = "string",
LinuxOSConfig = new AzureNative.ContainerService.Inputs.LinuxOSConfigArgs
{
SwapFileSizeMB = 0,
Sysctls = new AzureNative.ContainerService.Inputs.SysctlConfigArgs
{
FsAioMaxNr = 0,
FsFileMax = 0,
FsInotifyMaxUserWatches = 0,
FsNrOpen = 0,
KernelThreadsMax = 0,
NetCoreNetdevMaxBacklog = 0,
NetCoreOptmemMax = 0,
NetCoreRmemDefault = 0,
NetCoreRmemMax = 0,
NetCoreSomaxconn = 0,
NetCoreWmemDefault = 0,
NetCoreWmemMax = 0,
NetIpv4IpLocalPortRange = "string",
NetIpv4NeighDefaultGcThresh1 = 0,
NetIpv4NeighDefaultGcThresh2 = 0,
NetIpv4NeighDefaultGcThresh3 = 0,
NetIpv4TcpFinTimeout = 0,
NetIpv4TcpKeepaliveProbes = 0,
NetIpv4TcpKeepaliveTime = 0,
NetIpv4TcpMaxSynBacklog = 0,
NetIpv4TcpMaxTwBuckets = 0,
NetIpv4TcpTwReuse = false,
NetIpv4TcpkeepaliveIntvl = 0,
NetNetfilterNfConntrackBuckets = 0,
NetNetfilterNfConntrackMax = 0,
VmMaxMapCount = 0,
VmSwappiness = 0,
VmVfsCachePressure = 0,
},
TransparentHugePageDefrag = "string",
TransparentHugePageEnabled = "string",
},
MaxCount = 0,
MaxPods = 0,
MessageOfTheDay = "string",
MinCount = 0,
Mode = "string",
NetworkProfile = new AzureNative.ContainerService.Inputs.AgentPoolNetworkProfileArgs
{
AllowedHostPorts = new[]
{
new AzureNative.ContainerService.Inputs.PortRangeArgs
{
PortEnd = 0,
PortStart = 0,
Protocol = "string",
},
},
ApplicationSecurityGroups = new[]
{
"string",
},
NodePublicIPTags = new[]
{
new AzureNative.ContainerService.Inputs.IPTagArgs
{
IpTagType = "string",
Tag = "string",
},
},
},
NodeLabels =
{
{ "string", "string" },
},
NodePublicIPPrefixID = "string",
NodeTaints = new[]
{
"string",
},
Count = 0,
OsDiskType = "string",
OrchestratorVersion = "string",
OsSKU = "string",
OsType = "string",
PodIPAllocationMode = "string",
PodSubnetID = "string",
PowerState = new AzureNative.ContainerService.Inputs.PowerStateArgs
{
Code = "string",
},
ProximityPlacementGroupID = "string",
CapacityReservationGroupID = "string",
AvailabilityZones = new[]
{
"string",
},
ScaleDownMode = "string",
ScaleSetEvictionPolicy = "string",
ScaleSetPriority = "string",
SecurityProfile = new AzureNative.ContainerService.Inputs.AgentPoolSecurityProfileArgs
{
EnableSecureBoot = false,
EnableVTPM = false,
SshAccess = "string",
},
SpotMaxPrice = 0,
Tags =
{
{ "string", "string" },
},
OsDiskSizeGB = 0,
UpgradeSettings = new AzureNative.ContainerService.Inputs.AgentPoolUpgradeSettingsArgs
{
DrainTimeoutInMinutes = 0,
MaxSurge = "string",
MaxUnavailable = "string",
NodeSoakDurationInMinutes = 0,
UndrainableNodeBehavior = "string",
},
VirtualMachineNodesStatus = new[]
{
new AzureNative.ContainerService.Inputs.VirtualMachineNodesArgs
{
Count = 0,
Size = "string",
},
},
VirtualMachinesProfile = new AzureNative.ContainerService.Inputs.VirtualMachinesProfileArgs
{
Scale = new AzureNative.ContainerService.Inputs.ScaleProfileArgs
{
Manual = new[]
{
new AzureNative.ContainerService.Inputs.ManualScaleProfileArgs
{
Count = 0,
Size = "string",
},
},
},
},
VmSize = "string",
VnetSubnetID = "string",
WindowsProfile = new AzureNative.ContainerService.Inputs.AgentPoolWindowsProfileArgs
{
DisableOutboundNat = false,
},
WorkloadRuntime = "string",
});
example, err := containerservice.NewAgentPool(ctx, "azure-nativeAgentPoolResource", &containerservice.AgentPoolArgs{
ResourceGroupName: pulumi.String("string"),
ResourceName: pulumi.String("string"),
GpuProfile: &containerservice.GPUProfileArgs{
Driver: pulumi.String("string"),
},
Type: pulumi.String("string"),
CreationData: &containerservice.CreationDataArgs{
SourceResourceId: pulumi.String("string"),
},
EnableAutoScaling: pulumi.Bool(false),
EnableEncryptionAtHost: pulumi.Bool(false),
EnableFIPS: pulumi.Bool(false),
EnableNodePublicIP: pulumi.Bool(false),
EnableUltraSSD: pulumi.Bool(false),
GatewayProfile: &containerservice.AgentPoolGatewayProfileArgs{
PublicIPPrefixSize: pulumi.Int(0),
},
GpuInstanceProfile: pulumi.String("string"),
AgentPoolName: pulumi.String("string"),
HostGroupID: pulumi.String("string"),
KubeletConfig: &containerservice.KubeletConfigArgs{
AllowedUnsafeSysctls: pulumi.StringArray{
pulumi.String("string"),
},
ContainerLogMaxFiles: pulumi.Int(0),
ContainerLogMaxSizeMB: pulumi.Int(0),
CpuCfsQuota: pulumi.Bool(false),
CpuCfsQuotaPeriod: pulumi.String("string"),
CpuManagerPolicy: pulumi.String("string"),
FailSwapOn: pulumi.Bool(false),
ImageGcHighThreshold: pulumi.Int(0),
ImageGcLowThreshold: pulumi.Int(0),
PodMaxPids: pulumi.Int(0),
TopologyManagerPolicy: pulumi.String("string"),
},
KubeletDiskType: pulumi.String("string"),
LinuxOSConfig: &containerservice.LinuxOSConfigArgs{
SwapFileSizeMB: pulumi.Int(0),
Sysctls: &containerservice.SysctlConfigArgs{
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),
NetIpv4IpLocalPortRange: pulumi.String("string"),
NetIpv4NeighDefaultGcThresh1: pulumi.Int(0),
NetIpv4NeighDefaultGcThresh2: pulumi.Int(0),
NetIpv4NeighDefaultGcThresh3: pulumi.Int(0),
NetIpv4TcpFinTimeout: pulumi.Int(0),
NetIpv4TcpKeepaliveProbes: pulumi.Int(0),
NetIpv4TcpKeepaliveTime: pulumi.Int(0),
NetIpv4TcpMaxSynBacklog: pulumi.Int(0),
NetIpv4TcpMaxTwBuckets: pulumi.Int(0),
NetIpv4TcpTwReuse: pulumi.Bool(false),
NetIpv4TcpkeepaliveIntvl: pulumi.Int(0),
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),
MessageOfTheDay: pulumi.String("string"),
MinCount: pulumi.Int(0),
Mode: pulumi.String("string"),
NetworkProfile: &containerservice.AgentPoolNetworkProfileArgs{
AllowedHostPorts: containerservice.PortRangeArray{
&containerservice.PortRangeArgs{
PortEnd: pulumi.Int(0),
PortStart: pulumi.Int(0),
Protocol: pulumi.String("string"),
},
},
ApplicationSecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
NodePublicIPTags: containerservice.IPTagArray{
&containerservice.IPTagArgs{
IpTagType: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
},
NodeLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
NodePublicIPPrefixID: pulumi.String("string"),
NodeTaints: pulumi.StringArray{
pulumi.String("string"),
},
Count: pulumi.Int(0),
OsDiskType: pulumi.String("string"),
OrchestratorVersion: pulumi.String("string"),
OsSKU: pulumi.String("string"),
OsType: pulumi.String("string"),
PodIPAllocationMode: pulumi.String("string"),
PodSubnetID: pulumi.String("string"),
PowerState: &containerservice.PowerStateArgs{
Code: pulumi.String("string"),
},
ProximityPlacementGroupID: pulumi.String("string"),
CapacityReservationGroupID: pulumi.String("string"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
ScaleDownMode: pulumi.String("string"),
ScaleSetEvictionPolicy: pulumi.String("string"),
ScaleSetPriority: pulumi.String("string"),
SecurityProfile: &containerservice.AgentPoolSecurityProfileArgs{
EnableSecureBoot: pulumi.Bool(false),
EnableVTPM: pulumi.Bool(false),
SshAccess: pulumi.String("string"),
},
SpotMaxPrice: pulumi.Float64(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
OsDiskSizeGB: pulumi.Int(0),
UpgradeSettings: &containerservice.AgentPoolUpgradeSettingsArgs{
DrainTimeoutInMinutes: pulumi.Int(0),
MaxSurge: pulumi.String("string"),
MaxUnavailable: pulumi.String("string"),
NodeSoakDurationInMinutes: pulumi.Int(0),
UndrainableNodeBehavior: pulumi.String("string"),
},
VirtualMachineNodesStatus: containerservice.VirtualMachineNodesArray{
&containerservice.VirtualMachineNodesArgs{
Count: pulumi.Int(0),
Size: pulumi.String("string"),
},
},
VirtualMachinesProfile: &containerservice.VirtualMachinesProfileArgs{
Scale: &containerservice.ScaleProfileArgs{
Manual: containerservice.ManualScaleProfileArray{
&containerservice.ManualScaleProfileArgs{
Count: pulumi.Int(0),
Size: pulumi.String("string"),
},
},
},
},
VmSize: pulumi.String("string"),
VnetSubnetID: pulumi.String("string"),
WindowsProfile: &containerservice.AgentPoolWindowsProfileArgs{
DisableOutboundNat: pulumi.Bool(false),
},
WorkloadRuntime: pulumi.String("string"),
})
var azure_nativeAgentPoolResource = new com.pulumi.azurenative.containerservice.AgentPool("azure-nativeAgentPoolResource", com.pulumi.azurenative.containerservice.AgentPoolArgs.builder()
.resourceGroupName("string")
.resourceName("string")
.gpuProfile(GPUProfileArgs.builder()
.driver("string")
.build())
.type("string")
.creationData(CreationDataArgs.builder()
.sourceResourceId("string")
.build())
.enableAutoScaling(false)
.enableEncryptionAtHost(false)
.enableFIPS(false)
.enableNodePublicIP(false)
.enableUltraSSD(false)
.gatewayProfile(AgentPoolGatewayProfileArgs.builder()
.publicIPPrefixSize(0)
.build())
.gpuInstanceProfile("string")
.agentPoolName("string")
.hostGroupID("string")
.kubeletConfig(KubeletConfigArgs.builder()
.allowedUnsafeSysctls("string")
.containerLogMaxFiles(0)
.containerLogMaxSizeMB(0)
.cpuCfsQuota(false)
.cpuCfsQuotaPeriod("string")
.cpuManagerPolicy("string")
.failSwapOn(false)
.imageGcHighThreshold(0)
.imageGcLowThreshold(0)
.podMaxPids(0)
.topologyManagerPolicy("string")
.build())
.kubeletDiskType("string")
.linuxOSConfig(LinuxOSConfigArgs.builder()
.swapFileSizeMB(0)
.sysctls(SysctlConfigArgs.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)
.netIpv4IpLocalPortRange("string")
.netIpv4NeighDefaultGcThresh1(0)
.netIpv4NeighDefaultGcThresh2(0)
.netIpv4NeighDefaultGcThresh3(0)
.netIpv4TcpFinTimeout(0)
.netIpv4TcpKeepaliveProbes(0)
.netIpv4TcpKeepaliveTime(0)
.netIpv4TcpMaxSynBacklog(0)
.netIpv4TcpMaxTwBuckets(0)
.netIpv4TcpTwReuse(false)
.netIpv4TcpkeepaliveIntvl(0)
.netNetfilterNfConntrackBuckets(0)
.netNetfilterNfConntrackMax(0)
.vmMaxMapCount(0)
.vmSwappiness(0)
.vmVfsCachePressure(0)
.build())
.transparentHugePageDefrag("string")
.transparentHugePageEnabled("string")
.build())
.maxCount(0)
.maxPods(0)
.messageOfTheDay("string")
.minCount(0)
.mode("string")
.networkProfile(AgentPoolNetworkProfileArgs.builder()
.allowedHostPorts(PortRangeArgs.builder()
.portEnd(0)
.portStart(0)
.protocol("string")
.build())
.applicationSecurityGroups("string")
.nodePublicIPTags(IPTagArgs.builder()
.ipTagType("string")
.tag("string")
.build())
.build())
.nodeLabels(Map.of("string", "string"))
.nodePublicIPPrefixID("string")
.nodeTaints("string")
.count(0)
.osDiskType("string")
.orchestratorVersion("string")
.osSKU("string")
.osType("string")
.podIPAllocationMode("string")
.podSubnetID("string")
.powerState(PowerStateArgs.builder()
.code("string")
.build())
.proximityPlacementGroupID("string")
.capacityReservationGroupID("string")
.availabilityZones("string")
.scaleDownMode("string")
.scaleSetEvictionPolicy("string")
.scaleSetPriority("string")
.securityProfile(AgentPoolSecurityProfileArgs.builder()
.enableSecureBoot(false)
.enableVTPM(false)
.sshAccess("string")
.build())
.spotMaxPrice(0.0)
.tags(Map.of("string", "string"))
.osDiskSizeGB(0)
.upgradeSettings(AgentPoolUpgradeSettingsArgs.builder()
.drainTimeoutInMinutes(0)
.maxSurge("string")
.maxUnavailable("string")
.nodeSoakDurationInMinutes(0)
.undrainableNodeBehavior("string")
.build())
.virtualMachineNodesStatus(VirtualMachineNodesArgs.builder()
.count(0)
.size("string")
.build())
.virtualMachinesProfile(VirtualMachinesProfileArgs.builder()
.scale(ScaleProfileArgs.builder()
.manual(ManualScaleProfileArgs.builder()
.count(0)
.size("string")
.build())
.build())
.build())
.vmSize("string")
.vnetSubnetID("string")
.windowsProfile(AgentPoolWindowsProfileArgs.builder()
.disableOutboundNat(false)
.build())
.workloadRuntime("string")
.build());
azure_native_agent_pool_resource = azure_native.containerservice.AgentPool("azure-nativeAgentPoolResource",
resource_group_name="string",
resource_name_="string",
gpu_profile={
"driver": "string",
},
type="string",
creation_data={
"source_resource_id": "string",
},
enable_auto_scaling=False,
enable_encryption_at_host=False,
enable_fips=False,
enable_node_public_ip=False,
enable_ultra_ssd=False,
gateway_profile={
"public_ip_prefix_size": 0,
},
gpu_instance_profile="string",
agent_pool_name="string",
host_group_id="string",
kubelet_config={
"allowed_unsafe_sysctls": ["string"],
"container_log_max_files": 0,
"container_log_max_size_mb": 0,
"cpu_cfs_quota": False,
"cpu_cfs_quota_period": "string",
"cpu_manager_policy": "string",
"fail_swap_on": False,
"image_gc_high_threshold": 0,
"image_gc_low_threshold": 0,
"pod_max_pids": 0,
"topology_manager_policy": "string",
},
kubelet_disk_type="string",
linux_os_config={
"swap_file_size_mb": 0,
"sysctls": {
"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": "string",
"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_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_ipv4_tcpkeepalive_intvl": 0,
"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,
message_of_the_day="string",
min_count=0,
mode="string",
network_profile={
"allowed_host_ports": [{
"port_end": 0,
"port_start": 0,
"protocol": "string",
}],
"application_security_groups": ["string"],
"node_public_ip_tags": [{
"ip_tag_type": "string",
"tag": "string",
}],
},
node_labels={
"string": "string",
},
node_public_ip_prefix_id="string",
node_taints=["string"],
count=0,
os_disk_type="string",
orchestrator_version="string",
os_sku="string",
os_type="string",
pod_ip_allocation_mode="string",
pod_subnet_id="string",
power_state={
"code": "string",
},
proximity_placement_group_id="string",
capacity_reservation_group_id="string",
availability_zones=["string"],
scale_down_mode="string",
scale_set_eviction_policy="string",
scale_set_priority="string",
security_profile={
"enable_secure_boot": False,
"enable_vtpm": False,
"ssh_access": "string",
},
spot_max_price=0,
tags={
"string": "string",
},
os_disk_size_gb=0,
upgrade_settings={
"drain_timeout_in_minutes": 0,
"max_surge": "string",
"max_unavailable": "string",
"node_soak_duration_in_minutes": 0,
"undrainable_node_behavior": "string",
},
virtual_machine_nodes_status=[{
"count": 0,
"size": "string",
}],
virtual_machines_profile={
"scale": {
"manual": [{
"count": 0,
"size": "string",
}],
},
},
vm_size="string",
vnet_subnet_id="string",
windows_profile={
"disable_outbound_nat": False,
},
workload_runtime="string")
const azure_nativeAgentPoolResource = new azure_native.containerservice.AgentPool("azure-nativeAgentPoolResource", {
resourceGroupName: "string",
resourceName: "string",
gpuProfile: {
driver: "string",
},
type: "string",
creationData: {
sourceResourceId: "string",
},
enableAutoScaling: false,
enableEncryptionAtHost: false,
enableFIPS: false,
enableNodePublicIP: false,
enableUltraSSD: false,
gatewayProfile: {
publicIPPrefixSize: 0,
},
gpuInstanceProfile: "string",
agentPoolName: "string",
hostGroupID: "string",
kubeletConfig: {
allowedUnsafeSysctls: ["string"],
containerLogMaxFiles: 0,
containerLogMaxSizeMB: 0,
cpuCfsQuota: false,
cpuCfsQuotaPeriod: "string",
cpuManagerPolicy: "string",
failSwapOn: false,
imageGcHighThreshold: 0,
imageGcLowThreshold: 0,
podMaxPids: 0,
topologyManagerPolicy: "string",
},
kubeletDiskType: "string",
linuxOSConfig: {
swapFileSizeMB: 0,
sysctls: {
fsAioMaxNr: 0,
fsFileMax: 0,
fsInotifyMaxUserWatches: 0,
fsNrOpen: 0,
kernelThreadsMax: 0,
netCoreNetdevMaxBacklog: 0,
netCoreOptmemMax: 0,
netCoreRmemDefault: 0,
netCoreRmemMax: 0,
netCoreSomaxconn: 0,
netCoreWmemDefault: 0,
netCoreWmemMax: 0,
netIpv4IpLocalPortRange: "string",
netIpv4NeighDefaultGcThresh1: 0,
netIpv4NeighDefaultGcThresh2: 0,
netIpv4NeighDefaultGcThresh3: 0,
netIpv4TcpFinTimeout: 0,
netIpv4TcpKeepaliveProbes: 0,
netIpv4TcpKeepaliveTime: 0,
netIpv4TcpMaxSynBacklog: 0,
netIpv4TcpMaxTwBuckets: 0,
netIpv4TcpTwReuse: false,
netIpv4TcpkeepaliveIntvl: 0,
netNetfilterNfConntrackBuckets: 0,
netNetfilterNfConntrackMax: 0,
vmMaxMapCount: 0,
vmSwappiness: 0,
vmVfsCachePressure: 0,
},
transparentHugePageDefrag: "string",
transparentHugePageEnabled: "string",
},
maxCount: 0,
maxPods: 0,
messageOfTheDay: "string",
minCount: 0,
mode: "string",
networkProfile: {
allowedHostPorts: [{
portEnd: 0,
portStart: 0,
protocol: "string",
}],
applicationSecurityGroups: ["string"],
nodePublicIPTags: [{
ipTagType: "string",
tag: "string",
}],
},
nodeLabels: {
string: "string",
},
nodePublicIPPrefixID: "string",
nodeTaints: ["string"],
count: 0,
osDiskType: "string",
orchestratorVersion: "string",
osSKU: "string",
osType: "string",
podIPAllocationMode: "string",
podSubnetID: "string",
powerState: {
code: "string",
},
proximityPlacementGroupID: "string",
capacityReservationGroupID: "string",
availabilityZones: ["string"],
scaleDownMode: "string",
scaleSetEvictionPolicy: "string",
scaleSetPriority: "string",
securityProfile: {
enableSecureBoot: false,
enableVTPM: false,
sshAccess: "string",
},
spotMaxPrice: 0,
tags: {
string: "string",
},
osDiskSizeGB: 0,
upgradeSettings: {
drainTimeoutInMinutes: 0,
maxSurge: "string",
maxUnavailable: "string",
nodeSoakDurationInMinutes: 0,
undrainableNodeBehavior: "string",
},
virtualMachineNodesStatus: [{
count: 0,
size: "string",
}],
virtualMachinesProfile: {
scale: {
manual: [{
count: 0,
size: "string",
}],
},
},
vmSize: "string",
vnetSubnetID: "string",
windowsProfile: {
disableOutboundNat: false,
},
workloadRuntime: "string",
});
type: azure-native:containerservice:AgentPool
properties:
agentPoolName: string
availabilityZones:
- string
capacityReservationGroupID: string
count: 0
creationData:
sourceResourceId: string
enableAutoScaling: false
enableEncryptionAtHost: false
enableFIPS: false
enableNodePublicIP: false
enableUltraSSD: false
gatewayProfile:
publicIPPrefixSize: 0
gpuInstanceProfile: string
gpuProfile:
driver: string
hostGroupID: string
kubeletConfig:
allowedUnsafeSysctls:
- string
containerLogMaxFiles: 0
containerLogMaxSizeMB: 0
cpuCfsQuota: false
cpuCfsQuotaPeriod: string
cpuManagerPolicy: string
failSwapOn: false
imageGcHighThreshold: 0
imageGcLowThreshold: 0
podMaxPids: 0
topologyManagerPolicy: string
kubeletDiskType: string
linuxOSConfig:
swapFileSizeMB: 0
sysctls:
fsAioMaxNr: 0
fsFileMax: 0
fsInotifyMaxUserWatches: 0
fsNrOpen: 0
kernelThreadsMax: 0
netCoreNetdevMaxBacklog: 0
netCoreOptmemMax: 0
netCoreRmemDefault: 0
netCoreRmemMax: 0
netCoreSomaxconn: 0
netCoreWmemDefault: 0
netCoreWmemMax: 0
netIpv4IpLocalPortRange: string
netIpv4NeighDefaultGcThresh1: 0
netIpv4NeighDefaultGcThresh2: 0
netIpv4NeighDefaultGcThresh3: 0
netIpv4TcpFinTimeout: 0
netIpv4TcpKeepaliveProbes: 0
netIpv4TcpKeepaliveTime: 0
netIpv4TcpMaxSynBacklog: 0
netIpv4TcpMaxTwBuckets: 0
netIpv4TcpTwReuse: false
netIpv4TcpkeepaliveIntvl: 0
netNetfilterNfConntrackBuckets: 0
netNetfilterNfConntrackMax: 0
vmMaxMapCount: 0
vmSwappiness: 0
vmVfsCachePressure: 0
transparentHugePageDefrag: string
transparentHugePageEnabled: string
maxCount: 0
maxPods: 0
messageOfTheDay: string
minCount: 0
mode: string
networkProfile:
allowedHostPorts:
- portEnd: 0
portStart: 0
protocol: string
applicationSecurityGroups:
- string
nodePublicIPTags:
- ipTagType: string
tag: string
nodeLabels:
string: string
nodePublicIPPrefixID: string
nodeTaints:
- string
orchestratorVersion: string
osDiskSizeGB: 0
osDiskType: string
osSKU: string
osType: string
podIPAllocationMode: string
podSubnetID: string
powerState:
code: string
proximityPlacementGroupID: string
resourceGroupName: string
resourceName: string
scaleDownMode: string
scaleSetEvictionPolicy: string
scaleSetPriority: string
securityProfile:
enableSecureBoot: false
enableVTPM: false
sshAccess: string
spotMaxPrice: 0
tags:
string: string
type: string
upgradeSettings:
drainTimeoutInMinutes: 0
maxSurge: string
maxUnavailable: string
nodeSoakDurationInMinutes: 0
undrainableNodeBehavior: string
virtualMachineNodesStatus:
- count: 0
size: string
virtualMachinesProfile:
scale:
manual:
- count: 0
size: string
vmSize: string
vnetSubnetID: string
windowsProfile:
disableOutboundNat: false
workloadRuntime: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AgentPool resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Agent
Pool stringName - The name of the agent pool.
- Availability
Zones List<string> - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- Capacity
Reservation stringGroup ID - AKS will associate the specified agent pool with the Capacity Reservation Group.
- Count int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- Creation
Data Pulumi.Azure Native. Container Service. Inputs. Creation Data - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- Enable
Auto boolScaling - Whether to enable auto-scaler
- Enable
Encryption boolAt Host - Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- Enable
FIPS bool - Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- Enable
Node boolPublic IP - Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- Enable
Ultra boolSSD - Whether to enable UltraSSD
- Gateway
Profile Pulumi.Azure Native. Container Service. Inputs. Agent Pool Gateway Profile - Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- Gpu
Instance string | Pulumi.Profile Azure Native. Container Service. GPUInstance Profile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- Gpu
Profile Pulumi.Azure Native. Container Service. Inputs. GPUProfile - GPU settings for the Agent Pool.
- Host
Group stringID - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- Kubelet
Config Pulumi.Azure Native. Container Service. Inputs. Kubelet Config - The Kubelet configuration on the agent pool nodes.
- Kubelet
Disk string | Pulumi.Type Azure Native. Container Service. Kubelet Disk Type - Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- Linux
OSConfig Pulumi.Azure Native. Container Service. Inputs. Linux OSConfig - The OS configuration of Linux agent nodes.
- Max
Count int - The maximum number of nodes for auto-scaling
- Max
Pods int - The maximum number of pods that can run on a node.
- Message
Of stringThe Day - Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- Min
Count int - The minimum number of nodes for auto-scaling
- Mode
string | Pulumi.
Azure Native. Container Service. Agent Pool Mode - The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- Network
Profile Pulumi.Azure Native. Container Service. Inputs. Agent Pool Network Profile - Network-related settings of an agent pool.
- Node
Labels Dictionary<string, string> - The node labels to be persisted across all nodes in agent pool.
- Node
Public stringIPPrefix ID - The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- Node
Taints List<string> - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- Orchestrator
Version string - The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- Os
Disk intSize GB - OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- Os
Disk string | Pulumi.Type Azure Native. Container Service. OSDisk Type - The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- Os
SKU string | Pulumi.Azure Native. Container Service. OSSKU - Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- Os
Type string | Pulumi.Azure Native. Container Service. OSType - The operating system type. The default is Linux.
- Pod
IPAllocation string | Pulumi.Mode Azure Native. Container Service. Pod IPAllocation Mode - Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- Pod
Subnet stringID - The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- Power
State Pulumi.Azure Native. Container Service. Inputs. Power State - Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- Proximity
Placement stringGroup ID - The ID for Proximity Placement Group.
- Scale
Down string | Pulumi.Mode Azure Native. Container Service. Scale Down Mode - The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- Scale
Set string | Pulumi.Eviction Policy Azure Native. Container Service. Scale Set Eviction Policy - The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- Scale
Set string | Pulumi.Priority Azure Native. Container Service. Scale Set Priority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- Security
Profile Pulumi.Azure Native. Container Service. Inputs. Agent Pool Security Profile - The security settings of an agent pool.
- Spot
Max doublePrice - The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Dictionary<string, string>
- The tags to be persisted on the agent pool virtual machine scale set.
- Type
string | Pulumi.
Azure Native. Container Service. Agent Pool Type - The type of Agent Pool.
- Upgrade
Settings Pulumi.Azure Native. Container Service. Inputs. Agent Pool Upgrade Settings - Settings for upgrading the agentpool
- Virtual
Machine List<Pulumi.Nodes Status Azure Native. Container Service. Inputs. Virtual Machine Nodes> - The status of nodes in a VirtualMachines agent pool.
- Virtual
Machines Pulumi.Profile Azure Native. Container Service. Inputs. Virtual Machines Profile - Specifications on VirtualMachines agent pool.
- Vm
Size string - The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- Vnet
Subnet stringID - The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- Windows
Profile Pulumi.Azure Native. Container Service. Inputs. Agent Pool Windows Profile - The Windows agent pool's specific profile.
- Workload
Runtime string | Pulumi.Azure Native. Container Service. Workload Runtime - Determines the type of workload a node can run.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Agent
Pool stringName - The name of the agent pool.
- Availability
Zones []string - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- Capacity
Reservation stringGroup ID - AKS will associate the specified agent pool with the Capacity Reservation Group.
- Count int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- Creation
Data CreationData Args - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- Enable
Auto boolScaling - Whether to enable auto-scaler
- Enable
Encryption boolAt Host - Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- Enable
FIPS bool - Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- Enable
Node boolPublic IP - Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- Enable
Ultra boolSSD - Whether to enable UltraSSD
- Gateway
Profile AgentPool Gateway Profile Args - Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- Gpu
Instance string | GPUInstanceProfile Profile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- Gpu
Profile GPUProfileArgs - GPU settings for the Agent Pool.
- Host
Group stringID - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- Kubelet
Config KubeletConfig Args - The Kubelet configuration on the agent pool nodes.
- Kubelet
Disk string | KubeletType Disk Type - Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- Linux
OSConfig LinuxOSConfig Args - The OS configuration of Linux agent nodes.
- Max
Count int - The maximum number of nodes for auto-scaling
- Max
Pods int - The maximum number of pods that can run on a node.
- Message
Of stringThe Day - Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- Min
Count int - The minimum number of nodes for auto-scaling
- Mode
string | Agent
Pool Mode - The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- Network
Profile AgentPool Network Profile Args - Network-related settings of an agent pool.
- Node
Labels map[string]string - The node labels to be persisted across all nodes in agent pool.
- Node
Public stringIPPrefix ID - The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- Node
Taints []string - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- Orchestrator
Version string - The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- Os
Disk intSize GB - OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- Os
Disk string | OSDiskType Type - The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- Os
SKU string | OSSKU - Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- Os
Type string | OSType - The operating system type. The default is Linux.
- Pod
IPAllocation string | PodMode IPAllocation Mode - Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- Pod
Subnet stringID - The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- Power
State PowerState Args - Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- Proximity
Placement stringGroup ID - The ID for Proximity Placement Group.
- Scale
Down string | ScaleMode Down Mode - The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- Scale
Set string | ScaleEviction Policy Set Eviction Policy - The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- Scale
Set string | ScalePriority Set Priority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- Security
Profile AgentPool Security Profile Args - The security settings of an agent pool.
- Spot
Max float64Price - The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- map[string]string
- The tags to be persisted on the agent pool virtual machine scale set.
- Type
string | Agent
Pool Type - The type of Agent Pool.
- Upgrade
Settings AgentPool Upgrade Settings Args - Settings for upgrading the agentpool
- Virtual
Machine []VirtualNodes Status Machine Nodes Args - The status of nodes in a VirtualMachines agent pool.
- Virtual
Machines VirtualProfile Machines Profile Args - Specifications on VirtualMachines agent pool.
- Vm
Size string - The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- Vnet
Subnet stringID - The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- Windows
Profile AgentPool Windows Profile Args - The Windows agent pool's specific profile.
- Workload
Runtime string | WorkloadRuntime - Determines the type of workload a node can run.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- agent
Pool StringName - The name of the agent pool.
- availability
Zones List<String> - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity
Reservation StringGroup ID - AKS will associate the specified agent pool with the Capacity Reservation Group.
- count Integer
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation
Data CreationData - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable
Auto BooleanScaling - Whether to enable auto-scaler
- enable
Encryption BooleanAt Host - Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable
FIPS Boolean - Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable
Node BooleanPublic IP - Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable
Ultra BooleanSSD - Whether to enable UltraSSD
- gateway
Profile AgentPool Gateway Profile - Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu
Instance String | GPUInstanceProfile Profile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu
Profile GPUProfile - GPU settings for the Agent Pool.
- host
Group StringID - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet
Config KubeletConfig - The Kubelet configuration on the agent pool nodes.
- kubelet
Disk String | KubeletType Disk Type - Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux
OSConfig LinuxOSConfig - The OS configuration of Linux agent nodes.
- max
Count Integer - The maximum number of nodes for auto-scaling
- max
Pods Integer - The maximum number of pods that can run on a node.
- message
Of StringThe Day - Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min
Count Integer - The minimum number of nodes for auto-scaling
- mode
String | Agent
Pool Mode - The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network
Profile AgentPool Network Profile - Network-related settings of an agent pool.
- node
Labels Map<String,String> - The node labels to be persisted across all nodes in agent pool.
- node
Public StringIPPrefix ID - The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node
Taints List<String> - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator
Version String - The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os
Disk IntegerSize GB - OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os
Disk String | OSDiskType Type - The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os
SKU String | OSSKU - Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os
Type String | OSType - The operating system type. The default is Linux.
- pod
IPAllocation String | PodMode IPAllocation Mode - Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod
Subnet StringID - The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power
State PowerState - Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity
Placement StringGroup ID - The ID for Proximity Placement Group.
- scale
Down String | ScaleMode Down Mode - The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale
Set String | ScaleEviction Policy Set Eviction Policy - The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale
Set String | ScalePriority Set Priority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security
Profile AgentPool Security Profile - The security settings of an agent pool.
- spot
Max DoublePrice - The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Map<String,String>
- The tags to be persisted on the agent pool virtual machine scale set.
- type
String | Agent
Pool Type - The type of Agent Pool.
- upgrade
Settings AgentPool Upgrade Settings - Settings for upgrading the agentpool
- virtual
Machine List<VirtualNodes Status Machine Nodes> - The status of nodes in a VirtualMachines agent pool.
- virtual
Machines VirtualProfile Machines Profile - Specifications on VirtualMachines agent pool.
- vm
Size String - The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet
Subnet StringID - The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows
Profile AgentPool Windows Profile - The Windows agent pool's specific profile.
- workload
Runtime String | WorkloadRuntime - Determines the type of workload a node can run.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the managed cluster resource.
- agent
Pool stringName - The name of the agent pool.
- availability
Zones string[] - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity
Reservation stringGroup ID - AKS will associate the specified agent pool with the Capacity Reservation Group.
- count number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation
Data CreationData - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable
Auto booleanScaling - Whether to enable auto-scaler
- enable
Encryption booleanAt Host - Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable
FIPS boolean - Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable
Node booleanPublic IP - Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable
Ultra booleanSSD - Whether to enable UltraSSD
- gateway
Profile AgentPool Gateway Profile - Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu
Instance string | GPUInstanceProfile Profile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu
Profile GPUProfile - GPU settings for the Agent Pool.
- host
Group stringID - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet
Config KubeletConfig - The Kubelet configuration on the agent pool nodes.
- kubelet
Disk string | KubeletType Disk Type - Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux
OSConfig LinuxOSConfig - The OS configuration of Linux agent nodes.
- max
Count number - The maximum number of nodes for auto-scaling
- max
Pods number - The maximum number of pods that can run on a node.
- message
Of stringThe Day - Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min
Count number - The minimum number of nodes for auto-scaling
- mode
string | Agent
Pool Mode - The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network
Profile AgentPool Network Profile - Network-related settings of an agent pool.
- node
Labels {[key: string]: string} - The node labels to be persisted across all nodes in agent pool.
- node
Public stringIPPrefix ID - The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node
Taints string[] - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator
Version string - The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os
Disk numberSize GB - OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os
Disk string | OSDiskType Type - The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os
SKU string | OSSKU - Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os
Type string | OSType - The operating system type. The default is Linux.
- pod
IPAllocation string | PodMode IPAllocation Mode - Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod
Subnet stringID - The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power
State PowerState - Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity
Placement stringGroup ID - The ID for Proximity Placement Group.
- scale
Down string | ScaleMode Down Mode - The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale
Set string | ScaleEviction Policy Set Eviction Policy - The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale
Set string | ScalePriority Set Priority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security
Profile AgentPool Security Profile - The security settings of an agent pool.
- spot
Max numberPrice - The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- {[key: string]: string}
- The tags to be persisted on the agent pool virtual machine scale set.
- type
string | Agent
Pool Type - The type of Agent Pool.
- upgrade
Settings AgentPool Upgrade Settings - Settings for upgrading the agentpool
- virtual
Machine VirtualNodes Status Machine Nodes[] - The status of nodes in a VirtualMachines agent pool.
- virtual
Machines VirtualProfile Machines Profile - Specifications on VirtualMachines agent pool.
- vm
Size string - The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet
Subnet stringID - The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows
Profile AgentPool Windows Profile - The Windows agent pool's specific profile.
- workload
Runtime string | WorkloadRuntime - Determines the type of workload a node can run.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the managed cluster resource.
- agent_
pool_ strname - The name of the agent pool.
- availability_
zones Sequence[str] - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity_
reservation_ strgroup_ id - AKS will associate the specified agent pool with the Capacity Reservation Group.
- count int
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation_
data CreationData Args - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable_
auto_ boolscaling - Whether to enable auto-scaler
- enable_
encryption_ boolat_ host - Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable_
fips bool - Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable_
node_ boolpublic_ ip - Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable_
ultra_ boolssd - Whether to enable UltraSSD
- gateway_
profile AgentPool Gateway Profile Args - Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu_
instance_ str | GPUInstanceprofile Profile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu_
profile GPUProfileArgs - GPU settings for the Agent Pool.
- host_
group_ strid - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet_
config KubeletConfig Args - The Kubelet configuration on the agent pool nodes.
- kubelet_
disk_ str | Kubelettype Disk Type - Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux_
os_ Linuxconfig OSConfig Args - The OS configuration of Linux agent nodes.
- max_
count int - The maximum number of nodes for auto-scaling
- max_
pods int - The maximum number of pods that can run on a node.
- message_
of_ strthe_ day - Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min_
count int - The minimum number of nodes for auto-scaling
- mode
str | Agent
Pool Mode - The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network_
profile AgentPool Network Profile Args - Network-related settings of an agent pool.
- node_
labels Mapping[str, str] - The node labels to be persisted across all nodes in agent pool.
- node_
public_ strip_ prefix_ id - The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node_
taints Sequence[str] - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator_
version str - The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os_
disk_ intsize_ gb - OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os_
disk_ str | OSDisktype Type - The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os_
sku str | OSSKU - Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os_
type str | OSType - The operating system type. The default is Linux.
- pod_
ip_ str | Podallocation_ mode IPAllocation Mode - Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod_
subnet_ strid - The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power_
state PowerState Args - Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity_
placement_ strgroup_ id - The ID for Proximity Placement Group.
- scale_
down_ str | Scalemode Down Mode - The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale_
set_ str | Scaleeviction_ policy Set Eviction Policy - The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale_
set_ str | Scalepriority Set Priority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security_
profile AgentPool Security Profile Args - The security settings of an agent pool.
- spot_
max_ floatprice - The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Mapping[str, str]
- The tags to be persisted on the agent pool virtual machine scale set.
- type
str | Agent
Pool Type - The type of Agent Pool.
- upgrade_
settings AgentPool Upgrade Settings Args - Settings for upgrading the agentpool
- virtual_
machine_ Sequence[Virtualnodes_ status Machine Nodes Args] - The status of nodes in a VirtualMachines agent pool.
- virtual_
machines_ Virtualprofile Machines Profile Args - Specifications on VirtualMachines agent pool.
- vm_
size str - The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet_
subnet_ strid - The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows_
profile AgentPool Windows Profile Args - The Windows agent pool's specific profile.
- workload_
runtime str | WorkloadRuntime - Determines the type of workload a node can run.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- agent
Pool StringName - The name of the agent pool.
- availability
Zones List<String> - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
- capacity
Reservation StringGroup ID - AKS will associate the specified agent pool with the Capacity Reservation Group.
- count Number
- Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
- creation
Data Property Map - CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot.
- enable
Auto BooleanScaling - Whether to enable auto-scaler
- enable
Encryption BooleanAt Host - Whether to enable host based OS and data drive encryption. This is only supported on certain VM sizes and in certain Azure regions. For more information, see: https://docs.microsoft.com/azure/aks/enable-host-encryption
- enable
FIPS Boolean - Whether to use a FIPS-enabled OS. See Add a FIPS-enabled node pool for more details.
- enable
Node BooleanPublic IP - Whether each node is allocated its own public IP. Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see assigning a public IP per node. The default is false.
- enable
Ultra BooleanSSD - Whether to enable UltraSSD
- gateway
Profile Property Map - Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is not Gateway.
- gpu
Instance String | "MIG1g" | "MIG2g" | "MIG3g" | "MIG4g" | "MIG7g"Profile - GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
- gpu
Profile Property Map - GPU settings for the Agent Pool.
- host
Group StringID - The fully qualified resource ID of the Dedicated Host Group to provision virtual machines from, used only in creation scenario and not allowed to changed once set. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see Azure dedicated hosts.
- kubelet
Config Property Map - The Kubelet configuration on the agent pool nodes.
- kubelet
Disk String | "OS" | "Temporary"Type - Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
- linux
OSConfig Property Map - The OS configuration of Linux agent nodes.
- max
Count Number - The maximum number of nodes for auto-scaling
- max
Pods Number - The maximum number of pods that can run on a node.
- message
Of StringThe Day - Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e., will be printed raw and not be executed as a script).
- min
Count Number - The minimum number of nodes for auto-scaling
- mode String | "System" | "User" | "Gateway"
- The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
- network
Profile Property Map - Network-related settings of an agent pool.
- node
Labels Map<String> - The node labels to be persisted across all nodes in agent pool.
- node
Public StringIPPrefix ID - The public IP prefix ID which VM nodes should use IPs from. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
- node
Taints List<String> - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
- orchestrator
Version String - The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see upgrading a node pool.
- os
Disk NumberSize GB - OS Disk Size in GB to be used to specify the disk size for every machine in the master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified.
- os
Disk String | "Managed" | "Ephemeral"Type - The OS disk type to be used for machines in the agent pool. The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
- os
SKU String | "Ubuntu" | "AzureLinux" | "Azure Linux3" | "CBLMariner" | "Windows2019" | "Windows2022" | "Ubuntu2204" - Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
- os
Type String | "Linux" | "Windows" - The operating system type. The default is Linux.
- pod
IPAllocation String | "DynamicMode Individual" | "Static Block" - Pod IP Allocation Mode. The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
- pod
Subnet StringID - The ID of the subnet which pods will join when launched. If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- power
State Property Map - Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be stopped if it is Running and provisioning state is Succeeded
- proximity
Placement StringGroup ID - The ID for Proximity Placement Group.
- scale
Down String | "Delete" | "Deallocate"Mode - The scale down mode to use when scaling the Agent Pool. This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
- scale
Set String | "Delete" | "Deallocate"Eviction Policy - The Virtual Machine Scale Set eviction policy to use. This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is 'Delete'.
- scale
Set String | "Spot" | "Regular"Priority - The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
- security
Profile Property Map - The security settings of an agent pool.
- spot
Max NumberPrice - The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any on-demand price. For more details on spot pricing, see spot VMs pricing
- Map<String>
- The tags to be persisted on the agent pool virtual machine scale set.
- type
String | "Virtual
Machine Scale Sets" | "Availability Set" | "Virtual Machines" - The type of Agent Pool.
- upgrade
Settings Property Map - Settings for upgrading the agentpool
- virtual
Machine List<Property Map>Nodes Status - The status of nodes in a VirtualMachines agent pool.
- virtual
Machines Property MapProfile - Specifications on VirtualMachines agent pool.
- vm
Size String - The size of the agent pool VMs. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
- vnet
Subnet StringID - The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
- windows
Profile Property Map - The Windows agent pool's specific profile.
- workload
Runtime String | "OCIContainer" | "WasmWasi" - Determines the type of workload a node can run.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentPool resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Orchestrator stringVersion - The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- ETag string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- 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.
- Node
Image stringVersion - The version of node image
- Provisioning
State string - The current deployment or provisioning state.
- Status
Pulumi.
Azure Native. Container Service. Outputs. Agent Pool Status Response - Contains read-only information about the Agent Pool.
- Azure
Api stringVersion - The Azure API version of the resource.
- Current
Orchestrator stringVersion - The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- ETag string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- 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.
- Node
Image stringVersion - The version of node image
- Provisioning
State string - The current deployment or provisioning state.
- Status
Agent
Pool Status Response - Contains read-only information about the Agent Pool.
- azure
Api StringVersion - The Azure API version of the resource.
- current
Orchestrator StringVersion - The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e
Tag String - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- 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.
- node
Image StringVersion - The version of node image
- provisioning
State String - The current deployment or provisioning state.
- status
Agent
Pool Status Response - Contains read-only information about the Agent Pool.
- azure
Api stringVersion - The Azure API version of the resource.
- current
Orchestrator stringVersion - The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e
Tag string - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- 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.
- node
Image stringVersion - The version of node image
- provisioning
State string - The current deployment or provisioning state.
- status
Agent
Pool Status Response - Contains read-only information about the Agent Pool.
- azure_
api_ strversion - The Azure API version of the resource.
- current_
orchestrator_ strversion - The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e_
tag str - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- 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_ strversion - The version of node image
- provisioning_
state str - The current deployment or provisioning state.
- status
Agent
Pool Status Response - Contains read-only information about the Agent Pool.
- azure
Api StringVersion - The Azure API version of the resource.
- current
Orchestrator StringVersion - The version of Kubernetes the Agent Pool is running. If orchestratorVersion is a fully specified version <major.minor.patch>, this field will be exactly equal to it. If orchestratorVersion is <major.minor>, this field will contain the full <major.minor.patch> version being used.
- e
Tag String - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- 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.
- node
Image StringVersion - The version of node image
- provisioning
State String - The current deployment or provisioning state.
- status Property Map
- Contains read-only information about the Agent Pool.
Supporting Types
AgentPoolGatewayProfile, AgentPoolGatewayProfileArgs
Profile of the managed cluster gateway agent pool.- Public
IPPrefix intSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- Public
IPPrefix intSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public
IPPrefix IntegerSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public
IPPrefix numberSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public_
ip_ intprefix_ size - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public
IPPrefix NumberSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
AgentPoolGatewayProfileResponse, AgentPoolGatewayProfileResponseArgs
Profile of the managed cluster gateway agent pool.- Public
IPPrefix intSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- Public
IPPrefix intSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public
IPPrefix IntegerSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public
IPPrefix numberSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public_
ip_ intprefix_ size - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
- public
IPPrefix NumberSize - The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8 nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
AgentPoolMode, AgentPoolModeArgs
- System
- SystemSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
- User
- UserUser agent pools are primarily for hosting your application pods.
- Gateway
- GatewayGateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
- Agent
Pool Mode System - SystemSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
- Agent
Pool Mode User - UserUser agent pools are primarily for hosting your application pods.
- Agent
Pool Mode Gateway - GatewayGateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
- System
- SystemSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
- User
- UserUser agent pools are primarily for hosting your application pods.
- Gateway
- GatewayGateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
- System
- SystemSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
- User
- UserUser agent pools are primarily for hosting your application pods.
- Gateway
- GatewayGateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
- SYSTEM
- SystemSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
- USER
- UserUser agent pools are primarily for hosting your application pods.
- GATEWAY
- GatewayGateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
- "System"
- SystemSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory.
- "User"
- UserUser agent pools are primarily for hosting your application pods.
- "Gateway"
- GatewayGateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
AgentPoolNetworkProfile, AgentPoolNetworkProfileArgs
Network settings of an agent pool.- Allowed
Host List<Pulumi.Ports Azure Native. Container Service. Inputs. Port Range> - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- Application
Security List<string>Groups - The IDs of the application security groups which agent pool will associate when created.
-
List<Pulumi.
Azure Native. Container Service. Inputs. IPTag> - IPTags of instance-level public IPs.
- Allowed
Host []PortPorts Range - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- Application
Security []stringGroups - The IDs of the application security groups which agent pool will associate when created.
- []IPTag
- IPTags of instance-level public IPs.
- allowed
Host List<PortPorts Range> - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application
Security List<String>Groups - The IDs of the application security groups which agent pool will associate when created.
- List<IPTag>
- IPTags of instance-level public IPs.
- allowed
Host PortPorts Range[] - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application
Security string[]Groups - The IDs of the application security groups which agent pool will associate when created.
- IPTag[]
- IPTags of instance-level public IPs.
- allowed_
host_ Sequence[Portports Range] - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application_
security_ Sequence[str]groups - The IDs of the application security groups which agent pool will associate when created.
- Sequence[IPTag]
- IPTags of instance-level public IPs.
- allowed
Host List<Property Map>Ports - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application
Security List<String>Groups - The IDs of the application security groups which agent pool will associate when created.
- List<Property Map>
- IPTags of instance-level public IPs.
AgentPoolNetworkProfileResponse, AgentPoolNetworkProfileResponseArgs
Network settings of an agent pool.- Allowed
Host List<Pulumi.Ports Azure Native. Container Service. Inputs. Port Range Response> - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- Application
Security List<string>Groups - The IDs of the application security groups which agent pool will associate when created.
-
List<Pulumi.
Azure Native. Container Service. Inputs. IPTag Response> - IPTags of instance-level public IPs.
- Allowed
Host []PortPorts Range Response - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- Application
Security []stringGroups - The IDs of the application security groups which agent pool will associate when created.
-
[]IPTag
Response - IPTags of instance-level public IPs.
- allowed
Host List<PortPorts Range Response> - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application
Security List<String>Groups - The IDs of the application security groups which agent pool will associate when created.
-
List<IPTag
Response> - IPTags of instance-level public IPs.
- allowed
Host PortPorts Range Response[] - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application
Security string[]Groups - The IDs of the application security groups which agent pool will associate when created.
-
IPTag
Response[] - IPTags of instance-level public IPs.
- allowed_
host_ Sequence[Portports Range Response] - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application_
security_ Sequence[str]groups - The IDs of the application security groups which agent pool will associate when created.
-
Sequence[IPTag
Response] - IPTags of instance-level public IPs.
- allowed
Host List<Property Map>Ports - The port ranges that are allowed to access. The specified ranges are allowed to overlap.
- application
Security List<String>Groups - The IDs of the application security groups which agent pool will associate when created.
- List<Property Map>
- IPTags of instance-level public IPs.
AgentPoolSSHAccess, AgentPoolSSHAccessArgs
- Local
User - LocalUserCan SSH onto the node as a local user using private key.
- Disabled
- DisabledSSH service will be turned off on the node.
- Agent
Pool SSHAccess Local User - LocalUserCan SSH onto the node as a local user using private key.
- Agent
Pool SSHAccess Disabled - DisabledSSH service will be turned off on the node.
- Local
User - LocalUserCan SSH onto the node as a local user using private key.
- Disabled
- DisabledSSH service will be turned off on the node.
- Local
User - LocalUserCan SSH onto the node as a local user using private key.
- Disabled
- DisabledSSH service will be turned off on the node.
- LOCAL_USER
- LocalUserCan SSH onto the node as a local user using private key.
- DISABLED
- DisabledSSH service will be turned off on the node.
- "Local
User" - LocalUserCan SSH onto the node as a local user using private key.
- "Disabled"
- DisabledSSH service will be turned off on the node.
AgentPoolSecurityProfile, AgentPoolSecurityProfileArgs
The security settings of an agent pool.- Enable
Secure boolBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Enable
VTPM bool - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Ssh
Access string | Pulumi.Azure Native. Container Service. Agent Pool SSHAccess - SSH access method of an agent pool.
- Enable
Secure boolBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Enable
VTPM bool - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Ssh
Access string | AgentPool SSHAccess - SSH access method of an agent pool.
- enable
Secure BooleanBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable
VTPM Boolean - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh
Access String | AgentPool SSHAccess - SSH access method of an agent pool.
- enable
Secure booleanBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable
VTPM boolean - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh
Access string | AgentPool SSHAccess - SSH access method of an agent pool.
- enable_
secure_ boolboot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable_
vtpm bool - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh_
access str | AgentPool SSHAccess - SSH access method of an agent pool.
- enable
Secure BooleanBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable
VTPM Boolean - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh
Access String | "LocalUser" | "Disabled" - SSH access method of an agent pool.
AgentPoolSecurityProfileResponse, AgentPoolSecurityProfileResponseArgs
The security settings of an agent pool.- Enable
Secure boolBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Enable
VTPM bool - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Ssh
Access string - SSH access method of an agent pool.
- Enable
Secure boolBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Enable
VTPM bool - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- Ssh
Access string - SSH access method of an agent pool.
- enable
Secure BooleanBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable
VTPM Boolean - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh
Access String - SSH access method of an agent pool.
- enable
Secure booleanBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable
VTPM boolean - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh
Access string - SSH access method of an agent pool.
- enable_
secure_ boolboot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable_
vtpm bool - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh_
access str - SSH access method of an agent pool.
- enable
Secure BooleanBoot - Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- enable
VTPM Boolean - vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
- ssh
Access String - SSH access method of an agent pool.
AgentPoolStatusResponse, AgentPoolStatusResponseArgs
Contains read-only information about the Agent Pool.- Provisioning
Error Pulumi.Azure Native. Container Service. Inputs. Error Detail Response - The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
- Provisioning
Error ErrorDetail Response - The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
- provisioning
Error ErrorDetail Response - The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
- provisioning
Error ErrorDetail Response - The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
- provisioning_
error ErrorDetail Response - The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
- provisioning
Error Property Map - The error detail information of the agent pool. Preserves the detailed info of failure. If there was no error, this field is omitted.
AgentPoolType, AgentPoolTypeArgs
- Virtual
Machine Scale Sets - VirtualMachineScaleSetsCreate an Agent Pool backed by a Virtual Machine Scale Set.
- Availability
Set - AvailabilitySetUse of this is strongly discouraged.
- Virtual
Machines - VirtualMachinesCreate an Agent Pool backed by a Single Instance VM orchestration mode.
- Agent
Pool Type Virtual Machine Scale Sets - VirtualMachineScaleSetsCreate an Agent Pool backed by a Virtual Machine Scale Set.
- Agent
Pool Type Availability Set - AvailabilitySetUse of this is strongly discouraged.
- Agent
Pool Type Virtual Machines - VirtualMachinesCreate an Agent Pool backed by a Single Instance VM orchestration mode.
- Virtual
Machine Scale Sets - VirtualMachineScaleSetsCreate an Agent Pool backed by a Virtual Machine Scale Set.
- Availability
Set - AvailabilitySetUse of this is strongly discouraged.
- Virtual
Machines - VirtualMachinesCreate an Agent Pool backed by a Single Instance VM orchestration mode.
- Virtual
Machine Scale Sets - VirtualMachineScaleSetsCreate an Agent Pool backed by a Virtual Machine Scale Set.
- Availability
Set - AvailabilitySetUse of this is strongly discouraged.
- Virtual
Machines - VirtualMachinesCreate an Agent Pool backed by a Single Instance VM orchestration mode.
- VIRTUAL_MACHINE_SCALE_SETS
- VirtualMachineScaleSetsCreate an Agent Pool backed by a Virtual Machine Scale Set.
- AVAILABILITY_SET
- AvailabilitySetUse of this is strongly discouraged.
- VIRTUAL_MACHINES
- VirtualMachinesCreate an Agent Pool backed by a Single Instance VM orchestration mode.
- "Virtual
Machine Scale Sets" - VirtualMachineScaleSetsCreate an Agent Pool backed by a Virtual Machine Scale Set.
- "Availability
Set" - AvailabilitySetUse of this is strongly discouraged.
- "Virtual
Machines" - VirtualMachinesCreate an Agent Pool backed by a Single Instance VM orchestration mode.
AgentPoolUpgradeSettings, AgentPoolUpgradeSettingsArgs
Settings for upgrading an agentpool- Drain
Timeout intIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- Max
Surge string - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- Node
Soak intDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- Undrainable
Node string | Pulumi.Behavior Azure Native. Container Service. Undrainable Node Behavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- Drain
Timeout intIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- Max
Surge string - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- Node
Soak intDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- Undrainable
Node string | UndrainableBehavior Node Behavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain
Timeout IntegerIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max
Surge String - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node
Soak IntegerDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable
Node String | UndrainableBehavior Node Behavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain
Timeout numberIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max
Surge string - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node
Soak numberDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable
Node string | UndrainableBehavior Node Behavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain_
timeout_ intin_ minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max_
surge str - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- str
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node_
soak_ intduration_ in_ minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable_
node_ str | Undrainablebehavior Node Behavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain
Timeout NumberIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max
Surge String - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node
Soak NumberDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable
Node String | "Cordon" | "Schedule"Behavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
AgentPoolUpgradeSettingsResponse, AgentPoolUpgradeSettingsResponseArgs
Settings for upgrading an agentpool- Drain
Timeout intIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- Max
Surge string - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- Node
Soak intDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- Undrainable
Node stringBehavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- Drain
Timeout intIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- Max
Surge string - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- Node
Soak intDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- Undrainable
Node stringBehavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain
Timeout IntegerIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max
Surge String - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node
Soak IntegerDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable
Node StringBehavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain
Timeout numberIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max
Surge string - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- string
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node
Soak numberDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable
Node stringBehavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain_
timeout_ intin_ minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max_
surge str - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- str
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node_
soak_ intduration_ in_ minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable_
node_ strbehavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
- drain
Timeout NumberIn Minutes - The drain timeout for a node. The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes.
- max
Surge String - The maximum number or percentage of nodes that are surged during upgrade. This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 10%. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- String
- The maximum number or percentage of nodes that can be simultaneously unavailable during upgrade. This can either be set to an integer (e.g. '1') or a percentage (e.g. '5%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 0. For more information, including best practices, see: https://learn.microsoft.com/en-us/azure/aks/upgrade-cluster
- node
Soak NumberDuration In Minutes - The soak duration for a node. The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes.
- undrainable
Node StringBehavior - Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
AgentPoolWindowsProfile, AgentPoolWindowsProfileArgs
The Windows agent pool's specific profile.- Disable
Outbound boolNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- Disable
Outbound boolNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable
Outbound BooleanNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable
Outbound booleanNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable_
outbound_ boolnat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable
Outbound BooleanNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
AgentPoolWindowsProfileResponse, AgentPoolWindowsProfileResponseArgs
The Windows agent pool's specific profile.- Disable
Outbound boolNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- Disable
Outbound boolNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable
Outbound BooleanNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable
Outbound booleanNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable_
outbound_ boolnat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
- disable
Outbound BooleanNat - Whether to disable OutboundNAT in windows nodes. The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled.
Code, CodeArgs
- Running
- RunningThe cluster is running.
- Stopped
- StoppedThe cluster is stopped.
- Code
Running - RunningThe cluster is running.
- Code
Stopped - StoppedThe cluster is stopped.
- Running
- RunningThe cluster is running.
- Stopped
- StoppedThe cluster is stopped.
- Running
- RunningThe cluster is running.
- Stopped
- StoppedThe cluster is stopped.
- RUNNING
- RunningThe cluster is running.
- STOPPED
- StoppedThe cluster is stopped.
- "Running"
- RunningThe cluster is running.
- "Stopped"
- StoppedThe cluster is stopped.
CreationData, CreationDataArgs
Data used when creating a target resource from a source resource.- Source
Resource stringId - This is the ARM ID of the source object to be used to create the target object.
- Source
Resource stringId - This is the ARM ID of the source object to be used to create the target object.
- source
Resource StringId - This is the ARM ID of the source object to be used to create the target object.
- source
Resource stringId - This is the ARM ID of the source object to be used to create the target object.
- source_
resource_ strid - This is the ARM ID of the source object to be used to create the target object.
- source
Resource StringId - This is the ARM ID of the source object to be used to create the target object.
CreationDataResponse, CreationDataResponseArgs
Data used when creating a target resource from a source resource.- Source
Resource stringId - This is the ARM ID of the source object to be used to create the target object.
- Source
Resource stringId - This is the ARM ID of the source object to be used to create the target object.
- source
Resource StringId - This is the ARM ID of the source object to be used to create the target object.
- source
Resource stringId - This is the ARM ID of the source object to be used to create the target object.
- source_
resource_ strid - This is the ARM ID of the source object to be used to create the target object.
- source
Resource StringId - This is the ARM ID of the source object to be used to create the target object.
ErrorAdditionalInfoResponse, ErrorAdditionalInfoResponseArgs
The resource management error additional info.ErrorDetailResponse, ErrorDetailResponseArgs
The error detail.- Additional
Info List<Pulumi.Azure Native. Container Service. Inputs. Error Additional Info Response> - The error additional info.
- Code string
- The error code.
- Details
List<Pulumi.
Azure Native. Container Service. Inputs. Error Detail Response> - The error details.
- Message string
- The error message.
- Target string
- The error target.
- Additional
Info []ErrorAdditional Info Response - The error additional info.
- Code string
- The error code.
- Details
[]Error
Detail Response - The error details.
- Message string
- The error message.
- Target string
- The error target.
- additional
Info List<ErrorAdditional Info Response> - The error additional info.
- code String
- The error code.
- details
List<Error
Detail Response> - The error details.
- message String
- The error message.
- target String
- The error target.
- additional
Info ErrorAdditional Info Response[] - The error additional info.
- code string
- The error code.
- details
Error
Detail Response[] - The error details.
- message string
- The error message.
- target string
- The error target.
- additional_
info Sequence[ErrorAdditional Info Response] - The error additional info.
- code str
- The error code.
- details
Sequence[Error
Detail Response] - The error details.
- message str
- The error message.
- target str
- The error target.
- additional
Info List<Property Map> - The error additional info.
- code String
- The error code.
- details List<Property Map>
- The error details.
- message String
- The error message.
- target String
- The error target.
GPUDriver, GPUDriverArgs
- Install
- InstallInstall driver.
- None
- NoneSkip driver install.
- GPUDriver
Install - InstallInstall driver.
- GPUDriver
None - NoneSkip driver install.
- Install
- InstallInstall driver.
- None
- NoneSkip driver install.
- Install
- InstallInstall driver.
- None
- NoneSkip driver install.
- INSTALL
- InstallInstall driver.
- NONE
- NoneSkip driver install.
- "Install"
- InstallInstall driver.
- "None"
- NoneSkip driver install.
GPUInstanceProfile, GPUInstanceProfileArgs
- MIG1g
- MIG1g
- MIG2g
- MIG2g
- MIG3g
- MIG3g
- MIG4g
- MIG4g
- MIG7g
- MIG7g
- GPUInstance
Profile MIG1g - MIG1g
- GPUInstance
Profile MIG2g - MIG2g
- GPUInstance
Profile MIG3g - MIG3g
- GPUInstance
Profile MIG4g - MIG4g
- GPUInstance
Profile MIG7g - MIG7g
- MIG1g
- MIG1g
- MIG2g
- MIG2g
- MIG3g
- MIG3g
- MIG4g
- MIG4g
- MIG7g
- MIG7g
- MIG1g
- MIG1g
- MIG2g
- MIG2g
- MIG3g
- MIG3g
- MIG4g
- MIG4g
- MIG7g
- MIG7g
- MIG1G
- MIG1g
- MIG2G
- MIG2g
- MIG3G
- MIG3g
- MIG4G
- MIG4g
- MIG7G
- MIG7g
- "MIG1g"
- MIG1g
- "MIG2g"
- MIG2g
- "MIG3g"
- MIG3g
- "MIG4g"
- MIG4g
- "MIG7g"
- MIG7g
GPUProfile, GPUProfileArgs
GPU settings for the Agent Pool.- Driver
string | Pulumi.
Azure Native. Container Service. GPUDriver - Whether to install GPU drivers. When it's not specified, default is Install.
- driver String | "Install" | "None"
- Whether to install GPU drivers. When it's not specified, default is Install.
GPUProfileResponse, GPUProfileResponseArgs
GPU settings for the Agent Pool.- Driver string
- Whether to install GPU drivers. When it's not specified, default is Install.
- Driver string
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver String
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver string
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver str
- Whether to install GPU drivers. When it's not specified, default is Install.
- driver String
- Whether to install GPU drivers. When it's not specified, default is Install.
IPTag, IPTagArgs
Contains the IPTag associated with the object.- ip_
tag_ strtype - The IP tag type. Example: RoutingPreference.
- tag str
- The value of the IP tag associated with the public IP. Example: Internet.
IPTagResponse, IPTagResponseArgs
Contains the IPTag associated with the object.- ip_
tag_ strtype - The IP tag type. Example: RoutingPreference.
- tag str
- The value of the IP tag associated with the public IP. Example: Internet.
KubeletConfig, KubeletConfigArgs
Kubelet configurations of agent nodes. See AKS custom node configuration for more details.- Allowed
Unsafe List<string>Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - Container
Log intMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- Container
Log intMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- Cpu
Cfs boolQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- Cpu
Cfs stringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- Cpu
Manager stringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- Fail
Swap boolOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- Image
Gc intHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- Image
Gc intLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- Pod
Max intPids - The maximum number of processes per pod.
- Topology
Manager stringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- Allowed
Unsafe []stringSysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - Container
Log intMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- Container
Log intMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- Cpu
Cfs boolQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- Cpu
Cfs stringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- Cpu
Manager stringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- Fail
Swap boolOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- Image
Gc intHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- Image
Gc intLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- Pod
Max intPids - The maximum number of processes per pod.
- Topology
Manager stringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed
Unsafe List<String>Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container
Log IntegerMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container
Log IntegerMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu
Cfs BooleanQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu
Cfs StringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu
Manager StringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail
Swap BooleanOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image
Gc IntegerHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image
Gc IntegerLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod
Max IntegerPids - The maximum number of processes per pod.
- topology
Manager StringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed
Unsafe string[]Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container
Log numberMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container
Log numberMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu
Cfs booleanQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu
Cfs stringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu
Manager stringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail
Swap booleanOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image
Gc numberHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image
Gc numberLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod
Max numberPids - The maximum number of processes per pod.
- topology
Manager stringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed_
unsafe_ Sequence[str]sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container_
log_ intmax_ files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container_
log_ intmax_ size_ mb - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu_
cfs_ boolquota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu_
cfs_ strquota_ period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu_
manager_ strpolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail_
swap_ boolon - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image_
gc_ inthigh_ threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image_
gc_ intlow_ threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod_
max_ intpids - The maximum number of processes per pod.
- topology_
manager_ strpolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed
Unsafe List<String>Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container
Log NumberMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container
Log NumberMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu
Cfs BooleanQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu
Cfs StringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu
Manager StringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail
Swap BooleanOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image
Gc NumberHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image
Gc NumberLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod
Max NumberPids - The maximum number of processes per pod.
- topology
Manager StringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
KubeletConfigResponse, KubeletConfigResponseArgs
Kubelet configurations of agent nodes. See AKS custom node configuration for more details.- Allowed
Unsafe List<string>Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - Container
Log intMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- Container
Log intMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- Cpu
Cfs boolQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- Cpu
Cfs stringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- Cpu
Manager stringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- Fail
Swap boolOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- Image
Gc intHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- Image
Gc intLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- Pod
Max intPids - The maximum number of processes per pod.
- Topology
Manager stringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- Allowed
Unsafe []stringSysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - Container
Log intMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- Container
Log intMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- Cpu
Cfs boolQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- Cpu
Cfs stringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- Cpu
Manager stringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- Fail
Swap boolOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- Image
Gc intHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- Image
Gc intLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- Pod
Max intPids - The maximum number of processes per pod.
- Topology
Manager stringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed
Unsafe List<String>Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container
Log IntegerMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container
Log IntegerMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu
Cfs BooleanQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu
Cfs StringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu
Manager StringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail
Swap BooleanOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image
Gc IntegerHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image
Gc IntegerLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod
Max IntegerPids - The maximum number of processes per pod.
- topology
Manager StringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed
Unsafe string[]Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container
Log numberMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container
Log numberMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu
Cfs booleanQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu
Cfs stringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu
Manager stringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail
Swap booleanOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image
Gc numberHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image
Gc numberLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod
Max numberPids - The maximum number of processes per pod.
- topology
Manager stringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed_
unsafe_ Sequence[str]sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container_
log_ intmax_ files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container_
log_ intmax_ size_ mb - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu_
cfs_ boolquota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu_
cfs_ strquota_ period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu_
manager_ strpolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail_
swap_ boolon - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image_
gc_ inthigh_ threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image_
gc_ intlow_ threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod_
max_ intpids - The maximum number of processes per pod.
- topology_
manager_ strpolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
- allowed
Unsafe List<String>Sysctls - Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in
*). - container
Log NumberMax Files - The maximum number of container log files that can be present for a container. The number must be ≥ 2.
- container
Log NumberMax Size MB - The maximum size (e.g. 10Mi) of container log file before it is rotated.
- cpu
Cfs BooleanQuota - If CPU CFS quota enforcement is enabled for containers that specify CPU limits. The default is true.
- cpu
Cfs StringQuota Period - The CPU CFS quota period value. The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
- cpu
Manager StringPolicy - The CPU Manager policy to use. The default is 'none'. See Kubernetes CPU management policies for more information. Allowed values are 'none' and 'static'.
- fail
Swap BooleanOn - If set to true it will make the Kubelet fail to start if swap is enabled on the node.
- image
Gc NumberHigh Threshold - The percent of disk usage after which image garbage collection is always run. To disable image garbage collection, set to 100. The default is 85%
- image
Gc NumberLow Threshold - The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageGcHighThreshold. The default is 80%
- pod
Max NumberPids - The maximum number of processes per pod.
- topology
Manager StringPolicy - The Topology Manager policy to use. For more information see Kubernetes Topology Manager. The default is 'none'. Allowed values are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
KubeletDiskType, KubeletDiskTypeArgs
- OS
- OSKubelet will use the OS disk for its data.
- Temporary
- TemporaryKubelet will use the temporary disk for its data.
- Kubelet
Disk Type OS - OSKubelet will use the OS disk for its data.
- Kubelet
Disk Type Temporary - TemporaryKubelet will use the temporary disk for its data.
- OS
- OSKubelet will use the OS disk for its data.
- Temporary
- TemporaryKubelet will use the temporary disk for its data.
- OS
- OSKubelet will use the OS disk for its data.
- Temporary
- TemporaryKubelet will use the temporary disk for its data.
- OS
- OSKubelet will use the OS disk for its data.
- TEMPORARY
- TemporaryKubelet will use the temporary disk for its data.
- "OS"
- OSKubelet will use the OS disk for its data.
- "Temporary"
- TemporaryKubelet will use the temporary disk for its data.
LinuxOSConfig, LinuxOSConfigArgs
OS configurations of Linux agent nodes. See AKS custom node configuration for more details.- Swap
File intSize MB - The size in MB of a swap file that will be created on each node.
- Sysctls
Pulumi.
Azure Native. Container Service. Inputs. Sysctl Config - Sysctl settings for Linux agent nodes.
- Transparent
Huge stringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- Transparent
Huge stringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- Swap
File intSize MB - The size in MB of a swap file that will be created on each node.
- Sysctls
Sysctl
Config - Sysctl settings for Linux agent nodes.
- Transparent
Huge stringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- Transparent
Huge stringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap
File IntegerSize MB - The size in MB of a swap file that will be created on each node.
- sysctls
Sysctl
Config - Sysctl settings for Linux agent nodes.
- transparent
Huge StringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent
Huge StringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap
File numberSize MB - The size in MB of a swap file that will be created on each node.
- sysctls
Sysctl
Config - Sysctl settings for Linux agent nodes.
- transparent
Huge stringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent
Huge stringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap_
file_ intsize_ mb - The size in MB of a swap file that will be created on each node.
- sysctls
Sysctl
Config - Sysctl settings for Linux agent nodes.
- transparent_
huge_ strpage_ defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent_
huge_ strpage_ enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap
File NumberSize MB - The size in MB of a swap file that will be created on each node.
- sysctls Property Map
- Sysctl settings for Linux agent nodes.
- transparent
Huge StringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent
Huge StringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
LinuxOSConfigResponse, LinuxOSConfigResponseArgs
OS configurations of Linux agent nodes. See AKS custom node configuration for more details.- Swap
File intSize MB - The size in MB of a swap file that will be created on each node.
- Sysctls
Pulumi.
Azure Native. Container Service. Inputs. Sysctl Config Response - Sysctl settings for Linux agent nodes.
- Transparent
Huge stringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- Transparent
Huge stringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- Swap
File intSize MB - The size in MB of a swap file that will be created on each node.
- Sysctls
Sysctl
Config Response - Sysctl settings for Linux agent nodes.
- Transparent
Huge stringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- Transparent
Huge stringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap
File IntegerSize MB - The size in MB of a swap file that will be created on each node.
- sysctls
Sysctl
Config Response - Sysctl settings for Linux agent nodes.
- transparent
Huge StringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent
Huge StringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap
File numberSize MB - The size in MB of a swap file that will be created on each node.
- sysctls
Sysctl
Config Response - Sysctl settings for Linux agent nodes.
- transparent
Huge stringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent
Huge stringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap_
file_ intsize_ mb - The size in MB of a swap file that will be created on each node.
- sysctls
Sysctl
Config Response - Sysctl settings for Linux agent nodes.
- transparent_
huge_ strpage_ defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent_
huge_ strpage_ enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
- swap
File NumberSize MB - The size in MB of a swap file that will be created on each node.
- sysctls Property Map
- Sysctl settings for Linux agent nodes.
- transparent
Huge StringPage Defrag - Whether the kernel should make aggressive use of memory compaction to make more hugepages available. Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is 'madvise'. For more information see Transparent Hugepages.
- transparent
Huge StringPage Enabled - Whether transparent hugepages are enabled. Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more information see Transparent Hugepages.
ManualScaleProfile, ManualScaleProfileArgs
Specifications on number of machines.ManualScaleProfileResponse, ManualScaleProfileResponseArgs
Specifications on number of machines.OSDiskType, OSDiskTypeArgs
- Managed
- ManagedAzure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
- Ephemeral
- EphemeralEphemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
- OSDisk
Type Managed - ManagedAzure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
- OSDisk
Type Ephemeral - EphemeralEphemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
- Managed
- ManagedAzure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
- Ephemeral
- EphemeralEphemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
- Managed
- ManagedAzure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
- Ephemeral
- EphemeralEphemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
- MANAGED
- ManagedAzure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
- EPHEMERAL
- EphemeralEphemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
- "Managed"
- ManagedAzure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency.
- "Ephemeral"
- EphemeralEphemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades.
OSSKU, OSSKUArgs
- Ubuntu
- UbuntuUse Ubuntu as the OS for node images.
- Azure
Linux - AzureLinuxUse AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.
- Azure
Linux3 - AzureLinux3Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version.
- CBLMariner
- CBLMarinerDeprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.
- Windows2019
- Windows2019Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.
- Windows2022
- Windows2022Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.
- Ubuntu2204
- Ubuntu2204Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions
- OSSKUUbuntu
- UbuntuUse Ubuntu as the OS for node images.
- OSSKUAzure
Linux - AzureLinuxUse AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.
- OSSKUAzure
Linux3 - AzureLinux3Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version.
- OSSKUCBLMariner
- CBLMarinerDeprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.
- OSSKUWindows2019
- Windows2019Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.
- OSSKUWindows2022
- Windows2022Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.
- OSSKUUbuntu2204
- Ubuntu2204Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions
- Ubuntu
- UbuntuUse Ubuntu as the OS for node images.
- Azure
Linux - AzureLinuxUse AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.
- Azure
Linux3 - AzureLinux3Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version.
- CBLMariner
- CBLMarinerDeprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.
- Windows2019
- Windows2019Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.
- Windows2022
- Windows2022Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.
- Ubuntu2204
- Ubuntu2204Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions
- Ubuntu
- UbuntuUse Ubuntu as the OS for node images.
- Azure
Linux - AzureLinuxUse AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.
- Azure
Linux3 - AzureLinux3Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version.
- CBLMariner
- CBLMarinerDeprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.
- Windows2019
- Windows2019Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.
- Windows2022
- Windows2022Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.
- Ubuntu2204
- Ubuntu2204Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions
- UBUNTU
- UbuntuUse Ubuntu as the OS for node images.
- AZURE_LINUX
- AzureLinuxUse AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.
- AZURE_LINUX3
- AzureLinux3Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version.
- CBL_MARINER
- CBLMarinerDeprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.
- WINDOWS2019
- Windows2019Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.
- WINDOWS2022
- Windows2022Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.
- UBUNTU2204
- Ubuntu2204Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions
- "Ubuntu"
- UbuntuUse Ubuntu as the OS for node images.
- "Azure
Linux" - AzureLinuxUse AzureLinux as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information.
- "Azure
Linux3" - AzureLinux3Use AzureLinux3 as the OS for node images. Azure Linux is a container-optimized Linux distro built by Microsoft, visit https://aka.ms/azurelinux for more information. For limitations, visit https://aka.ms/aks/node-images. For OS migration guidance, see https://aka.ms/aks/upgrade-os-version.
- "CBLMariner"
- CBLMarinerDeprecated OSSKU. Microsoft recommends that new deployments choose 'AzureLinux' instead.
- "Windows2019"
- Windows2019Use Windows2019 as the OS for node images. Unsupported for system node pools. Windows2019 only supports Windows2019 containers; it cannot run Windows2022 containers and vice versa.
- "Windows2022"
- Windows2022Use Windows2022 as the OS for node images. Unsupported for system node pools. Windows2022 only supports Windows2022 containers; it cannot run Windows2019 containers and vice versa.
- "Ubuntu2204"
- Ubuntu2204Use Ubuntu2204 as the OS for node images, however, Ubuntu 22.04 may not be supported for all nodepools. For limitations and supported kubernetes versions, see https://aka.ms/aks/supported-ubuntu-versions
OSType, OSTypeArgs
- Linux
- LinuxUse Linux.
- Windows
- WindowsUse Windows.
- OSType
Linux - LinuxUse Linux.
- OSType
Windows - WindowsUse Windows.
- Linux
- LinuxUse Linux.
- Windows
- WindowsUse Windows.
- Linux
- LinuxUse Linux.
- Windows
- WindowsUse Windows.
- LINUX
- LinuxUse Linux.
- WINDOWS
- WindowsUse Windows.
- "Linux"
- LinuxUse Linux.
- "Windows"
- WindowsUse Windows.
PodIPAllocationMode, PodIPAllocationModeArgs
- Dynamic
Individual - DynamicIndividualEach node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode
- Static
Block - StaticBlockEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger
- Pod
IPAllocation Mode Dynamic Individual - DynamicIndividualEach node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode
- Pod
IPAllocation Mode Static Block - StaticBlockEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger
- Dynamic
Individual - DynamicIndividualEach node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode
- Static
Block - StaticBlockEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger
- Dynamic
Individual - DynamicIndividualEach node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode
- Static
Block - StaticBlockEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger
- DYNAMIC_INDIVIDUAL
- DynamicIndividualEach node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode
- STATIC_BLOCK
- StaticBlockEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger
- "Dynamic
Individual" - DynamicIndividualEach node gets allocated with a non-contiguous list of IP addresses assignable to pods. This is better for maximizing a small to medium subnet of size /16 or smaller. The Azure CNI cluster with dynamic IP allocation defaults to this mode if the customer does not explicitly specify a podIPAllocationMode
- "Static
Block" - StaticBlockEach node is statically allocated CIDR block(s) of size /28 = 16 IPs per block to satisfy the maxPods per node. Number of CIDR blocks >= (maxPods / 16). The block, rather than a single IP, counts against the Azure Vnet Private IP limit of 65K. Therefore block mode is suitable for running larger workloads with more than the current limit of 65K pods in a cluster. This mode is better suited to scale with larger subnets of /15 or bigger
PortRange, PortRangeArgs
The port range.- Port
End int - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- Port
Start int - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol
string | Pulumi.
Azure Native. Container Service. Protocol - The network protocol of the port.
- Port
End int - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- Port
Start int - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol string | Protocol
- The network protocol of the port.
- port
End Integer - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port
Start Integer - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol String | Protocol
- The network protocol of the port.
- port
End number - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port
Start number - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol string | Protocol
- The network protocol of the port.
- port_
end int - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port_
start int - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol str | Protocol
- The network protocol of the port.
- port
End Number - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port
Start Number - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol String | "TCP" | "UDP"
- The network protocol of the port.
PortRangeResponse, PortRangeResponseArgs
The port range.- Port
End int - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- Port
Start int - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol string
- The network protocol of the port.
- Port
End int - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- Port
Start int - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- Protocol string
- The network protocol of the port.
- port
End Integer - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port
Start Integer - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol String
- The network protocol of the port.
- port
End number - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port
Start number - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol string
- The network protocol of the port.
- port_
end int - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port_
start int - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol str
- The network protocol of the port.
- port
End Number - The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart.
- port
Start Number - The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd.
- protocol String
- The network protocol of the port.
PowerState, PowerStateArgs
Describes the Power State of the cluster- Code
string | Pulumi.
Azure Native. Container Service. Code - Tells whether the cluster is Running or Stopped
- code String | "Running" | "Stopped"
- Tells whether the cluster is Running or Stopped
PowerStateResponse, PowerStateResponseArgs
Describes the Power State of the cluster- 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 string
- Tells whether the cluster is Running or Stopped
- code str
- Tells whether the cluster is Running or Stopped
- code String
- Tells whether the cluster is Running or Stopped
Protocol, ProtocolArgs
- TCP
- TCPTCP protocol.
- UDP
- UDPUDP protocol.
- Protocol
TCP - TCPTCP protocol.
- Protocol
UDP - UDPUDP protocol.
- TCP
- TCPTCP protocol.
- UDP
- UDPUDP protocol.
- TCP
- TCPTCP protocol.
- UDP
- UDPUDP protocol.
- TCP
- TCPTCP protocol.
- UDP
- UDPUDP protocol.
- "TCP"
- TCPTCP protocol.
- "UDP"
- UDPUDP protocol.
ScaleDownMode, ScaleDownModeArgs
- Delete
- DeleteCreate new instances during scale up and remove instances during scale down.
- Deallocate
- DeallocateAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
- Scale
Down Mode Delete - DeleteCreate new instances during scale up and remove instances during scale down.
- Scale
Down Mode Deallocate - DeallocateAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
- Delete
- DeleteCreate new instances during scale up and remove instances during scale down.
- Deallocate
- DeallocateAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
- Delete
- DeleteCreate new instances during scale up and remove instances during scale down.
- Deallocate
- DeallocateAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
- DELETE
- DeleteCreate new instances during scale up and remove instances during scale down.
- DEALLOCATE
- DeallocateAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
- "Delete"
- DeleteCreate new instances during scale up and remove instances during scale down.
- "Deallocate"
- DeallocateAttempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
ScaleProfile, ScaleProfileArgs
Specifications on how to scale a VirtualMachines agent pool.- Manual
List<Pulumi.
Azure Native. Container Service. Inputs. Manual Scale Profile> - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- Manual
[]Manual
Scale Profile - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual
List<Manual
Scale Profile> - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual
Manual
Scale Profile[] - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual
Sequence[Manual
Scale Profile] - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual List<Property Map>
- Specifications on how to scale the VirtualMachines agent pool to a fixed size.
ScaleProfileResponse, ScaleProfileResponseArgs
Specifications on how to scale a VirtualMachines agent pool.- Manual
List<Pulumi.
Azure Native. Container Service. Inputs. Manual Scale Profile Response> - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- Manual
[]Manual
Scale Profile Response - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual
List<Manual
Scale Profile Response> - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual
Manual
Scale Profile Response[] - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual
Sequence[Manual
Scale Profile Response] - Specifications on how to scale the VirtualMachines agent pool to a fixed size.
- manual List<Property Map>
- Specifications on how to scale the VirtualMachines agent pool to a fixed size.
ScaleSetEvictionPolicy, ScaleSetEvictionPolicyArgs
- Delete
- DeleteNodes in the underlying Scale Set of the node pool are deleted when they're evicted.
- Deallocate
- DeallocateNodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
- Scale
Set Eviction Policy Delete - DeleteNodes in the underlying Scale Set of the node pool are deleted when they're evicted.
- Scale
Set Eviction Policy Deallocate - DeallocateNodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
- Delete
- DeleteNodes in the underlying Scale Set of the node pool are deleted when they're evicted.
- Deallocate
- DeallocateNodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
- Delete
- DeleteNodes in the underlying Scale Set of the node pool are deleted when they're evicted.
- Deallocate
- DeallocateNodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
- DELETE
- DeleteNodes in the underlying Scale Set of the node pool are deleted when they're evicted.
- DEALLOCATE
- DeallocateNodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
- "Delete"
- DeleteNodes in the underlying Scale Set of the node pool are deleted when they're evicted.
- "Deallocate"
- DeallocateNodes in the underlying Scale Set of the node pool are set to the stopped-deallocated state upon eviction. Nodes in the stopped-deallocated state count against your compute quota and can cause issues with cluster scaling or upgrading.
ScaleSetPriority, ScaleSetPriorityArgs
- Spot
- SpotSpot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information.
- Regular
- RegularRegular VMs will be used.
- Scale
Set Priority Spot - SpotSpot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information.
- Scale
Set Priority Regular - RegularRegular VMs will be used.
- Spot
- SpotSpot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information.
- Regular
- RegularRegular VMs will be used.
- Spot
- SpotSpot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information.
- Regular
- RegularRegular VMs will be used.
- SPOT
- SpotSpot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information.
- REGULAR
- RegularRegular VMs will be used.
- "Spot"
- SpotSpot priority VMs will be used. There is no SLA for spot nodes. See spot on AKS for more information.
- "Regular"
- RegularRegular VMs will be used.
SysctlConfig, SysctlConfigArgs
Sysctl settings for Linux agent nodes.- Fs
Aio intMax Nr - Sysctl setting fs.aio-max-nr.
- Fs
File intMax - Sysctl setting fs.file-max.
- Fs
Inotify intMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- Fs
Nr intOpen - Sysctl setting fs.nr_open.
- Kernel
Threads intMax - Sysctl setting kernel.threads-max.
- Net
Core intNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- Net
Core intOptmem Max - Sysctl setting net.core.optmem_max.
- Net
Core intRmem Default - Sysctl setting net.core.rmem_default.
- Net
Core intRmem Max - Sysctl setting net.core.rmem_max.
- Net
Core intSomaxconn - Sysctl setting net.core.somaxconn.
- Net
Core intWmem Default - Sysctl setting net.core.wmem_default.
- Net
Core intWmem Max - Sysctl setting net.core.wmem_max.
- Net
Ipv4Ip stringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- Net
Ipv4Neigh intDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- Net
Ipv4Neigh intDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- Net
Ipv4Neigh intDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- Net
Ipv4Tcp intFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- Net
Ipv4Tcp intKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- Net
Ipv4Tcp intKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- Net
Ipv4Tcp intMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- Net
Ipv4Tcp intMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- Net
Ipv4Tcp boolTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- Net
Ipv4Tcpkeepalive intIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- Net
Netfilter intNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- Net
Netfilter intNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- Vm
Max intMap Count - Sysctl setting vm.max_map_count.
- Vm
Swappiness int - Sysctl setting vm.swappiness.
- Vm
Vfs intCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- Fs
Aio intMax Nr - Sysctl setting fs.aio-max-nr.
- Fs
File intMax - Sysctl setting fs.file-max.
- Fs
Inotify intMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- Fs
Nr intOpen - Sysctl setting fs.nr_open.
- Kernel
Threads intMax - Sysctl setting kernel.threads-max.
- Net
Core intNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- Net
Core intOptmem Max - Sysctl setting net.core.optmem_max.
- Net
Core intRmem Default - Sysctl setting net.core.rmem_default.
- Net
Core intRmem Max - Sysctl setting net.core.rmem_max.
- Net
Core intSomaxconn - Sysctl setting net.core.somaxconn.
- Net
Core intWmem Default - Sysctl setting net.core.wmem_default.
- Net
Core intWmem Max - Sysctl setting net.core.wmem_max.
- Net
Ipv4Ip stringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- Net
Ipv4Neigh intDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- Net
Ipv4Neigh intDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- Net
Ipv4Neigh intDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- Net
Ipv4Tcp intFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- Net
Ipv4Tcp intKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- Net
Ipv4Tcp intKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- Net
Ipv4Tcp intMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- Net
Ipv4Tcp intMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- Net
Ipv4Tcp boolTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- Net
Ipv4Tcpkeepalive intIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- Net
Netfilter intNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- Net
Netfilter intNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- Vm
Max intMap Count - Sysctl setting vm.max_map_count.
- Vm
Swappiness int - Sysctl setting vm.swappiness.
- Vm
Vfs intCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- fs
Aio IntegerMax Nr - Sysctl setting fs.aio-max-nr.
- fs
File IntegerMax - Sysctl setting fs.file-max.
- fs
Inotify IntegerMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- fs
Nr IntegerOpen - Sysctl setting fs.nr_open.
- kernel
Threads IntegerMax - Sysctl setting kernel.threads-max.
- net
Core IntegerNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- net
Core IntegerOptmem Max - Sysctl setting net.core.optmem_max.
- net
Core IntegerRmem Default - Sysctl setting net.core.rmem_default.
- net
Core IntegerRmem Max - Sysctl setting net.core.rmem_max.
- net
Core IntegerSomaxconn - Sysctl setting net.core.somaxconn.
- net
Core IntegerWmem Default - Sysctl setting net.core.wmem_default.
- net
Core IntegerWmem Max - Sysctl setting net.core.wmem_max.
- net
Ipv4Ip StringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- net
Ipv4Neigh IntegerDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net
Ipv4Neigh IntegerDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net
Ipv4Neigh IntegerDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net
Ipv4Tcp IntegerFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net
Ipv4Tcp IntegerKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net
Ipv4Tcp IntegerKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net
Ipv4Tcp IntegerMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net
Ipv4Tcp IntegerMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net
Ipv4Tcp BooleanTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net
Ipv4Tcpkeepalive IntegerIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net
Netfilter IntegerNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net
Netfilter IntegerNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm
Max IntegerMap Count - Sysctl setting vm.max_map_count.
- vm
Swappiness Integer - Sysctl setting vm.swappiness.
- vm
Vfs IntegerCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- fs
Aio numberMax Nr - Sysctl setting fs.aio-max-nr.
- fs
File numberMax - Sysctl setting fs.file-max.
- fs
Inotify numberMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- fs
Nr numberOpen - Sysctl setting fs.nr_open.
- kernel
Threads numberMax - Sysctl setting kernel.threads-max.
- net
Core numberNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- net
Core numberOptmem Max - Sysctl setting net.core.optmem_max.
- net
Core numberRmem Default - Sysctl setting net.core.rmem_default.
- net
Core numberRmem Max - Sysctl setting net.core.rmem_max.
- net
Core numberSomaxconn - Sysctl setting net.core.somaxconn.
- net
Core numberWmem Default - Sysctl setting net.core.wmem_default.
- net
Core numberWmem Max - Sysctl setting net.core.wmem_max.
- net
Ipv4Ip stringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- net
Ipv4Neigh numberDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net
Ipv4Neigh numberDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net
Ipv4Neigh numberDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net
Ipv4Tcp numberFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net
Ipv4Tcp numberKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net
Ipv4Tcp numberKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net
Ipv4Tcp numberMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net
Ipv4Tcp numberMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net
Ipv4Tcp booleanTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net
Ipv4Tcpkeepalive numberIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net
Netfilter numberNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net
Netfilter numberNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm
Max numberMap Count - Sysctl setting vm.max_map_count.
- vm
Swappiness number - Sysctl setting vm.swappiness.
- vm
Vfs numberCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- fs_
aio_ intmax_ nr - Sysctl setting fs.aio-max-nr.
- fs_
file_ intmax - Sysctl setting fs.file-max.
- fs_
inotify_ intmax_ user_ watches - Sysctl setting fs.inotify.max_user_watches.
- fs_
nr_ intopen - Sysctl setting fs.nr_open.
- kernel_
threads_ intmax - Sysctl setting kernel.threads-max.
- net_
core_ intnetdev_ max_ backlog - Sysctl setting net.core.netdev_max_backlog.
- net_
core_ intoptmem_ max - Sysctl setting net.core.optmem_max.
- net_
core_ intrmem_ default - Sysctl setting net.core.rmem_default.
- net_
core_ intrmem_ max - Sysctl setting net.core.rmem_max.
- net_
core_ intsomaxconn - Sysctl setting net.core.somaxconn.
- net_
core_ intwmem_ default - Sysctl setting net.core.wmem_default.
- net_
core_ intwmem_ max - Sysctl setting net.core.wmem_max.
- net_
ipv4_ strip_ local_ port_ range - Sysctl setting net.ipv4.ip_local_port_range.
- net_
ipv4_ intneigh_ default_ gc_ thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net_
ipv4_ intneigh_ default_ gc_ thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net_
ipv4_ intneigh_ default_ gc_ thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net_
ipv4_ inttcp_ fin_ timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net_
ipv4_ inttcp_ keepalive_ probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net_
ipv4_ inttcp_ keepalive_ time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net_
ipv4_ inttcp_ max_ syn_ backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net_
ipv4_ inttcp_ max_ tw_ buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net_
ipv4_ booltcp_ tw_ reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net_
ipv4_ inttcpkeepalive_ intvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net_
netfilter_ intnf_ conntrack_ buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net_
netfilter_ intnf_ conntrack_ max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm_
max_ intmap_ count - Sysctl setting vm.max_map_count.
- vm_
swappiness int - Sysctl setting vm.swappiness.
- vm_
vfs_ intcache_ pressure - Sysctl setting vm.vfs_cache_pressure.
- fs
Aio NumberMax Nr - Sysctl setting fs.aio-max-nr.
- fs
File NumberMax - Sysctl setting fs.file-max.
- fs
Inotify NumberMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- fs
Nr NumberOpen - Sysctl setting fs.nr_open.
- kernel
Threads NumberMax - Sysctl setting kernel.threads-max.
- net
Core NumberNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- net
Core NumberOptmem Max - Sysctl setting net.core.optmem_max.
- net
Core NumberRmem Default - Sysctl setting net.core.rmem_default.
- net
Core NumberRmem Max - Sysctl setting net.core.rmem_max.
- net
Core NumberSomaxconn - Sysctl setting net.core.somaxconn.
- net
Core NumberWmem Default - Sysctl setting net.core.wmem_default.
- net
Core NumberWmem Max - Sysctl setting net.core.wmem_max.
- net
Ipv4Ip StringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- net
Ipv4Neigh NumberDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net
Ipv4Neigh NumberDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net
Ipv4Neigh NumberDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net
Ipv4Tcp NumberFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net
Ipv4Tcp NumberKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net
Ipv4Tcp NumberKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net
Ipv4Tcp NumberMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net
Ipv4Tcp NumberMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net
Ipv4Tcp BooleanTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net
Ipv4Tcpkeepalive NumberIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net
Netfilter NumberNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net
Netfilter NumberNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm
Max NumberMap Count - Sysctl setting vm.max_map_count.
- vm
Swappiness Number - Sysctl setting vm.swappiness.
- vm
Vfs NumberCache Pressure - Sysctl setting vm.vfs_cache_pressure.
SysctlConfigResponse, SysctlConfigResponseArgs
Sysctl settings for Linux agent nodes.- Fs
Aio intMax Nr - Sysctl setting fs.aio-max-nr.
- Fs
File intMax - Sysctl setting fs.file-max.
- Fs
Inotify intMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- Fs
Nr intOpen - Sysctl setting fs.nr_open.
- Kernel
Threads intMax - Sysctl setting kernel.threads-max.
- Net
Core intNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- Net
Core intOptmem Max - Sysctl setting net.core.optmem_max.
- Net
Core intRmem Default - Sysctl setting net.core.rmem_default.
- Net
Core intRmem Max - Sysctl setting net.core.rmem_max.
- Net
Core intSomaxconn - Sysctl setting net.core.somaxconn.
- Net
Core intWmem Default - Sysctl setting net.core.wmem_default.
- Net
Core intWmem Max - Sysctl setting net.core.wmem_max.
- Net
Ipv4Ip stringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- Net
Ipv4Neigh intDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- Net
Ipv4Neigh intDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- Net
Ipv4Neigh intDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- Net
Ipv4Tcp intFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- Net
Ipv4Tcp intKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- Net
Ipv4Tcp intKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- Net
Ipv4Tcp intMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- Net
Ipv4Tcp intMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- Net
Ipv4Tcp boolTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- Net
Ipv4Tcpkeepalive intIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- Net
Netfilter intNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- Net
Netfilter intNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- Vm
Max intMap Count - Sysctl setting vm.max_map_count.
- Vm
Swappiness int - Sysctl setting vm.swappiness.
- Vm
Vfs intCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- Fs
Aio intMax Nr - Sysctl setting fs.aio-max-nr.
- Fs
File intMax - Sysctl setting fs.file-max.
- Fs
Inotify intMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- Fs
Nr intOpen - Sysctl setting fs.nr_open.
- Kernel
Threads intMax - Sysctl setting kernel.threads-max.
- Net
Core intNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- Net
Core intOptmem Max - Sysctl setting net.core.optmem_max.
- Net
Core intRmem Default - Sysctl setting net.core.rmem_default.
- Net
Core intRmem Max - Sysctl setting net.core.rmem_max.
- Net
Core intSomaxconn - Sysctl setting net.core.somaxconn.
- Net
Core intWmem Default - Sysctl setting net.core.wmem_default.
- Net
Core intWmem Max - Sysctl setting net.core.wmem_max.
- Net
Ipv4Ip stringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- Net
Ipv4Neigh intDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- Net
Ipv4Neigh intDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- Net
Ipv4Neigh intDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- Net
Ipv4Tcp intFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- Net
Ipv4Tcp intKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- Net
Ipv4Tcp intKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- Net
Ipv4Tcp intMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- Net
Ipv4Tcp intMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- Net
Ipv4Tcp boolTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- Net
Ipv4Tcpkeepalive intIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- Net
Netfilter intNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- Net
Netfilter intNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- Vm
Max intMap Count - Sysctl setting vm.max_map_count.
- Vm
Swappiness int - Sysctl setting vm.swappiness.
- Vm
Vfs intCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- fs
Aio IntegerMax Nr - Sysctl setting fs.aio-max-nr.
- fs
File IntegerMax - Sysctl setting fs.file-max.
- fs
Inotify IntegerMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- fs
Nr IntegerOpen - Sysctl setting fs.nr_open.
- kernel
Threads IntegerMax - Sysctl setting kernel.threads-max.
- net
Core IntegerNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- net
Core IntegerOptmem Max - Sysctl setting net.core.optmem_max.
- net
Core IntegerRmem Default - Sysctl setting net.core.rmem_default.
- net
Core IntegerRmem Max - Sysctl setting net.core.rmem_max.
- net
Core IntegerSomaxconn - Sysctl setting net.core.somaxconn.
- net
Core IntegerWmem Default - Sysctl setting net.core.wmem_default.
- net
Core IntegerWmem Max - Sysctl setting net.core.wmem_max.
- net
Ipv4Ip StringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- net
Ipv4Neigh IntegerDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net
Ipv4Neigh IntegerDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net
Ipv4Neigh IntegerDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net
Ipv4Tcp IntegerFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net
Ipv4Tcp IntegerKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net
Ipv4Tcp IntegerKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net
Ipv4Tcp IntegerMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net
Ipv4Tcp IntegerMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net
Ipv4Tcp BooleanTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net
Ipv4Tcpkeepalive IntegerIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net
Netfilter IntegerNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net
Netfilter IntegerNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm
Max IntegerMap Count - Sysctl setting vm.max_map_count.
- vm
Swappiness Integer - Sysctl setting vm.swappiness.
- vm
Vfs IntegerCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- fs
Aio numberMax Nr - Sysctl setting fs.aio-max-nr.
- fs
File numberMax - Sysctl setting fs.file-max.
- fs
Inotify numberMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- fs
Nr numberOpen - Sysctl setting fs.nr_open.
- kernel
Threads numberMax - Sysctl setting kernel.threads-max.
- net
Core numberNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- net
Core numberOptmem Max - Sysctl setting net.core.optmem_max.
- net
Core numberRmem Default - Sysctl setting net.core.rmem_default.
- net
Core numberRmem Max - Sysctl setting net.core.rmem_max.
- net
Core numberSomaxconn - Sysctl setting net.core.somaxconn.
- net
Core numberWmem Default - Sysctl setting net.core.wmem_default.
- net
Core numberWmem Max - Sysctl setting net.core.wmem_max.
- net
Ipv4Ip stringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- net
Ipv4Neigh numberDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net
Ipv4Neigh numberDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net
Ipv4Neigh numberDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net
Ipv4Tcp numberFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net
Ipv4Tcp numberKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net
Ipv4Tcp numberKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net
Ipv4Tcp numberMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net
Ipv4Tcp numberMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net
Ipv4Tcp booleanTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net
Ipv4Tcpkeepalive numberIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net
Netfilter numberNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net
Netfilter numberNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm
Max numberMap Count - Sysctl setting vm.max_map_count.
- vm
Swappiness number - Sysctl setting vm.swappiness.
- vm
Vfs numberCache Pressure - Sysctl setting vm.vfs_cache_pressure.
- fs_
aio_ intmax_ nr - Sysctl setting fs.aio-max-nr.
- fs_
file_ intmax - Sysctl setting fs.file-max.
- fs_
inotify_ intmax_ user_ watches - Sysctl setting fs.inotify.max_user_watches.
- fs_
nr_ intopen - Sysctl setting fs.nr_open.
- kernel_
threads_ intmax - Sysctl setting kernel.threads-max.
- net_
core_ intnetdev_ max_ backlog - Sysctl setting net.core.netdev_max_backlog.
- net_
core_ intoptmem_ max - Sysctl setting net.core.optmem_max.
- net_
core_ intrmem_ default - Sysctl setting net.core.rmem_default.
- net_
core_ intrmem_ max - Sysctl setting net.core.rmem_max.
- net_
core_ intsomaxconn - Sysctl setting net.core.somaxconn.
- net_
core_ intwmem_ default - Sysctl setting net.core.wmem_default.
- net_
core_ intwmem_ max - Sysctl setting net.core.wmem_max.
- net_
ipv4_ strip_ local_ port_ range - Sysctl setting net.ipv4.ip_local_port_range.
- net_
ipv4_ intneigh_ default_ gc_ thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net_
ipv4_ intneigh_ default_ gc_ thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net_
ipv4_ intneigh_ default_ gc_ thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net_
ipv4_ inttcp_ fin_ timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net_
ipv4_ inttcp_ keepalive_ probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net_
ipv4_ inttcp_ keepalive_ time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net_
ipv4_ inttcp_ max_ syn_ backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net_
ipv4_ inttcp_ max_ tw_ buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net_
ipv4_ booltcp_ tw_ reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net_
ipv4_ inttcpkeepalive_ intvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net_
netfilter_ intnf_ conntrack_ buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net_
netfilter_ intnf_ conntrack_ max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm_
max_ intmap_ count - Sysctl setting vm.max_map_count.
- vm_
swappiness int - Sysctl setting vm.swappiness.
- vm_
vfs_ intcache_ pressure - Sysctl setting vm.vfs_cache_pressure.
- fs
Aio NumberMax Nr - Sysctl setting fs.aio-max-nr.
- fs
File NumberMax - Sysctl setting fs.file-max.
- fs
Inotify NumberMax User Watches - Sysctl setting fs.inotify.max_user_watches.
- fs
Nr NumberOpen - Sysctl setting fs.nr_open.
- kernel
Threads NumberMax - Sysctl setting kernel.threads-max.
- net
Core NumberNetdev Max Backlog - Sysctl setting net.core.netdev_max_backlog.
- net
Core NumberOptmem Max - Sysctl setting net.core.optmem_max.
- net
Core NumberRmem Default - Sysctl setting net.core.rmem_default.
- net
Core NumberRmem Max - Sysctl setting net.core.rmem_max.
- net
Core NumberSomaxconn - Sysctl setting net.core.somaxconn.
- net
Core NumberWmem Default - Sysctl setting net.core.wmem_default.
- net
Core NumberWmem Max - Sysctl setting net.core.wmem_max.
- net
Ipv4Ip StringLocal Port Range - Sysctl setting net.ipv4.ip_local_port_range.
- net
Ipv4Neigh NumberDefault Gc Thresh1 - Sysctl setting net.ipv4.neigh.default.gc_thresh1.
- net
Ipv4Neigh NumberDefault Gc Thresh2 - Sysctl setting net.ipv4.neigh.default.gc_thresh2.
- net
Ipv4Neigh NumberDefault Gc Thresh3 - Sysctl setting net.ipv4.neigh.default.gc_thresh3.
- net
Ipv4Tcp NumberFin Timeout - Sysctl setting net.ipv4.tcp_fin_timeout.
- net
Ipv4Tcp NumberKeepalive Probes - Sysctl setting net.ipv4.tcp_keepalive_probes.
- net
Ipv4Tcp NumberKeepalive Time - Sysctl setting net.ipv4.tcp_keepalive_time.
- net
Ipv4Tcp NumberMax Syn Backlog - Sysctl setting net.ipv4.tcp_max_syn_backlog.
- net
Ipv4Tcp NumberMax Tw Buckets - Sysctl setting net.ipv4.tcp_max_tw_buckets.
- net
Ipv4Tcp BooleanTw Reuse - Sysctl setting net.ipv4.tcp_tw_reuse.
- net
Ipv4Tcpkeepalive NumberIntvl - Sysctl setting net.ipv4.tcp_keepalive_intvl.
- net
Netfilter NumberNf Conntrack Buckets - Sysctl setting net.netfilter.nf_conntrack_buckets.
- net
Netfilter NumberNf Conntrack Max - Sysctl setting net.netfilter.nf_conntrack_max.
- vm
Max NumberMap Count - Sysctl setting vm.max_map_count.
- vm
Swappiness Number - Sysctl setting vm.swappiness.
- vm
Vfs NumberCache Pressure - Sysctl setting vm.vfs_cache_pressure.
UndrainableNodeBehavior, UndrainableNodeBehaviorArgs
- Cordon
- CordonAKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state.
- Schedule
- ScheduleAKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes.
- Undrainable
Node Behavior Cordon - CordonAKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state.
- Undrainable
Node Behavior Schedule - ScheduleAKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes.
- Cordon
- CordonAKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state.
- Schedule
- ScheduleAKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes.
- Cordon
- CordonAKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state.
- Schedule
- ScheduleAKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes.
- CORDON
- CordonAKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state.
- SCHEDULE
- ScheduleAKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes.
- "Cordon"
- CordonAKS will cordon the blocked nodes and replace them with surge nodes during upgrade. The blocked nodes will be cordoned and replaced by surge nodes. The blocked nodes will have label 'kubernetes.azure.com/upgrade-status:Quarantined'. A surge node will be retained for each blocked node. A best-effort attempt will be made to delete all other surge nodes. If there are enough surge nodes to replace blocked nodes, then the upgrade operation and the managed cluster will be in failed state. Otherwise, the upgrade operation and the managed cluster will be in canceled state.
- "Schedule"
- ScheduleAKS will mark the blocked nodes schedulable, but the blocked nodes are not upgraded. A best-effort attempt will be made to delete all surge nodes. The upgrade operation and the managed cluster will be in failed state if there are any blocked nodes.
VirtualMachineNodes, VirtualMachineNodesArgs
Current status on a group of nodes of the same vm size.VirtualMachineNodesResponse, VirtualMachineNodesResponseArgs
Current status on a group of nodes of the same vm size.VirtualMachinesProfile, VirtualMachinesProfileArgs
Specifications on VirtualMachines agent pool.- Scale
Pulumi.
Azure Native. Container Service. Inputs. Scale Profile - Specifications on how to scale a VirtualMachines agent pool.
- Scale
Scale
Profile - Specifications on how to scale a VirtualMachines agent pool.
- scale
Scale
Profile - Specifications on how to scale a VirtualMachines agent pool.
- scale
Scale
Profile - Specifications on how to scale a VirtualMachines agent pool.
- scale
Scale
Profile - Specifications on how to scale a VirtualMachines agent pool.
- scale Property Map
- Specifications on how to scale a VirtualMachines agent pool.
VirtualMachinesProfileResponse, VirtualMachinesProfileResponseArgs
Specifications on VirtualMachines agent pool.- Scale
Pulumi.
Azure Native. Container Service. Inputs. Scale Profile Response - Specifications on how to scale a VirtualMachines agent pool.
- Scale
Scale
Profile Response - Specifications on how to scale a VirtualMachines agent pool.
- scale
Scale
Profile Response - Specifications on how to scale a VirtualMachines agent pool.
- scale
Scale
Profile Response - Specifications on how to scale a VirtualMachines agent pool.
- scale
Scale
Profile Response - Specifications on how to scale a VirtualMachines agent pool.
- scale Property Map
- Specifications on how to scale a VirtualMachines agent pool.
WorkloadRuntime, WorkloadRuntimeArgs
- OCIContainer
- OCIContainerNodes will use Kubelet to run standard OCI container workloads.
- Wasm
Wasi - WasmWasiNodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
- Workload
Runtime OCIContainer - OCIContainerNodes will use Kubelet to run standard OCI container workloads.
- Workload
Runtime Wasm Wasi - WasmWasiNodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
- OCIContainer
- OCIContainerNodes will use Kubelet to run standard OCI container workloads.
- Wasm
Wasi - WasmWasiNodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
- OCIContainer
- OCIContainerNodes will use Kubelet to run standard OCI container workloads.
- Wasm
Wasi - WasmWasiNodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
- OCI_CONTAINER
- OCIContainerNodes will use Kubelet to run standard OCI container workloads.
- WASM_WASI
- WasmWasiNodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
- "OCIContainer"
- OCIContainerNodes will use Kubelet to run standard OCI container workloads.
- "Wasm
Wasi" - WasmWasiNodes will use Krustlet to run WASM workloads using the WASI provider (Preview).
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:containerservice:AgentPool agentpool1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
