spotinst.azure.OceanNpVirtualNodeGroup
Explore with Pulumi AI
Manages a Spotinst Ocean AKS Virtual Node Groups resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";
const example = new spotinst.azure.OceanNpVirtualNodeGroup("example", {
name: "testVng",
oceanId: "o-134abcd",
headrooms: [{
cpuPerUnit: 1024,
memoryPerUnit: 512,
gpuPerUnit: 0,
numOfUnits: 2,
}],
availabilityZones: [
"1",
"2",
"3",
],
labels: {
key: "env",
value: "test",
},
minCount: 1,
maxCount: 100,
maxPodsPerNode: 30,
enableNodePublicIp: true,
osDiskSizeGb: 30,
osDiskType: "Managed",
osType: "Linux",
osSku: "Ubuntu",
kubernetesVersion: "1.26",
podSubnetIds: ["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
vnetSubnetIds: ["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
linuxOsConfigs: [{
sysctls: [{
vmMaxMapCount: 79550,
}],
}],
spotPercentage: 50,
fallbackToOndemand: true,
taints: [{
key: "taintKey",
value: "taintValue",
effect: "NoSchedule",
}],
tags: {
tagKey: "env",
tagValue: "staging",
},
filters: {
minVcpu: 2,
maxVcpu: 16,
minMemoryGib: 8,
maxMemoryGib: 128,
architectures: [
"x86_64",
"arm64",
],
series: [
"D v3",
"Dds_v4",
"Dsv2",
],
excludeSeries: [
"Av2",
"A",
"Bs",
"D",
"E",
],
acceleratedNetworking: "Enabled",
diskPerformance: "Premium",
minGpu: 1,
maxGpu: 2,
minNics: 1,
vmTypes: [
"generalPurpose",
"GPU",
],
minDisk: 1,
gpuTypes: ["nvidia-tesla-t4"],
},
});
import pulumi
import pulumi_spotinst as spotinst
example = spotinst.azure.OceanNpVirtualNodeGroup("example",
name="testVng",
ocean_id="o-134abcd",
headrooms=[{
"cpu_per_unit": 1024,
"memory_per_unit": 512,
"gpu_per_unit": 0,
"num_of_units": 2,
}],
availability_zones=[
"1",
"2",
"3",
],
labels={
"key": "env",
"value": "test",
},
min_count=1,
max_count=100,
max_pods_per_node=30,
enable_node_public_ip=True,
os_disk_size_gb=30,
os_disk_type="Managed",
os_type="Linux",
os_sku="Ubuntu",
kubernetes_version="1.26",
pod_subnet_ids=["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
vnet_subnet_ids=["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
linux_os_configs=[{
"sysctls": [{
"vm_max_map_count": 79550,
}],
}],
spot_percentage=50,
fallback_to_ondemand=True,
taints=[{
"key": "taintKey",
"value": "taintValue",
"effect": "NoSchedule",
}],
tags={
"tagKey": "env",
"tagValue": "staging",
},
filters={
"min_vcpu": 2,
"max_vcpu": 16,
"min_memory_gib": 8,
"max_memory_gib": 128,
"architectures": [
"x86_64",
"arm64",
],
"series": [
"D v3",
"Dds_v4",
"Dsv2",
],
"exclude_series": [
"Av2",
"A",
"Bs",
"D",
"E",
],
"accelerated_networking": "Enabled",
"disk_performance": "Premium",
"min_gpu": 1,
"max_gpu": 2,
"min_nics": 1,
"vm_types": [
"generalPurpose",
"GPU",
],
"min_disk": 1,
"gpu_types": ["nvidia-tesla-t4"],
})
package main
import (
"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/azure"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azure.NewOceanNpVirtualNodeGroup(ctx, "example", &azure.OceanNpVirtualNodeGroupArgs{
Name: pulumi.String("testVng"),
OceanId: pulumi.String("o-134abcd"),
Headrooms: azure.OceanNpVirtualNodeGroupHeadroomArray{
&azure.OceanNpVirtualNodeGroupHeadroomArgs{
CpuPerUnit: pulumi.Int(1024),
MemoryPerUnit: pulumi.Int(512),
GpuPerUnit: pulumi.Int(0),
NumOfUnits: pulumi.Int(2),
},
},
AvailabilityZones: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
pulumi.String("3"),
},
Labels: pulumi.StringMap{
"key": pulumi.String("env"),
"value": pulumi.String("test"),
},
MinCount: pulumi.Int(1),
MaxCount: pulumi.Int(100),
MaxPodsPerNode: pulumi.Int(30),
EnableNodePublicIp: pulumi.Bool(true),
OsDiskSizeGb: pulumi.Int(30),
OsDiskType: pulumi.String("Managed"),
OsType: pulumi.String("Linux"),
OsSku: pulumi.String("Ubuntu"),
KubernetesVersion: pulumi.String("1.26"),
PodSubnetIds: pulumi.StringArray{
pulumi.String("/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"),
},
VnetSubnetIds: pulumi.StringArray{
pulumi.String("/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"),
},
LinuxOsConfigs: azure.OceanNpVirtualNodeGroupLinuxOsConfigArray{
&azure.OceanNpVirtualNodeGroupLinuxOsConfigArgs{
Sysctls: azure.OceanNpVirtualNodeGroupLinuxOsConfigSysctlArray{
&azure.OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs{
VmMaxMapCount: pulumi.Int(79550),
},
},
},
},
SpotPercentage: pulumi.Int(50),
FallbackToOndemand: pulumi.Bool(true),
Taints: azure.OceanNpVirtualNodeGroupTaintArray{
&azure.OceanNpVirtualNodeGroupTaintArgs{
Key: pulumi.String("taintKey"),
Value: pulumi.String("taintValue"),
Effect: pulumi.String("NoSchedule"),
},
},
Tags: pulumi.StringMap{
"tagKey": pulumi.String("env"),
"tagValue": pulumi.String("staging"),
},
Filters: &azure.OceanNpVirtualNodeGroupFiltersArgs{
MinVcpu: pulumi.Int(2),
MaxVcpu: pulumi.Int(16),
MinMemoryGib: pulumi.Float64(8),
MaxMemoryGib: pulumi.Float64(128),
Architectures: pulumi.StringArray{
pulumi.String("x86_64"),
pulumi.String("arm64"),
},
Series: pulumi.StringArray{
pulumi.String("D v3"),
pulumi.String("Dds_v4"),
pulumi.String("Dsv2"),
},
ExcludeSeries: pulumi.StringArray{
pulumi.String("Av2"),
pulumi.String("A"),
pulumi.String("Bs"),
pulumi.String("D"),
pulumi.String("E"),
},
AcceleratedNetworking: pulumi.String("Enabled"),
DiskPerformance: pulumi.String("Premium"),
MinGpu: pulumi.Float64(1),
MaxGpu: pulumi.Float64(2),
MinNics: pulumi.Int(1),
VmTypes: pulumi.StringArray{
pulumi.String("generalPurpose"),
pulumi.String("GPU"),
},
MinDisk: pulumi.Int(1),
GpuTypes: pulumi.StringArray{
pulumi.String("nvidia-tesla-t4"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SpotInst = Pulumi.SpotInst;
return await Deployment.RunAsync(() =>
{
var example = new SpotInst.Azure.OceanNpVirtualNodeGroup("example", new()
{
Name = "testVng",
OceanId = "o-134abcd",
Headrooms = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupHeadroomArgs
{
CpuPerUnit = 1024,
MemoryPerUnit = 512,
GpuPerUnit = 0,
NumOfUnits = 2,
},
},
AvailabilityZones = new[]
{
"1",
"2",
"3",
},
Labels =
{
{ "key", "env" },
{ "value", "test" },
},
MinCount = 1,
MaxCount = 100,
MaxPodsPerNode = 30,
EnableNodePublicIp = true,
OsDiskSizeGb = 30,
OsDiskType = "Managed",
OsType = "Linux",
OsSku = "Ubuntu",
KubernetesVersion = "1.26",
PodSubnetIds = new[]
{
"/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default",
},
VnetSubnetIds = new[]
{
"/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default",
},
LinuxOsConfigs = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupLinuxOsConfigArgs
{
Sysctls = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs
{
VmMaxMapCount = 79550,
},
},
},
},
SpotPercentage = 50,
FallbackToOndemand = true,
Taints = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupTaintArgs
{
Key = "taintKey",
Value = "taintValue",
Effect = "NoSchedule",
},
},
Tags =
{
{ "tagKey", "env" },
{ "tagValue", "staging" },
},
Filters = new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupFiltersArgs
{
MinVcpu = 2,
MaxVcpu = 16,
MinMemoryGib = 8,
MaxMemoryGib = 128,
Architectures = new[]
{
"x86_64",
"arm64",
},
Series = new[]
{
"D v3",
"Dds_v4",
"Dsv2",
},
ExcludeSeries = new[]
{
"Av2",
"A",
"Bs",
"D",
"E",
},
AcceleratedNetworking = "Enabled",
DiskPerformance = "Premium",
MinGpu = 1,
MaxGpu = 2,
MinNics = 1,
VmTypes = new[]
{
"generalPurpose",
"GPU",
},
MinDisk = 1,
GpuTypes = new[]
{
"nvidia-tesla-t4",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.azure.OceanNpVirtualNodeGroup;
import com.pulumi.spotinst.azure.OceanNpVirtualNodeGroupArgs;
import com.pulumi.spotinst.azure.inputs.OceanNpVirtualNodeGroupHeadroomArgs;
import com.pulumi.spotinst.azure.inputs.OceanNpVirtualNodeGroupLinuxOsConfigArgs;
import com.pulumi.spotinst.azure.inputs.OceanNpVirtualNodeGroupTaintArgs;
import com.pulumi.spotinst.azure.inputs.OceanNpVirtualNodeGroupFiltersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new OceanNpVirtualNodeGroup("example", OceanNpVirtualNodeGroupArgs.builder()
.name("testVng")
.oceanId("o-134abcd")
.headrooms(OceanNpVirtualNodeGroupHeadroomArgs.builder()
.cpuPerUnit(1024)
.memoryPerUnit(512)
.gpuPerUnit(0)
.numOfUnits(2)
.build())
.availabilityZones(
"1",
"2",
"3")
.labels(Map.ofEntries(
Map.entry("key", "env"),
Map.entry("value", "test")
))
.minCount(1)
.maxCount(100)
.maxPodsPerNode(30)
.enableNodePublicIp(true)
.osDiskSizeGb(30)
.osDiskType("Managed")
.osType("Linux")
.osSku("Ubuntu")
.kubernetesVersion("1.26")
.podSubnetIds("/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default")
.vnetSubnetIds("/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default")
.linuxOsConfigs(OceanNpVirtualNodeGroupLinuxOsConfigArgs.builder()
.sysctls(OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs.builder()
.vmMaxMapCount(79550)
.build())
.build())
.spotPercentage(50)
.fallbackToOndemand(true)
.taints(OceanNpVirtualNodeGroupTaintArgs.builder()
.key("taintKey")
.value("taintValue")
.effect("NoSchedule")
.build())
.tags(Map.ofEntries(
Map.entry("tagKey", "env"),
Map.entry("tagValue", "staging")
))
.filters(OceanNpVirtualNodeGroupFiltersArgs.builder()
.minVcpu(2)
.maxVcpu(16)
.minMemoryGib(8)
.maxMemoryGib(128)
.architectures(
"x86_64",
"arm64")
.series(
"D v3",
"Dds_v4",
"Dsv2")
.excludeSeries(
"Av2",
"A",
"Bs",
"D",
"E")
.acceleratedNetworking("Enabled")
.diskPerformance("Premium")
.minGpu(1)
.maxGpu(2)
.minNics(1)
.vmTypes(
"generalPurpose",
"GPU")
.minDisk(1)
.gpuTypes("nvidia-tesla-t4")
.build())
.build());
}
}
resources:
example:
type: spotinst:azure:OceanNpVirtualNodeGroup
properties:
name: testVng
oceanId: o-134abcd
headrooms:
- cpuPerUnit: 1024
memoryPerUnit: 512
gpuPerUnit: 0
numOfUnits: 2
availabilityZones:
- '1'
- '2'
- '3'
labels:
key: env
value: test
minCount: 1
maxCount: 100 # --- nodePoolProperties --------------------------------------------------
maxPodsPerNode: 30
enableNodePublicIp: true
osDiskSizeGb: 30
osDiskType: Managed
osType: Linux
osSku: Ubuntu
kubernetesVersion: '1.26'
podSubnetIds:
- /subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default
vnetSubnetIds:
- /subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default
linuxOsConfigs:
- sysctls:
- vmMaxMapCount: 79550
spotPercentage: 50
fallbackToOndemand: true # ---------------------------------------------------------------------------
taints:
- key: taintKey
value: taintValue
effect: NoSchedule
tags:
tagKey: env
tagValue: staging
filters:
minVcpu: 2
maxVcpu: 16
minMemoryGib: 8
maxMemoryGib: 128
architectures:
- x86_64
- arm64
series:
- D v3
- Dds_v4
- Dsv2
excludeSeries:
- Av2
- A
- Bs
- D
- E
acceleratedNetworking: Enabled
diskPerformance: Premium
minGpu: 1
maxGpu: 2
minNics: 1
vmTypes:
- generalPurpose
- GPU
minDisk: 1
gpuTypes:
- nvidia-tesla-t4
output "vng_id" {
value = spotinst_ocean_aks_np_virtual_node_group.example.id
}
Create OceanNpVirtualNodeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OceanNpVirtualNodeGroup(name: string, args: OceanNpVirtualNodeGroupArgs, opts?: CustomResourceOptions);
@overload
def OceanNpVirtualNodeGroup(resource_name: str,
args: OceanNpVirtualNodeGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OceanNpVirtualNodeGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
ocean_id: Optional[str] = None,
min_count: Optional[int] = None,
filters: Optional[OceanNpVirtualNodeGroupFiltersArgs] = None,
enable_node_public_ip: Optional[bool] = None,
headrooms: Optional[Sequence[OceanNpVirtualNodeGroupHeadroomArgs]] = None,
kubernetes_version: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
linux_os_configs: Optional[Sequence[OceanNpVirtualNodeGroupLinuxOsConfigArgs]] = None,
max_count: Optional[int] = None,
os_disk_size_gb: Optional[int] = None,
availability_zones: Optional[Sequence[str]] = None,
vnet_subnet_ids: Optional[Sequence[str]] = None,
fallback_to_ondemand: Optional[bool] = None,
max_pods_per_node: Optional[int] = None,
os_disk_type: Optional[str] = None,
os_sku: Optional[str] = None,
os_type: Optional[str] = None,
pod_subnet_ids: Optional[Sequence[str]] = None,
spot_percentage: Optional[int] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[OceanNpVirtualNodeGroupTaintArgs]] = None,
update_policy: Optional[OceanNpVirtualNodeGroupUpdatePolicyArgs] = None,
name: Optional[str] = None)
func NewOceanNpVirtualNodeGroup(ctx *Context, name string, args OceanNpVirtualNodeGroupArgs, opts ...ResourceOption) (*OceanNpVirtualNodeGroup, error)
public OceanNpVirtualNodeGroup(string name, OceanNpVirtualNodeGroupArgs args, CustomResourceOptions? opts = null)
public OceanNpVirtualNodeGroup(String name, OceanNpVirtualNodeGroupArgs args)
public OceanNpVirtualNodeGroup(String name, OceanNpVirtualNodeGroupArgs args, CustomResourceOptions options)
type: spotinst:azure:OceanNpVirtualNodeGroup
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 OceanNpVirtualNodeGroupArgs
- 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 OceanNpVirtualNodeGroupArgs
- 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 OceanNpVirtualNodeGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanNpVirtualNodeGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanNpVirtualNodeGroupArgs
- 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 oceanNpVirtualNodeGroupResource = new SpotInst.Azure.OceanNpVirtualNodeGroup("oceanNpVirtualNodeGroupResource", new()
{
OceanId = "string",
MinCount = 0,
Filters = new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupFiltersArgs
{
AcceleratedNetworking = "string",
Architectures = new[]
{
"string",
},
DiskPerformance = "string",
ExcludeSeries = new[]
{
"string",
},
GpuTypes = new[]
{
"string",
},
MaxGpu = 0,
MaxMemoryGib = 0,
MaxVcpu = 0,
MinDisk = 0,
MinGpu = 0,
MinMemoryGib = 0,
MinNics = 0,
MinVcpu = 0,
Series = new[]
{
"string",
},
VmTypes = new[]
{
"string",
},
},
EnableNodePublicIp = false,
Headrooms = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupHeadroomArgs
{
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
NumOfUnits = 0,
},
},
KubernetesVersion = "string",
Labels =
{
{ "string", "string" },
},
LinuxOsConfigs = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupLinuxOsConfigArgs
{
Sysctls = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs
{
VmMaxMapCount = 0,
},
},
},
},
MaxCount = 0,
OsDiskSizeGb = 0,
AvailabilityZones = new[]
{
"string",
},
VnetSubnetIds = new[]
{
"string",
},
FallbackToOndemand = false,
MaxPodsPerNode = 0,
OsDiskType = "string",
OsSku = "string",
OsType = "string",
PodSubnetIds = new[]
{
"string",
},
SpotPercentage = 0,
Tags =
{
{ "string", "string" },
},
Taints = new[]
{
new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
UpdatePolicy = new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupUpdatePolicyArgs
{
ShouldRoll = false,
ConditionedRoll = false,
RollConfig = new SpotInst.Azure.Inputs.OceanNpVirtualNodeGroupUpdatePolicyRollConfigArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
NodeNames = new[]
{
"string",
},
NodePoolNames = new[]
{
"string",
},
RespectPdb = false,
RespectRestrictScaleDown = false,
VngIds = new[]
{
"string",
},
},
},
Name = "string",
});
example, err := azure.NewOceanNpVirtualNodeGroup(ctx, "oceanNpVirtualNodeGroupResource", &azure.OceanNpVirtualNodeGroupArgs{
OceanId: pulumi.String("string"),
MinCount: pulumi.Int(0),
Filters: &azure.OceanNpVirtualNodeGroupFiltersArgs{
AcceleratedNetworking: pulumi.String("string"),
Architectures: pulumi.StringArray{
pulumi.String("string"),
},
DiskPerformance: pulumi.String("string"),
ExcludeSeries: pulumi.StringArray{
pulumi.String("string"),
},
GpuTypes: pulumi.StringArray{
pulumi.String("string"),
},
MaxGpu: pulumi.Float64(0),
MaxMemoryGib: pulumi.Float64(0),
MaxVcpu: pulumi.Int(0),
MinDisk: pulumi.Int(0),
MinGpu: pulumi.Float64(0),
MinMemoryGib: pulumi.Float64(0),
MinNics: pulumi.Int(0),
MinVcpu: pulumi.Int(0),
Series: pulumi.StringArray{
pulumi.String("string"),
},
VmTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
EnableNodePublicIp: pulumi.Bool(false),
Headrooms: azure.OceanNpVirtualNodeGroupHeadroomArray{
&azure.OceanNpVirtualNodeGroupHeadroomArgs{
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
NumOfUnits: pulumi.Int(0),
},
},
KubernetesVersion: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LinuxOsConfigs: azure.OceanNpVirtualNodeGroupLinuxOsConfigArray{
&azure.OceanNpVirtualNodeGroupLinuxOsConfigArgs{
Sysctls: azure.OceanNpVirtualNodeGroupLinuxOsConfigSysctlArray{
&azure.OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs{
VmMaxMapCount: pulumi.Int(0),
},
},
},
},
MaxCount: pulumi.Int(0),
OsDiskSizeGb: pulumi.Int(0),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
VnetSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
FallbackToOndemand: pulumi.Bool(false),
MaxPodsPerNode: pulumi.Int(0),
OsDiskType: pulumi.String("string"),
OsSku: pulumi.String("string"),
OsType: pulumi.String("string"),
PodSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
SpotPercentage: pulumi.Int(0),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Taints: azure.OceanNpVirtualNodeGroupTaintArray{
&azure.OceanNpVirtualNodeGroupTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdatePolicy: &azure.OceanNpVirtualNodeGroupUpdatePolicyArgs{
ShouldRoll: pulumi.Bool(false),
ConditionedRoll: pulumi.Bool(false),
RollConfig: &azure.OceanNpVirtualNodeGroupUpdatePolicyRollConfigArgs{
BatchMinHealthyPercentage: pulumi.Int(0),
BatchSizePercentage: pulumi.Int(0),
Comment: pulumi.String("string"),
NodeNames: pulumi.StringArray{
pulumi.String("string"),
},
NodePoolNames: pulumi.StringArray{
pulumi.String("string"),
},
RespectPdb: pulumi.Bool(false),
RespectRestrictScaleDown: pulumi.Bool(false),
VngIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
})
var oceanNpVirtualNodeGroupResource = new OceanNpVirtualNodeGroup("oceanNpVirtualNodeGroupResource", OceanNpVirtualNodeGroupArgs.builder()
.oceanId("string")
.minCount(0)
.filters(OceanNpVirtualNodeGroupFiltersArgs.builder()
.acceleratedNetworking("string")
.architectures("string")
.diskPerformance("string")
.excludeSeries("string")
.gpuTypes("string")
.maxGpu(0)
.maxMemoryGib(0)
.maxVcpu(0)
.minDisk(0)
.minGpu(0)
.minMemoryGib(0)
.minNics(0)
.minVcpu(0)
.series("string")
.vmTypes("string")
.build())
.enableNodePublicIp(false)
.headrooms(OceanNpVirtualNodeGroupHeadroomArgs.builder()
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.numOfUnits(0)
.build())
.kubernetesVersion("string")
.labels(Map.of("string", "string"))
.linuxOsConfigs(OceanNpVirtualNodeGroupLinuxOsConfigArgs.builder()
.sysctls(OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs.builder()
.vmMaxMapCount(0)
.build())
.build())
.maxCount(0)
.osDiskSizeGb(0)
.availabilityZones("string")
.vnetSubnetIds("string")
.fallbackToOndemand(false)
.maxPodsPerNode(0)
.osDiskType("string")
.osSku("string")
.osType("string")
.podSubnetIds("string")
.spotPercentage(0)
.tags(Map.of("string", "string"))
.taints(OceanNpVirtualNodeGroupTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.updatePolicy(OceanNpVirtualNodeGroupUpdatePolicyArgs.builder()
.shouldRoll(false)
.conditionedRoll(false)
.rollConfig(OceanNpVirtualNodeGroupUpdatePolicyRollConfigArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.nodeNames("string")
.nodePoolNames("string")
.respectPdb(false)
.respectRestrictScaleDown(false)
.vngIds("string")
.build())
.build())
.name("string")
.build());
ocean_np_virtual_node_group_resource = spotinst.azure.OceanNpVirtualNodeGroup("oceanNpVirtualNodeGroupResource",
ocean_id="string",
min_count=0,
filters={
"accelerated_networking": "string",
"architectures": ["string"],
"disk_performance": "string",
"exclude_series": ["string"],
"gpu_types": ["string"],
"max_gpu": 0,
"max_memory_gib": 0,
"max_vcpu": 0,
"min_disk": 0,
"min_gpu": 0,
"min_memory_gib": 0,
"min_nics": 0,
"min_vcpu": 0,
"series": ["string"],
"vm_types": ["string"],
},
enable_node_public_ip=False,
headrooms=[{
"cpu_per_unit": 0,
"gpu_per_unit": 0,
"memory_per_unit": 0,
"num_of_units": 0,
}],
kubernetes_version="string",
labels={
"string": "string",
},
linux_os_configs=[{
"sysctls": [{
"vm_max_map_count": 0,
}],
}],
max_count=0,
os_disk_size_gb=0,
availability_zones=["string"],
vnet_subnet_ids=["string"],
fallback_to_ondemand=False,
max_pods_per_node=0,
os_disk_type="string",
os_sku="string",
os_type="string",
pod_subnet_ids=["string"],
spot_percentage=0,
tags={
"string": "string",
},
taints=[{
"effect": "string",
"key": "string",
"value": "string",
}],
update_policy={
"should_roll": False,
"conditioned_roll": False,
"roll_config": {
"batch_min_healthy_percentage": 0,
"batch_size_percentage": 0,
"comment": "string",
"node_names": ["string"],
"node_pool_names": ["string"],
"respect_pdb": False,
"respect_restrict_scale_down": False,
"vng_ids": ["string"],
},
},
name="string")
const oceanNpVirtualNodeGroupResource = new spotinst.azure.OceanNpVirtualNodeGroup("oceanNpVirtualNodeGroupResource", {
oceanId: "string",
minCount: 0,
filters: {
acceleratedNetworking: "string",
architectures: ["string"],
diskPerformance: "string",
excludeSeries: ["string"],
gpuTypes: ["string"],
maxGpu: 0,
maxMemoryGib: 0,
maxVcpu: 0,
minDisk: 0,
minGpu: 0,
minMemoryGib: 0,
minNics: 0,
minVcpu: 0,
series: ["string"],
vmTypes: ["string"],
},
enableNodePublicIp: false,
headrooms: [{
cpuPerUnit: 0,
gpuPerUnit: 0,
memoryPerUnit: 0,
numOfUnits: 0,
}],
kubernetesVersion: "string",
labels: {
string: "string",
},
linuxOsConfigs: [{
sysctls: [{
vmMaxMapCount: 0,
}],
}],
maxCount: 0,
osDiskSizeGb: 0,
availabilityZones: ["string"],
vnetSubnetIds: ["string"],
fallbackToOndemand: false,
maxPodsPerNode: 0,
osDiskType: "string",
osSku: "string",
osType: "string",
podSubnetIds: ["string"],
spotPercentage: 0,
tags: {
string: "string",
},
taints: [{
effect: "string",
key: "string",
value: "string",
}],
updatePolicy: {
shouldRoll: false,
conditionedRoll: false,
rollConfig: {
batchMinHealthyPercentage: 0,
batchSizePercentage: 0,
comment: "string",
nodeNames: ["string"],
nodePoolNames: ["string"],
respectPdb: false,
respectRestrictScaleDown: false,
vngIds: ["string"],
},
},
name: "string",
});
type: spotinst:azure:OceanNpVirtualNodeGroup
properties:
availabilityZones:
- string
enableNodePublicIp: false
fallbackToOndemand: false
filters:
acceleratedNetworking: string
architectures:
- string
diskPerformance: string
excludeSeries:
- string
gpuTypes:
- string
maxGpu: 0
maxMemoryGib: 0
maxVcpu: 0
minDisk: 0
minGpu: 0
minMemoryGib: 0
minNics: 0
minVcpu: 0
series:
- string
vmTypes:
- string
headrooms:
- cpuPerUnit: 0
gpuPerUnit: 0
memoryPerUnit: 0
numOfUnits: 0
kubernetesVersion: string
labels:
string: string
linuxOsConfigs:
- sysctls:
- vmMaxMapCount: 0
maxCount: 0
maxPodsPerNode: 0
minCount: 0
name: string
oceanId: string
osDiskSizeGb: 0
osDiskType: string
osSku: string
osType: string
podSubnetIds:
- string
spotPercentage: 0
tags:
string: string
taints:
- effect: string
key: string
value: string
updatePolicy:
conditionedRoll: false
rollConfig:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
comment: string
nodeNames:
- string
nodePoolNames:
- string
respectPdb: false
respectRestrictScaleDown: false
vngIds:
- string
shouldRoll: false
vnetSubnetIds:
- string
OceanNpVirtualNodeGroup 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 OceanNpVirtualNodeGroup resource accepts the following input properties:
- Ocean
Id string - The Ocean cluster identifier. Required for Launch Spec creation.
- Availability
Zones List<string> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- Filters
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Filters - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Kubernetes
Version string - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- Labels Dictionary<string, string>
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- Linux
Os List<Pulumi.Configs Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Linux Os Config> - Custom Linux OS configuration.
- Max
Count int - Maximum node count limit.
- Max
Pods intPer Node - The maximum number of pods per node in the node pools.
- Min
Count int - Minimum node count limit.
- Name string
- Enter a name for the virtual node group.
- Os
Disk intSize Gb - The size of the OS disk in GB.
- Os
Disk stringType - The type of the OS disk.
- Os
Sku string - The OS SKU of the OS type. Must correlate with the os type.
- Os
Type string - The OS type of the OS disk. Can't be modified once set.
- Pod
Subnet List<string>Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- Spot
Percentage int - Percentage of spot VMs to maintain.
- Dictionary<string, string>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Taint> - Add taints to a virtual node group.
- Update
Policy Pulumi.Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Update Policy - Vnet
Subnet List<string>Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- Ocean
Id string - The Ocean cluster identifier. Required for Launch Spec creation.
- Availability
Zones []string - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- Filters
Ocean
Np Virtual Node Group Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
[]Ocean
Np Virtual Node Group Headroom Args - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Kubernetes
Version string - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- Labels map[string]string
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- Linux
Os []OceanConfigs Np Virtual Node Group Linux Os Config Args - Custom Linux OS configuration.
- Max
Count int - Maximum node count limit.
- Max
Pods intPer Node - The maximum number of pods per node in the node pools.
- Min
Count int - Minimum node count limit.
- Name string
- Enter a name for the virtual node group.
- Os
Disk intSize Gb - The size of the OS disk in GB.
- Os
Disk stringType - The type of the OS disk.
- Os
Sku string - The OS SKU of the OS type. Must correlate with the os type.
- Os
Type string - The OS type of the OS disk. Can't be modified once set.
- Pod
Subnet []stringIds - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- Spot
Percentage int - Percentage of spot VMs to maintain.
- map[string]string
- Taints
[]Ocean
Np Virtual Node Group Taint Args - Add taints to a virtual node group.
- Update
Policy OceanNp Virtual Node Group Update Policy Args - Vnet
Subnet []stringIds - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- ocean
Id String - The Ocean cluster identifier. Required for Launch Spec creation.
- availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters
Ocean
Np Virtual Node Group Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
List<Ocean
Np Virtual Node Group Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes
Version String - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels Map<String,String>
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux
Os List<OceanConfigs Np Virtual Node Group Linux Os Config> - Custom Linux OS configuration.
- max
Count Integer - Maximum node count limit.
- max
Pods IntegerPer Node - The maximum number of pods per node in the node pools.
- min
Count Integer - Minimum node count limit.
- name String
- Enter a name for the virtual node group.
- os
Disk IntegerSize Gb - The size of the OS disk in GB.
- os
Disk StringType - The type of the OS disk.
- os
Sku String - The OS SKU of the OS type. Must correlate with the os type.
- os
Type String - The OS type of the OS disk. Can't be modified once set.
- pod
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot
Percentage Integer - Percentage of spot VMs to maintain.
- Map<String,String>
- taints
List<Ocean
Np Virtual Node Group Taint> - Add taints to a virtual node group.
- update
Policy OceanNp Virtual Node Group Update Policy - vnet
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- ocean
Id string - The Ocean cluster identifier. Required for Launch Spec creation.
- availability
Zones string[] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable
Node booleanPublic Ip - Enable node public IP.
- fallback
To booleanOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters
Ocean
Np Virtual Node Group Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Ocean
Np Virtual Node Group Headroom[] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes
Version string - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels {[key: string]: string}
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux
Os OceanConfigs Np Virtual Node Group Linux Os Config[] - Custom Linux OS configuration.
- max
Count number - Maximum node count limit.
- max
Pods numberPer Node - The maximum number of pods per node in the node pools.
- min
Count number - Minimum node count limit.
- name string
- Enter a name for the virtual node group.
- os
Disk numberSize Gb - The size of the OS disk in GB.
- os
Disk stringType - The type of the OS disk.
- os
Sku string - The OS SKU of the OS type. Must correlate with the os type.
- os
Type string - The OS type of the OS disk. Can't be modified once set.
- pod
Subnet string[]Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot
Percentage number - Percentage of spot VMs to maintain.
- {[key: string]: string}
- taints
Ocean
Np Virtual Node Group Taint[] - Add taints to a virtual node group.
- update
Policy OceanNp Virtual Node Group Update Policy - vnet
Subnet string[]Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- ocean_
id str - The Ocean cluster identifier. Required for Launch Spec creation.
- availability_
zones Sequence[str] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable_
node_ boolpublic_ ip - Enable node public IP.
- fallback_
to_ boolondemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters
Ocean
Np Virtual Node Group Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Sequence[Ocean
Np Virtual Node Group Headroom Args] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes_
version str - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels Mapping[str, str]
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux_
os_ Sequence[Oceanconfigs Np Virtual Node Group Linux Os Config Args] - Custom Linux OS configuration.
- max_
count int - Maximum node count limit.
- max_
pods_ intper_ node - The maximum number of pods per node in the node pools.
- min_
count int - Minimum node count limit.
- name str
- Enter a name for the virtual node group.
- os_
disk_ intsize_ gb - The size of the OS disk in GB.
- os_
disk_ strtype - The type of the OS disk.
- os_
sku str - The OS SKU of the OS type. Must correlate with the os type.
- os_
type str - The OS type of the OS disk. Can't be modified once set.
- pod_
subnet_ Sequence[str]ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot_
percentage int - Percentage of spot VMs to maintain.
- Mapping[str, str]
- taints
Sequence[Ocean
Np Virtual Node Group Taint Args] - Add taints to a virtual node group.
- update_
policy OceanNp Virtual Node Group Update Policy Args - vnet_
subnet_ Sequence[str]ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- ocean
Id String - The Ocean cluster identifier. Required for Launch Spec creation.
- availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters Property Map
- Filters for the VM sizes that can be launched from the virtual node group.
- headrooms List<Property Map>
- Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes
Version String - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels Map<String>
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux
Os List<Property Map>Configs - Custom Linux OS configuration.
- max
Count Number - Maximum node count limit.
- max
Pods NumberPer Node - The maximum number of pods per node in the node pools.
- min
Count Number - Minimum node count limit.
- name String
- Enter a name for the virtual node group.
- os
Disk NumberSize Gb - The size of the OS disk in GB.
- os
Disk StringType - The type of the OS disk.
- os
Sku String - The OS SKU of the OS type. Must correlate with the os type.
- os
Type String - The OS type of the OS disk. Can't be modified once set.
- pod
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot
Percentage Number - Percentage of spot VMs to maintain.
- Map<String>
- taints List<Property Map>
- Add taints to a virtual node group.
- update
Policy Property Map - vnet
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
Outputs
All input properties are implicitly available as output properties. Additionally, the OceanNpVirtualNodeGroup resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OceanNpVirtualNodeGroup Resource
Get an existing OceanNpVirtualNodeGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OceanNpVirtualNodeGroupState, opts?: CustomResourceOptions): OceanNpVirtualNodeGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
availability_zones: Optional[Sequence[str]] = None,
enable_node_public_ip: Optional[bool] = None,
fallback_to_ondemand: Optional[bool] = None,
filters: Optional[OceanNpVirtualNodeGroupFiltersArgs] = None,
headrooms: Optional[Sequence[OceanNpVirtualNodeGroupHeadroomArgs]] = None,
kubernetes_version: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
linux_os_configs: Optional[Sequence[OceanNpVirtualNodeGroupLinuxOsConfigArgs]] = None,
max_count: Optional[int] = None,
max_pods_per_node: Optional[int] = None,
min_count: Optional[int] = None,
name: Optional[str] = None,
ocean_id: Optional[str] = None,
os_disk_size_gb: Optional[int] = None,
os_disk_type: Optional[str] = None,
os_sku: Optional[str] = None,
os_type: Optional[str] = None,
pod_subnet_ids: Optional[Sequence[str]] = None,
spot_percentage: Optional[int] = None,
tags: Optional[Mapping[str, str]] = None,
taints: Optional[Sequence[OceanNpVirtualNodeGroupTaintArgs]] = None,
update_policy: Optional[OceanNpVirtualNodeGroupUpdatePolicyArgs] = None,
vnet_subnet_ids: Optional[Sequence[str]] = None) -> OceanNpVirtualNodeGroup
func GetOceanNpVirtualNodeGroup(ctx *Context, name string, id IDInput, state *OceanNpVirtualNodeGroupState, opts ...ResourceOption) (*OceanNpVirtualNodeGroup, error)
public static OceanNpVirtualNodeGroup Get(string name, Input<string> id, OceanNpVirtualNodeGroupState? state, CustomResourceOptions? opts = null)
public static OceanNpVirtualNodeGroup get(String name, Output<String> id, OceanNpVirtualNodeGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Availability
Zones List<string> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- Filters
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Filters - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Kubernetes
Version string - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- Labels Dictionary<string, string>
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- Linux
Os List<Pulumi.Configs Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Linux Os Config> - Custom Linux OS configuration.
- Max
Count int - Maximum node count limit.
- Max
Pods intPer Node - The maximum number of pods per node in the node pools.
- Min
Count int - Minimum node count limit.
- Name string
- Enter a name for the virtual node group.
- Ocean
Id string - The Ocean cluster identifier. Required for Launch Spec creation.
- Os
Disk intSize Gb - The size of the OS disk in GB.
- Os
Disk stringType - The type of the OS disk.
- Os
Sku string - The OS SKU of the OS type. Must correlate with the os type.
- Os
Type string - The OS type of the OS disk. Can't be modified once set.
- Pod
Subnet List<string>Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- Spot
Percentage int - Percentage of spot VMs to maintain.
- Dictionary<string, string>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Taint> - Add taints to a virtual node group.
- Update
Policy Pulumi.Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Update Policy - Vnet
Subnet List<string>Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- Availability
Zones []string - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- Filters
Ocean
Np Virtual Node Group Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
[]Ocean
Np Virtual Node Group Headroom Args - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Kubernetes
Version string - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- Labels map[string]string
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- Linux
Os []OceanConfigs Np Virtual Node Group Linux Os Config Args - Custom Linux OS configuration.
- Max
Count int - Maximum node count limit.
- Max
Pods intPer Node - The maximum number of pods per node in the node pools.
- Min
Count int - Minimum node count limit.
- Name string
- Enter a name for the virtual node group.
- Ocean
Id string - The Ocean cluster identifier. Required for Launch Spec creation.
- Os
Disk intSize Gb - The size of the OS disk in GB.
- Os
Disk stringType - The type of the OS disk.
- Os
Sku string - The OS SKU of the OS type. Must correlate with the os type.
- Os
Type string - The OS type of the OS disk. Can't be modified once set.
- Pod
Subnet []stringIds - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- Spot
Percentage int - Percentage of spot VMs to maintain.
- map[string]string
- Taints
[]Ocean
Np Virtual Node Group Taint Args - Add taints to a virtual node group.
- Update
Policy OceanNp Virtual Node Group Update Policy Args - Vnet
Subnet []stringIds - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters
Ocean
Np Virtual Node Group Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
List<Ocean
Np Virtual Node Group Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes
Version String - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels Map<String,String>
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux
Os List<OceanConfigs Np Virtual Node Group Linux Os Config> - Custom Linux OS configuration.
- max
Count Integer - Maximum node count limit.
- max
Pods IntegerPer Node - The maximum number of pods per node in the node pools.
- min
Count Integer - Minimum node count limit.
- name String
- Enter a name for the virtual node group.
- ocean
Id String - The Ocean cluster identifier. Required for Launch Spec creation.
- os
Disk IntegerSize Gb - The size of the OS disk in GB.
- os
Disk StringType - The type of the OS disk.
- os
Sku String - The OS SKU of the OS type. Must correlate with the os type.
- os
Type String - The OS type of the OS disk. Can't be modified once set.
- pod
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot
Percentage Integer - Percentage of spot VMs to maintain.
- Map<String,String>
- taints
List<Ocean
Np Virtual Node Group Taint> - Add taints to a virtual node group.
- update
Policy OceanNp Virtual Node Group Update Policy - vnet
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- availability
Zones string[] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable
Node booleanPublic Ip - Enable node public IP.
- fallback
To booleanOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters
Ocean
Np Virtual Node Group Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Ocean
Np Virtual Node Group Headroom[] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes
Version string - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels {[key: string]: string}
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux
Os OceanConfigs Np Virtual Node Group Linux Os Config[] - Custom Linux OS configuration.
- max
Count number - Maximum node count limit.
- max
Pods numberPer Node - The maximum number of pods per node in the node pools.
- min
Count number - Minimum node count limit.
- name string
- Enter a name for the virtual node group.
- ocean
Id string - The Ocean cluster identifier. Required for Launch Spec creation.
- os
Disk numberSize Gb - The size of the OS disk in GB.
- os
Disk stringType - The type of the OS disk.
- os
Sku string - The OS SKU of the OS type. Must correlate with the os type.
- os
Type string - The OS type of the OS disk. Can't be modified once set.
- pod
Subnet string[]Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot
Percentage number - Percentage of spot VMs to maintain.
- {[key: string]: string}
- taints
Ocean
Np Virtual Node Group Taint[] - Add taints to a virtual node group.
- update
Policy OceanNp Virtual Node Group Update Policy - vnet
Subnet string[]Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- availability_
zones Sequence[str] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable_
node_ boolpublic_ ip - Enable node public IP.
- fallback_
to_ boolondemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters
Ocean
Np Virtual Node Group Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Sequence[Ocean
Np Virtual Node Group Headroom Args] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes_
version str - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels Mapping[str, str]
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux_
os_ Sequence[Oceanconfigs Np Virtual Node Group Linux Os Config Args] - Custom Linux OS configuration.
- max_
count int - Maximum node count limit.
- max_
pods_ intper_ node - The maximum number of pods per node in the node pools.
- min_
count int - Minimum node count limit.
- name str
- Enter a name for the virtual node group.
- ocean_
id str - The Ocean cluster identifier. Required for Launch Spec creation.
- os_
disk_ intsize_ gb - The size of the OS disk in GB.
- os_
disk_ strtype - The type of the OS disk.
- os_
sku str - The OS SKU of the OS type. Must correlate with the os type.
- os_
type str - The OS type of the OS disk. Can't be modified once set.
- pod_
subnet_ Sequence[str]ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot_
percentage int - Percentage of spot VMs to maintain.
- Mapping[str, str]
- taints
Sequence[Ocean
Np Virtual Node Group Taint Args] - Add taints to a virtual node group.
- update_
policy OceanNp Virtual Node Group Update Policy Args - vnet_
subnet_ Sequence[str]ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
- availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- filters Property Map
- Filters for the VM sizes that can be launched from the virtual node group.
- headrooms List<Property Map>
- Specify the custom headroom per VNG. Provide a list of headroom objects.
- kubernetes
Version String - The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
- labels Map<String>
- An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
- linux
Os List<Property Map>Configs - Custom Linux OS configuration.
- max
Count Number - Maximum node count limit.
- max
Pods NumberPer Node - The maximum number of pods per node in the node pools.
- min
Count Number - Minimum node count limit.
- name String
- Enter a name for the virtual node group.
- ocean
Id String - The Ocean cluster identifier. Required for Launch Spec creation.
- os
Disk NumberSize Gb - The size of the OS disk in GB.
- os
Disk StringType - The type of the OS disk.
- os
Sku String - The OS SKU of the OS type. Must correlate with the os type.
- os
Type String - The OS type of the OS disk. Can't be modified once set.
- pod
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
- spot
Percentage Number - Percentage of spot VMs to maintain.
- Map<String>
- taints List<Property Map>
- Add taints to a virtual node group.
- update
Policy Property Map - vnet
Subnet List<String>Ids - The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
Supporting Types
OceanNpVirtualNodeGroupFilters, OceanNpVirtualNodeGroupFiltersArgs
- Accelerated
Networking string - In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
- Architectures List<string>
- The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
- Disk
Performance string - The filtered vm sizes will support at least one of the classes from this list.
- Exclude
Series List<string> - Vm sizes belonging to a series from the list will not be available for scaling.
- Gpu
Types List<string> - The filtered gpu types will belong to one of the gpu types from this list.
- Max
Gpu double - Maximum number of GPUs available.
- Max
Memory doubleGib - Maximum amount of Memory (GiB).
- Max
Vcpu int - Maximum number of vcpus available.
- Min
Disk int - Minimum number of data disks available.
- Min
Gpu double - Minimum number of GPUs available.
- Min
Memory doubleGib - Minimum amount of Memory (GiB).
- Min
Nics int - Minimum number of network interfaces.
- Min
Vcpu int - Minimum number of vcpus available.
- Series List<string>
- Vm sizes belonging to a series from the list will be available for scaling.
- Vm
Types List<string> - The filtered vm types will belong to one of the vm types from this list.
- Accelerated
Networking string - In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
- Architectures []string
- The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
- Disk
Performance string - The filtered vm sizes will support at least one of the classes from this list.
- Exclude
Series []string - Vm sizes belonging to a series from the list will not be available for scaling.
- Gpu
Types []string - The filtered gpu types will belong to one of the gpu types from this list.
- Max
Gpu float64 - Maximum number of GPUs available.
- Max
Memory float64Gib - Maximum amount of Memory (GiB).
- Max
Vcpu int - Maximum number of vcpus available.
- Min
Disk int - Minimum number of data disks available.
- Min
Gpu float64 - Minimum number of GPUs available.
- Min
Memory float64Gib - Minimum amount of Memory (GiB).
- Min
Nics int - Minimum number of network interfaces.
- Min
Vcpu int - Minimum number of vcpus available.
- Series []string
- Vm sizes belonging to a series from the list will be available for scaling.
- Vm
Types []string - The filtered vm types will belong to one of the vm types from this list.
- accelerated
Networking String - In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
- architectures List<String>
- The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
- disk
Performance String - The filtered vm sizes will support at least one of the classes from this list.
- exclude
Series List<String> - Vm sizes belonging to a series from the list will not be available for scaling.
- gpu
Types List<String> - The filtered gpu types will belong to one of the gpu types from this list.
- max
Gpu Double - Maximum number of GPUs available.
- max
Memory DoubleGib - Maximum amount of Memory (GiB).
- max
Vcpu Integer - Maximum number of vcpus available.
- min
Disk Integer - Minimum number of data disks available.
- min
Gpu Double - Minimum number of GPUs available.
- min
Memory DoubleGib - Minimum amount of Memory (GiB).
- min
Nics Integer - Minimum number of network interfaces.
- min
Vcpu Integer - Minimum number of vcpus available.
- series List<String>
- Vm sizes belonging to a series from the list will be available for scaling.
- vm
Types List<String> - The filtered vm types will belong to one of the vm types from this list.
- accelerated
Networking string - In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
- architectures string[]
- The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
- disk
Performance string - The filtered vm sizes will support at least one of the classes from this list.
- exclude
Series string[] - Vm sizes belonging to a series from the list will not be available for scaling.
- gpu
Types string[] - The filtered gpu types will belong to one of the gpu types from this list.
- max
Gpu number - Maximum number of GPUs available.
- max
Memory numberGib - Maximum amount of Memory (GiB).
- max
Vcpu number - Maximum number of vcpus available.
- min
Disk number - Minimum number of data disks available.
- min
Gpu number - Minimum number of GPUs available.
- min
Memory numberGib - Minimum amount of Memory (GiB).
- min
Nics number - Minimum number of network interfaces.
- min
Vcpu number - Minimum number of vcpus available.
- series string[]
- Vm sizes belonging to a series from the list will be available for scaling.
- vm
Types string[] - The filtered vm types will belong to one of the vm types from this list.
- accelerated_
networking str - In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
- architectures Sequence[str]
- The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
- disk_
performance str - The filtered vm sizes will support at least one of the classes from this list.
- exclude_
series Sequence[str] - Vm sizes belonging to a series from the list will not be available for scaling.
- gpu_
types Sequence[str] - The filtered gpu types will belong to one of the gpu types from this list.
- max_
gpu float - Maximum number of GPUs available.
- max_
memory_ floatgib - Maximum amount of Memory (GiB).
- max_
vcpu int - Maximum number of vcpus available.
- min_
disk int - Minimum number of data disks available.
- min_
gpu float - Minimum number of GPUs available.
- min_
memory_ floatgib - Minimum amount of Memory (GiB).
- min_
nics int - Minimum number of network interfaces.
- min_
vcpu int - Minimum number of vcpus available.
- series Sequence[str]
- Vm sizes belonging to a series from the list will be available for scaling.
- vm_
types Sequence[str] - The filtered vm types will belong to one of the vm types from this list.
- accelerated
Networking String - In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
- architectures List<String>
- The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
- disk
Performance String - The filtered vm sizes will support at least one of the classes from this list.
- exclude
Series List<String> - Vm sizes belonging to a series from the list will not be available for scaling.
- gpu
Types List<String> - The filtered gpu types will belong to one of the gpu types from this list.
- max
Gpu Number - Maximum number of GPUs available.
- max
Memory NumberGib - Maximum amount of Memory (GiB).
- max
Vcpu Number - Maximum number of vcpus available.
- min
Disk Number - Minimum number of data disks available.
- min
Gpu Number - Minimum number of GPUs available.
- min
Memory NumberGib - Minimum amount of Memory (GiB).
- min
Nics Number - Minimum number of network interfaces.
- min
Vcpu Number - Minimum number of vcpus available.
- series List<String>
- Vm sizes belonging to a series from the list will be available for scaling.
- vm
Types List<String> - The filtered vm types will belong to one of the vm types from this list.
OceanNpVirtualNodeGroupHeadroom, OceanNpVirtualNodeGroupHeadroomArgs
- Cpu
Per intUnit - Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - Amount of GPU to allocate for headroom unit.
- Memory
Per intUnit - Configure the amount of memory (MiB) to allocate the headroom.
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- Cpu
Per intUnit - Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - Amount of GPU to allocate for headroom unit.
- Memory
Per intUnit - Configure the amount of memory (MiB) to allocate the headroom.
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per IntegerUnit - Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per IntegerUnit - Amount of GPU to allocate for headroom unit.
- memory
Per IntegerUnit - Configure the amount of memory (MiB) to allocate the headroom.
- num
Of IntegerUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per numberUnit - Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per numberUnit - Amount of GPU to allocate for headroom unit.
- memory
Per numberUnit - Configure the amount of memory (MiB) to allocate the headroom.
- num
Of numberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu_
per_ intunit - Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu_
per_ intunit - Amount of GPU to allocate for headroom unit.
- memory_
per_ intunit - Configure the amount of memory (MiB) to allocate the headroom.
- num_
of_ intunits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per NumberUnit - Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per NumberUnit - Amount of GPU to allocate for headroom unit.
- memory
Per NumberUnit - Configure the amount of memory (MiB) to allocate the headroom.
- num
Of NumberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
OceanNpVirtualNodeGroupLinuxOsConfig, OceanNpVirtualNodeGroupLinuxOsConfigArgs
- Sysctls
[]Ocean
Np Virtual Node Group Linux Os Config Sysctl - System Controls
- sysctls
List<Ocean
Np Virtual Node Group Linux Os Config Sysctl> - System Controls
- sysctls
Ocean
Np Virtual Node Group Linux Os Config Sysctl[] - System Controls
- sysctls
Sequence[Ocean
Np Virtual Node Group Linux Os Config Sysctl] - System Controls
- sysctls List<Property Map>
- System Controls
OceanNpVirtualNodeGroupLinuxOsConfigSysctl, OceanNpVirtualNodeGroupLinuxOsConfigSysctlArgs
- Vm
Max intMap Count - Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
- Vm
Max intMap Count - Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
- vm
Max IntegerMap Count - Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
- vm
Max numberMap Count - Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
- vm_
max_ intmap_ count - Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
- vm
Max NumberMap Count - Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
OceanNpVirtualNodeGroupTaint, OceanNpVirtualNodeGroupTaintArgs
OceanNpVirtualNodeGroupUpdatePolicy, OceanNpVirtualNodeGroupUpdatePolicyArgs
- Should
Roll bool - If set to true along with the vng update, roll will be triggered.
- Conditioned
Roll bool - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
- Roll
Config Pulumi.Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Update Policy Roll Config - While used, you can control whether the group should perform a deployment after an update to the configuration.
- Should
Roll bool - If set to true along with the vng update, roll will be triggered.
- Conditioned
Roll bool - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
- Roll
Config OceanNp Virtual Node Group Update Policy Roll Config - While used, you can control whether the group should perform a deployment after an update to the configuration.
- should
Roll Boolean - If set to true along with the vng update, roll will be triggered.
- conditioned
Roll Boolean - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
- roll
Config OceanNp Virtual Node Group Update Policy Roll Config - While used, you can control whether the group should perform a deployment after an update to the configuration.
- should
Roll boolean - If set to true along with the vng update, roll will be triggered.
- conditioned
Roll boolean - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
- roll
Config OceanNp Virtual Node Group Update Policy Roll Config - While used, you can control whether the group should perform a deployment after an update to the configuration.
- should_
roll bool - If set to true along with the vng update, roll will be triggered.
- conditioned_
roll bool - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
- roll_
config OceanNp Virtual Node Group Update Policy Roll Config - While used, you can control whether the group should perform a deployment after an update to the configuration.
- should
Roll Boolean - If set to true along with the vng update, roll will be triggered.
- conditioned
Roll Boolean - Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
- roll
Config Property Map - While used, you can control whether the group should perform a deployment after an update to the configuration.
OceanNpVirtualNodeGroupUpdatePolicyRollConfig, OceanNpVirtualNodeGroupUpdatePolicyRollConfigArgs
- Batch
Min intHealthy Percentage - Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- Batch
Size intPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
- Comment string
- Add a comment description for the roll. The comment is limited to 256 chars and optional.
- Node
Names List<string> - List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
- Node
Pool List<string>Names - List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
- Respect
Pdb bool - During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
- Respect
Restrict boolScale Down - During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
- Vng
Ids List<string> - List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
- Batch
Min intHealthy Percentage - Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- Batch
Size intPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
- Comment string
- Add a comment description for the roll. The comment is limited to 256 chars and optional.
- Node
Names []string - List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
- Node
Pool []stringNames - List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
- Respect
Pdb bool - During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
- Respect
Restrict boolScale Down - During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
- Vng
Ids []string - List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
- batch
Min IntegerHealthy Percentage - Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch
Size IntegerPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
- comment String
- Add a comment description for the roll. The comment is limited to 256 chars and optional.
- node
Names List<String> - List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
- node
Pool List<String>Names - List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
- respect
Pdb Boolean - During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
- respect
Restrict BooleanScale Down - During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
- vng
Ids List<String> - List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
- batch
Min numberHealthy Percentage - Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch
Size numberPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
- comment string
- Add a comment description for the roll. The comment is limited to 256 chars and optional.
- node
Names string[] - List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
- node
Pool string[]Names - List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
- respect
Pdb boolean - During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
- respect
Restrict booleanScale Down - During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
- vng
Ids string[] - List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
- batch_
min_ inthealthy_ percentage - Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch_
size_ intpercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
- comment str
- Add a comment description for the roll. The comment is limited to 256 chars and optional.
- node_
names Sequence[str] - List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
- node_
pool_ Sequence[str]names - List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
- respect_
pdb bool - During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
- respect_
restrict_ boolscale_ down - During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
- vng_
ids Sequence[str] - List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
- batch
Min NumberHealthy Percentage - Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
- batch
Size NumberPercentage - Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
- comment String
- Add a comment description for the roll. The comment is limited to 256 chars and optional.
- node
Names List<String> - List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
- node
Pool List<String>Names - List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
- respect
Pdb Boolean - During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
- respect
Restrict BooleanScale Down - During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
- vng
Ids List<String> - List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.