spotinst.azure.OceanVirtualNodeGroup

Explore with Pulumi AI

Manages a Spotinst Ocean AKS Virtual Node Group resource.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SpotInst = Pulumi.SpotInst;

return await Deployment.RunAsync(() => 
{
    var example = new SpotInst.Azure.OceanVirtualNodeGroup("example", new()
    {
        Autoscales = new[]
        {
            new SpotInst.Azure.Inputs.OceanVirtualNodeGroupAutoscaleArgs
            {
                AutoHeadroomPercentage = 5,
                AutoscaleHeadrooms = new[]
                {
                    new SpotInst.Azure.Inputs.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroomArgs
                    {
                        CpuPerUnit = 4,
                        GpuPerUnit = 8,
                        MemoryPerUnit = 100,
                        NumOfUnits = 16,
                    },
                },
            },
        },
        Labels = new[]
        {
            new SpotInst.Azure.Inputs.OceanVirtualNodeGroupLabelArgs
            {
                Key = "label_key",
                Value = "label_value",
            },
        },
        LaunchSpecifications = new[]
        {
            new SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationArgs
            {
                MaxPods = 30,
                OsDisk = new SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationOsDiskArgs
                {
                    SizeGb = 100,
                    Type = "Standard_LRS",
                    UtilizeEphemeralStorage = false,
                },
                Tags = new[]
                {
                    new SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationTagArgs
                    {
                        Key = "label_key",
                        Value = "label_value",
                    },
                },
            },
        },
        OceanId = "o-12345",
        ResourceLimits = new[]
        {
            new SpotInst.Azure.Inputs.OceanVirtualNodeGroupResourceLimitArgs
            {
                MaxInstanceCount = 4,
            },
        },
        Taints = new[]
        {
            new SpotInst.Azure.Inputs.OceanVirtualNodeGroupTaintArgs
            {
                Effect = "NoSchedule",
                Key = "taint_key",
                Value = "taint_value",
            },
        },
        Zones = new[]
        {
            "1",
            "2",
            "3",
        },
    });

});
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.NewOceanVirtualNodeGroup(ctx, "example", &azure.OceanVirtualNodeGroupArgs{
			Autoscales: azure.OceanVirtualNodeGroupAutoscaleArray{
				&azure.OceanVirtualNodeGroupAutoscaleArgs{
					AutoHeadroomPercentage: pulumi.Int(5),
					AutoscaleHeadrooms: azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroomArray{
						&azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroomArgs{
							CpuPerUnit:    pulumi.Int(4),
							GpuPerUnit:    pulumi.Int(8),
							MemoryPerUnit: pulumi.Int(100),
							NumOfUnits:    pulumi.Int(16),
						},
					},
				},
			},
			Labels: azure.OceanVirtualNodeGroupLabelArray{
				&azure.OceanVirtualNodeGroupLabelArgs{
					Key:   pulumi.String("label_key"),
					Value: pulumi.String("label_value"),
				},
			},
			LaunchSpecifications: azure.OceanVirtualNodeGroupLaunchSpecificationArray{
				&azure.OceanVirtualNodeGroupLaunchSpecificationArgs{
					MaxPods: pulumi.Int(30),
					OsDisk: &azure.OceanVirtualNodeGroupLaunchSpecificationOsDiskArgs{
						SizeGb:                  pulumi.Int(100),
						Type:                    pulumi.String("Standard_LRS"),
						UtilizeEphemeralStorage: pulumi.Bool(false),
					},
					Tags: azure.OceanVirtualNodeGroupLaunchSpecificationTagArray{
						&azure.OceanVirtualNodeGroupLaunchSpecificationTagArgs{
							Key:   pulumi.String("label_key"),
							Value: pulumi.String("label_value"),
						},
					},
				},
			},
			OceanId: pulumi.String("o-12345"),
			ResourceLimits: azure.OceanVirtualNodeGroupResourceLimitArray{
				&azure.OceanVirtualNodeGroupResourceLimitArgs{
					MaxInstanceCount: pulumi.Int(4),
				},
			},
			Taints: azure.OceanVirtualNodeGroupTaintArray{
				&azure.OceanVirtualNodeGroupTaintArgs{
					Effect: pulumi.String("NoSchedule"),
					Key:    pulumi.String("taint_key"),
					Value:  pulumi.String("taint_value"),
				},
			},
			Zones: pulumi.StringArray{
				pulumi.String("1"),
				pulumi.String("2"),
				pulumi.String("3"),
			},
		})
		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.spotinst.azure.OceanVirtualNodeGroup;
import com.pulumi.spotinst.azure.OceanVirtualNodeGroupArgs;
import com.pulumi.spotinst.azure.inputs.OceanVirtualNodeGroupAutoscaleArgs;
import com.pulumi.spotinst.azure.inputs.OceanVirtualNodeGroupLabelArgs;
import com.pulumi.spotinst.azure.inputs.OceanVirtualNodeGroupLaunchSpecificationArgs;
import com.pulumi.spotinst.azure.inputs.OceanVirtualNodeGroupLaunchSpecificationOsDiskArgs;
import com.pulumi.spotinst.azure.inputs.OceanVirtualNodeGroupResourceLimitArgs;
import com.pulumi.spotinst.azure.inputs.OceanVirtualNodeGroupTaintArgs;
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 OceanVirtualNodeGroup("example", OceanVirtualNodeGroupArgs.builder()        
            .autoscales(OceanVirtualNodeGroupAutoscaleArgs.builder()
                .autoHeadroomPercentage(5)
                .autoscaleHeadrooms(OceanVirtualNodeGroupAutoscaleAutoscaleHeadroomArgs.builder()
                    .cpuPerUnit(4)
                    .gpuPerUnit(8)
                    .memoryPerUnit(100)
                    .numOfUnits(16)
                    .build())
                .build())
            .labels(OceanVirtualNodeGroupLabelArgs.builder()
                .key("label_key")
                .value("label_value")
                .build())
            .launchSpecifications(OceanVirtualNodeGroupLaunchSpecificationArgs.builder()
                .maxPods(30)
                .osDisk(OceanVirtualNodeGroupLaunchSpecificationOsDiskArgs.builder()
                    .sizeGb(100)
                    .type("Standard_LRS")
                    .utilizeEphemeralStorage(false)
                    .build())
                .tags(OceanVirtualNodeGroupLaunchSpecificationTagArgs.builder()
                    .key("label_key")
                    .value("label_value")
                    .build())
                .build())
            .oceanId("o-12345")
            .resourceLimits(OceanVirtualNodeGroupResourceLimitArgs.builder()
                .maxInstanceCount(4)
                .build())
            .taints(OceanVirtualNodeGroupTaintArgs.builder()
                .effect("NoSchedule")
                .key("taint_key")
                .value("taint_value")
                .build())
            .zones(            
                "1",
                "2",
                "3")
            .build());

    }
}
import pulumi
import pulumi_spotinst as spotinst

example = spotinst.azure.OceanVirtualNodeGroup("example",
    autoscales=[spotinst.azure.OceanVirtualNodeGroupAutoscaleArgs(
        auto_headroom_percentage=5,
        autoscale_headrooms=[spotinst.azure.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroomArgs(
            cpu_per_unit=4,
            gpu_per_unit=8,
            memory_per_unit=100,
            num_of_units=16,
        )],
    )],
    labels=[spotinst.azure.OceanVirtualNodeGroupLabelArgs(
        key="label_key",
        value="label_value",
    )],
    launch_specifications=[spotinst.azure.OceanVirtualNodeGroupLaunchSpecificationArgs(
        max_pods=30,
        os_disk=spotinst.azure.OceanVirtualNodeGroupLaunchSpecificationOsDiskArgs(
            size_gb=100,
            type="Standard_LRS",
            utilize_ephemeral_storage=False,
        ),
        tags=[spotinst.azure.OceanVirtualNodeGroupLaunchSpecificationTagArgs(
            key="label_key",
            value="label_value",
        )],
    )],
    ocean_id="o-12345",
    resource_limits=[spotinst.azure.OceanVirtualNodeGroupResourceLimitArgs(
        max_instance_count=4,
    )],
    taints=[spotinst.azure.OceanVirtualNodeGroupTaintArgs(
        effect="NoSchedule",
        key="taint_key",
        value="taint_value",
    )],
    zones=[
        "1",
        "2",
        "3",
    ])
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";

const example = new spotinst.azure.OceanVirtualNodeGroup("example", {
    autoscales: [{
        autoHeadroomPercentage: 5,
        autoscaleHeadrooms: [{
            cpuPerUnit: 4,
            gpuPerUnit: 8,
            memoryPerUnit: 100,
            numOfUnits: 16,
        }],
    }],
    labels: [{
        key: "label_key",
        value: "label_value",
    }],
    launchSpecifications: [{
        maxPods: 30,
        osDisk: {
            sizeGb: 100,
            type: "Standard_LRS",
            utilizeEphemeralStorage: false,
        },
        tags: [{
            key: "label_key",
            value: "label_value",
        }],
    }],
    oceanId: "o-12345",
    resourceLimits: [{
        maxInstanceCount: 4,
    }],
    taints: [{
        effect: "NoSchedule",
        key: "taint_key",
        value: "taint_value",
    }],
    zones: [
        "1",
        "2",
        "3",
    ],
});
resources:
  example:
    type: spotinst:azure:OceanVirtualNodeGroup
    properties:
      autoscales:
        - autoHeadroomPercentage: 5
          autoscaleHeadrooms:
            - cpuPerUnit: 4
              gpuPerUnit: 8
              memoryPerUnit: 100
              numOfUnits: 16
      labels:
        - key: label_key
          value: label_value
      launchSpecifications:
        - maxPods: 30
          osDisk:
            sizeGb: 100
            type: Standard_LRS
            utilizeEphemeralStorage: false
          tags:
            - key: label_key
              value: label_value
      oceanId: o-12345
      resourceLimits:
        - maxInstanceCount: 4
      taints:
        - effect: NoSchedule
          key: taint_key
          value: taint_value
      zones:
        - '1'
        - '2'
        - '3'
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
    return new Dictionary<string, object?>
    {
        ["oceanId"] = spotinst_ocean_aks_.Example.Id,
    };
});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ctx.Export("oceanId", spotinst_ocean_aks_.Example.Id)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
        ctx.export("oceanId", spotinst_ocean_aks_.example().id());
    }
}
import pulumi

pulumi.export("oceanId", spotinst_ocean_aks_["example"]["id"])
import * as pulumi from "@pulumi/pulumi";

export const oceanId = spotinst_ocean_aks_.example.id;
outputs:
  oceanId: ${spotinst_ocean_aks_.example.id}

Create OceanVirtualNodeGroup Resource

new OceanVirtualNodeGroup(name: string, args: OceanVirtualNodeGroupArgs, opts?: CustomResourceOptions);
@overload
def OceanVirtualNodeGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          autoscales: Optional[Sequence[OceanVirtualNodeGroupAutoscaleArgs]] = None,
                          labels: Optional[Sequence[OceanVirtualNodeGroupLabelArgs]] = None,
                          launch_specifications: Optional[Sequence[OceanVirtualNodeGroupLaunchSpecificationArgs]] = None,
                          name: Optional[str] = None,
                          ocean_id: Optional[str] = None,
                          resource_limits: Optional[Sequence[OceanVirtualNodeGroupResourceLimitArgs]] = None,
                          taints: Optional[Sequence[OceanVirtualNodeGroupTaintArgs]] = None,
                          zones: Optional[Sequence[str]] = None)
@overload
def OceanVirtualNodeGroup(resource_name: str,
                          args: OceanVirtualNodeGroupArgs,
                          opts: Optional[ResourceOptions] = None)
func NewOceanVirtualNodeGroup(ctx *Context, name string, args OceanVirtualNodeGroupArgs, opts ...ResourceOption) (*OceanVirtualNodeGroup, error)
public OceanVirtualNodeGroup(string name, OceanVirtualNodeGroupArgs args, CustomResourceOptions? opts = null)
public OceanVirtualNodeGroup(String name, OceanVirtualNodeGroupArgs args)
public OceanVirtualNodeGroup(String name, OceanVirtualNodeGroupArgs args, CustomResourceOptions options)
type: spotinst:azure:OceanVirtualNodeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args OceanVirtualNodeGroupArgs
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 OceanVirtualNodeGroupArgs
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 OceanVirtualNodeGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OceanVirtualNodeGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args OceanVirtualNodeGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

OceanVirtualNodeGroup Resource Properties

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

Inputs

The OceanVirtualNodeGroup resource accepts the following input properties:

OceanId string

The Ocean cluster ID.

Autoscales List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupAutoscaleArgs>

.

Labels List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupLabelArgs>

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

LaunchSpecifications List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationArgs>

.

Name string

Set name for the virtual node group.

ResourceLimits List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupResourceLimitArgs>

.

Taints List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupTaintArgs>

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

Zones List<string>

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

OceanId string

The Ocean cluster ID.

Autoscales []OceanVirtualNodeGroupAutoscaleArgs

.

Labels []OceanVirtualNodeGroupLabelArgs

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

LaunchSpecifications []OceanVirtualNodeGroupLaunchSpecificationArgs

.

Name string

Set name for the virtual node group.

ResourceLimits []OceanVirtualNodeGroupResourceLimitArgs

.

Taints []OceanVirtualNodeGroupTaintArgs

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

Zones []string

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

oceanId String

The Ocean cluster ID.

autoscales List<OceanVirtualNodeGroupAutoscaleArgs>

.

labels List<OceanVirtualNodeGroupLabelArgs>

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launchSpecifications List<OceanVirtualNodeGroupLaunchSpecificationArgs>

.

name String

Set name for the virtual node group.

resourceLimits List<OceanVirtualNodeGroupResourceLimitArgs>

.

taints List<OceanVirtualNodeGroupTaintArgs>

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones List<String>

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

oceanId string

The Ocean cluster ID.

autoscales OceanVirtualNodeGroupAutoscaleArgs[]

.

labels OceanVirtualNodeGroupLabelArgs[]

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launchSpecifications OceanVirtualNodeGroupLaunchSpecificationArgs[]

.

name string

Set name for the virtual node group.

resourceLimits OceanVirtualNodeGroupResourceLimitArgs[]

.

taints OceanVirtualNodeGroupTaintArgs[]

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones string[]

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

ocean_id str

The Ocean cluster ID.

autoscales Sequence[OceanVirtualNodeGroupAutoscaleArgs]

.

labels Sequence[OceanVirtualNodeGroupLabelArgs]

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launch_specifications Sequence[OceanVirtualNodeGroupLaunchSpecificationArgs]

.

name str

Set name for the virtual node group.

resource_limits Sequence[OceanVirtualNodeGroupResourceLimitArgs]

.

taints Sequence[OceanVirtualNodeGroupTaintArgs]

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones Sequence[str]

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

oceanId String

The Ocean cluster ID.

autoscales List<Property Map>

.

labels List<Property Map>

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launchSpecifications List<Property Map>

.

name String

Set name for the virtual node group.

resourceLimits List<Property Map>

.

taints List<Property Map>

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones List<String>

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

Outputs

All input properties are implicitly available as output properties. Additionally, the OceanVirtualNodeGroup 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 OceanVirtualNodeGroup Resource

Get an existing OceanVirtualNodeGroup 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?: OceanVirtualNodeGroupState, opts?: CustomResourceOptions): OceanVirtualNodeGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        autoscales: Optional[Sequence[OceanVirtualNodeGroupAutoscaleArgs]] = None,
        labels: Optional[Sequence[OceanVirtualNodeGroupLabelArgs]] = None,
        launch_specifications: Optional[Sequence[OceanVirtualNodeGroupLaunchSpecificationArgs]] = None,
        name: Optional[str] = None,
        ocean_id: Optional[str] = None,
        resource_limits: Optional[Sequence[OceanVirtualNodeGroupResourceLimitArgs]] = None,
        taints: Optional[Sequence[OceanVirtualNodeGroupTaintArgs]] = None,
        zones: Optional[Sequence[str]] = None) -> OceanVirtualNodeGroup
func GetOceanVirtualNodeGroup(ctx *Context, name string, id IDInput, state *OceanVirtualNodeGroupState, opts ...ResourceOption) (*OceanVirtualNodeGroup, error)
public static OceanVirtualNodeGroup Get(string name, Input<string> id, OceanVirtualNodeGroupState? state, CustomResourceOptions? opts = null)
public static OceanVirtualNodeGroup get(String name, Output<String> id, OceanVirtualNodeGroupState 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.
The following state arguments are supported:
Autoscales List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupAutoscaleArgs>

.

Labels List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupLabelArgs>

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

LaunchSpecifications List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationArgs>

.

Name string

Set name for the virtual node group.

OceanId string

The Ocean cluster ID.

ResourceLimits List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupResourceLimitArgs>

.

Taints List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupTaintArgs>

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

Zones List<string>

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

Autoscales []OceanVirtualNodeGroupAutoscaleArgs

.

Labels []OceanVirtualNodeGroupLabelArgs

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

LaunchSpecifications []OceanVirtualNodeGroupLaunchSpecificationArgs

.

Name string

Set name for the virtual node group.

OceanId string

The Ocean cluster ID.

ResourceLimits []OceanVirtualNodeGroupResourceLimitArgs

.

Taints []OceanVirtualNodeGroupTaintArgs

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

Zones []string

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

autoscales List<OceanVirtualNodeGroupAutoscaleArgs>

.

labels List<OceanVirtualNodeGroupLabelArgs>

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launchSpecifications List<OceanVirtualNodeGroupLaunchSpecificationArgs>

.

name String

Set name for the virtual node group.

oceanId String

The Ocean cluster ID.

resourceLimits List<OceanVirtualNodeGroupResourceLimitArgs>

.

taints List<OceanVirtualNodeGroupTaintArgs>

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones List<String>

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

autoscales OceanVirtualNodeGroupAutoscaleArgs[]

.

labels OceanVirtualNodeGroupLabelArgs[]

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launchSpecifications OceanVirtualNodeGroupLaunchSpecificationArgs[]

.

name string

Set name for the virtual node group.

oceanId string

The Ocean cluster ID.

resourceLimits OceanVirtualNodeGroupResourceLimitArgs[]

.

taints OceanVirtualNodeGroupTaintArgs[]

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones string[]

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

autoscales Sequence[OceanVirtualNodeGroupAutoscaleArgs]

.

labels Sequence[OceanVirtualNodeGroupLabelArgs]

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launch_specifications Sequence[OceanVirtualNodeGroupLaunchSpecificationArgs]

.

name str

Set name for the virtual node group.

ocean_id str

The Ocean cluster ID.

resource_limits Sequence[OceanVirtualNodeGroupResourceLimitArgs]

.

taints Sequence[OceanVirtualNodeGroupTaintArgs]

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones Sequence[str]

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

autoscales List<Property Map>

.

labels List<Property Map>

Additional labels for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

launchSpecifications List<Property Map>

.

name String

Set name for the virtual node group.

oceanId String

The Ocean cluster ID.

resourceLimits List<Property Map>

.

taints List<Property Map>

Additional taints for the virtual node group. Only custom user labels are allowed. Kubernetes built-in labels and Spot internal labels are not allowed.

zones List<String>

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

Supporting Types

OceanVirtualNodeGroupAutoscale

AutoHeadroomPercentage int

Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.is_enabled = true is set on the Ocean cluster.

AutoscaleHeadrooms List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom>
AutoHeadroomPercentage int

Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.is_enabled = true is set on the Ocean cluster.

AutoscaleHeadrooms []OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom
autoHeadroomPercentage Integer

Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.is_enabled = true is set on the Ocean cluster.

autoscaleHeadrooms List<OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom>
autoHeadroomPercentage number

Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.is_enabled = true is set on the Ocean cluster.

autoscaleHeadrooms OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom[]
auto_headroom_percentage int

Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.is_enabled = true is set on the Ocean cluster.

autoscale_headrooms Sequence[OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom]
autoHeadroomPercentage Number

Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.is_enabled = true is set on the Ocean cluster.

autoscaleHeadrooms List<Property Map>

OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom

NumOfUnits int

The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.

CpuPerUnit int

Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.

GpuPerUnit int

How many GPU cores should be allocated for headroom unit.

MemoryPerUnit int

Configure the amount of memory (MiB) to allocate the headroom.

NumOfUnits int

The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.

CpuPerUnit int

Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.

GpuPerUnit int

How many GPU cores should be allocated for headroom unit.

MemoryPerUnit int

Configure the amount of memory (MiB) to allocate the headroom.

numOfUnits Integer

The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.

cpuPerUnit Integer

Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.

gpuPerUnit Integer

How many GPU cores should be allocated for headroom unit.

memoryPerUnit Integer

Configure the amount of memory (MiB) to allocate the headroom.

numOfUnits number

The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.

cpuPerUnit number

Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.

gpuPerUnit number

How many GPU cores should be allocated for headroom unit.

memoryPerUnit number

Configure the amount of memory (MiB) to allocate the headroom.

num_of_units int

The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.

cpu_per_unit int

Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.

gpu_per_unit int

How many GPU cores should be allocated for headroom unit.

memory_per_unit int

Configure the amount of memory (MiB) to allocate the headroom.

numOfUnits Number

The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.

cpuPerUnit Number

Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.

gpuPerUnit Number

How many GPU cores should be allocated for headroom unit.

memoryPerUnit Number

Configure the amount of memory (MiB) to allocate the headroom.

OceanVirtualNodeGroupLabel

Key string

Tag Key for Vms in the cluster.

Value string

Tag Value for VMs in the cluster.

Key string

Tag Key for Vms in the cluster.

Value string

Tag Value for VMs in the cluster.

key String

Tag Key for Vms in the cluster.

value String

Tag Value for VMs in the cluster.

key string

Tag Key for Vms in the cluster.

value string

Tag Value for VMs in the cluster.

key str

Tag Key for Vms in the cluster.

value str

Tag Value for VMs in the cluster.

key String

Tag Key for Vms in the cluster.

value String

Tag Value for VMs in the cluster.

OceanVirtualNodeGroupLaunchSpecification

MaxPods int

The maximum number of pods per node in an AKS cluster.

OsDisk Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationOsDisk

Specify OS disk specification other than default.

Tags List<Pulumi.SpotInst.Azure.Inputs.OceanVirtualNodeGroupLaunchSpecificationTag>

Additional key-value pairs to be used to tag the VMs in the virtual node group.

MaxPods int

The maximum number of pods per node in an AKS cluster.

OsDisk OceanVirtualNodeGroupLaunchSpecificationOsDisk

Specify OS disk specification other than default.

Tags []OceanVirtualNodeGroupLaunchSpecificationTag

Additional key-value pairs to be used to tag the VMs in the virtual node group.

maxPods Integer

The maximum number of pods per node in an AKS cluster.

osDisk OceanVirtualNodeGroupLaunchSpecificationOsDisk

Specify OS disk specification other than default.

tags List<OceanVirtualNodeGroupLaunchSpecificationTag>

Additional key-value pairs to be used to tag the VMs in the virtual node group.

maxPods number

The maximum number of pods per node in an AKS cluster.

osDisk OceanVirtualNodeGroupLaunchSpecificationOsDisk

Specify OS disk specification other than default.

tags OceanVirtualNodeGroupLaunchSpecificationTag[]

Additional key-value pairs to be used to tag the VMs in the virtual node group.

max_pods int

The maximum number of pods per node in an AKS cluster.

os_disk OceanVirtualNodeGroupLaunchSpecificationOsDisk

Specify OS disk specification other than default.

tags Sequence[OceanVirtualNodeGroupLaunchSpecificationTag]

Additional key-value pairs to be used to tag the VMs in the virtual node group.

maxPods Number

The maximum number of pods per node in an AKS cluster.

osDisk Property Map

Specify OS disk specification other than default.

tags List<Property Map>

Additional key-value pairs to be used to tag the VMs in the virtual node group.

OceanVirtualNodeGroupLaunchSpecificationOsDisk

SizeGb int

The size of the OS disk in GB, Required if dataDisks is specified.

Type string

The type of the OS disk. Valid values: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS".

UtilizeEphemeralStorage bool

Flag to enable/disable the Ephemeral OS Disk utilization.

SizeGb int

The size of the OS disk in GB, Required if dataDisks is specified.

Type string

The type of the OS disk. Valid values: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS".

UtilizeEphemeralStorage bool

Flag to enable/disable the Ephemeral OS Disk utilization.

sizeGb Integer

The size of the OS disk in GB, Required if dataDisks is specified.

type String

The type of the OS disk. Valid values: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS".

utilizeEphemeralStorage Boolean

Flag to enable/disable the Ephemeral OS Disk utilization.

sizeGb number

The size of the OS disk in GB, Required if dataDisks is specified.

type string

The type of the OS disk. Valid values: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS".

utilizeEphemeralStorage boolean

Flag to enable/disable the Ephemeral OS Disk utilization.

size_gb int

The size of the OS disk in GB, Required if dataDisks is specified.

type str

The type of the OS disk. Valid values: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS".

utilize_ephemeral_storage bool

Flag to enable/disable the Ephemeral OS Disk utilization.

sizeGb Number

The size of the OS disk in GB, Required if dataDisks is specified.

type String

The type of the OS disk. Valid values: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS".

utilizeEphemeralStorage Boolean

Flag to enable/disable the Ephemeral OS Disk utilization.

OceanVirtualNodeGroupLaunchSpecificationTag

Key string

Tag Key for Vms in the cluster.

Value string

Tag Value for VMs in the cluster.

Key string

Tag Key for Vms in the cluster.

Value string

Tag Value for VMs in the cluster.

key String

Tag Key for Vms in the cluster.

value String

Tag Value for VMs in the cluster.

key string

Tag Key for Vms in the cluster.

value string

Tag Value for VMs in the cluster.

key str

Tag Key for Vms in the cluster.

value str

Tag Value for VMs in the cluster.

key String

Tag Key for Vms in the cluster.

value String

Tag Value for VMs in the cluster.

OceanVirtualNodeGroupResourceLimit

MaxInstanceCount int

Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.

MaxInstanceCount int

Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.

maxInstanceCount Integer

Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.

maxInstanceCount number

Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.

max_instance_count int

Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.

maxInstanceCount Number

Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.

OceanVirtualNodeGroupTaint

Effect string

The effect of the taint. Valid values: "NoSchedule", "PreferNoSchedule", "NoExecute", "PreferNoExecute".

Key string

Tag Key for Vms in the cluster.

Value string

Tag Value for VMs in the cluster.

Effect string

The effect of the taint. Valid values: "NoSchedule", "PreferNoSchedule", "NoExecute", "PreferNoExecute".

Key string

Tag Key for Vms in the cluster.

Value string

Tag Value for VMs in the cluster.

effect String

The effect of the taint. Valid values: "NoSchedule", "PreferNoSchedule", "NoExecute", "PreferNoExecute".

key String

Tag Key for Vms in the cluster.

value String

Tag Value for VMs in the cluster.

effect string

The effect of the taint. Valid values: "NoSchedule", "PreferNoSchedule", "NoExecute", "PreferNoExecute".

key string

Tag Key for Vms in the cluster.

value string

Tag Value for VMs in the cluster.

effect str

The effect of the taint. Valid values: "NoSchedule", "PreferNoSchedule", "NoExecute", "PreferNoExecute".

key str

Tag Key for Vms in the cluster.

value str

Tag Value for VMs in the cluster.

effect String

The effect of the taint. Valid values: "NoSchedule", "PreferNoSchedule", "NoExecute", "PreferNoExecute".

key String

Tag Key for Vms in the cluster.

value String

Tag Value for VMs in the cluster.

Package Details

Repository
Spotinst pulumi/pulumi-spotinst
License
Apache-2.0
Notes

This Pulumi package is based on the spotinst Terraform Provider.