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:
- Ocean
Id string The Ocean cluster ID.
- Autoscales
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Autoscale Args> .
- Labels
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Label Args> 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 List<Pulumi.Spot Inst. Azure. Inputs. Ocean Virtual Node Group Launch Specification Args> .
- Name string
Set name for the virtual node group.
- Resource
Limits List<Pulumi.Spot Inst. Azure. Inputs. Ocean Virtual Node Group Resource Limit Args> .
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Taint Args> 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.
- Ocean
Id string The Ocean cluster ID.
- Autoscales
[]Ocean
Virtual Node Group Autoscale Args .
- Labels
[]Ocean
Virtual Node Group Label Args 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 []OceanVirtual Node Group Launch Specification Args .
- Name string
Set name for the virtual node group.
- Resource
Limits []OceanVirtual Node Group Resource Limit Args .
- Taints
[]Ocean
Virtual Node Group Taint Args 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 String The Ocean cluster ID.
- autoscales
List<Ocean
Virtual Node Group Autoscale Args> .
- labels
List<Ocean
Virtual Node Group Label Args> 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 List<OceanVirtual Node Group Launch Specification Args> .
- name String
Set name for the virtual node group.
- resource
Limits List<OceanVirtual Node Group Resource Limit Args> .
- taints
List<Ocean
Virtual Node Group Taint Args> 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.
- ocean
Id string The Ocean cluster ID.
- autoscales
Ocean
Virtual Node Group Autoscale Args[] .
- labels
Ocean
Virtual Node Group Label Args[] 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 OceanVirtual Node Group Launch Specification Args[] .
- name string
Set name for the virtual node group.
- resource
Limits OceanVirtual Node Group Resource Limit Args[] .
- taints
Ocean
Virtual Node Group Taint Args[] 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[Ocean
Virtual Node Group Autoscale Args] .
- labels
Sequence[Ocean
Virtual Node Group Label Args] 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[OceanVirtual Node Group Launch Specification Args] .
- name str
Set name for the virtual node group.
- resource_
limits Sequence[OceanVirtual Node Group Resource Limit Args] .
- taints
Sequence[Ocean
Virtual Node Group Taint Args] 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.
- ocean
Id 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.
- launch
Specifications List<Property Map> .
- name String
Set name for the virtual node group.
- resource
Limits 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.
- Autoscales
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Autoscale Args> .
- Labels
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Label Args> 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 List<Pulumi.Spot Inst. Azure. Inputs. Ocean Virtual Node Group Launch Specification Args> .
- Name string
Set name for the virtual node group.
- Ocean
Id string The Ocean cluster ID.
- Resource
Limits List<Pulumi.Spot Inst. Azure. Inputs. Ocean Virtual Node Group Resource Limit Args> .
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Taint Args> 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
[]Ocean
Virtual Node Group Autoscale Args .
- Labels
[]Ocean
Virtual Node Group Label Args 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 []OceanVirtual Node Group Launch Specification Args .
- Name string
Set name for the virtual node group.
- Ocean
Id string The Ocean cluster ID.
- Resource
Limits []OceanVirtual Node Group Resource Limit Args .
- Taints
[]Ocean
Virtual Node Group Taint Args 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<Ocean
Virtual Node Group Autoscale Args> .
- labels
List<Ocean
Virtual Node Group Label Args> 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 List<OceanVirtual Node Group Launch Specification Args> .
- name String
Set name for the virtual node group.
- ocean
Id String The Ocean cluster ID.
- resource
Limits List<OceanVirtual Node Group Resource Limit Args> .
- taints
List<Ocean
Virtual Node Group Taint Args> 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
Ocean
Virtual Node Group Autoscale Args[] .
- labels
Ocean
Virtual Node Group Label Args[] 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 OceanVirtual Node Group Launch Specification Args[] .
- name string
Set name for the virtual node group.
- ocean
Id string The Ocean cluster ID.
- resource
Limits OceanVirtual Node Group Resource Limit Args[] .
- taints
Ocean
Virtual Node Group Taint Args[] 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[Ocean
Virtual Node Group Autoscale Args] .
- labels
Sequence[Ocean
Virtual Node Group Label Args] 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[OceanVirtual Node Group Launch Specification Args] .
- name str
Set name for the virtual node group.
- ocean_
id str The Ocean cluster ID.
- resource_
limits Sequence[OceanVirtual Node Group Resource Limit Args] .
- taints
Sequence[Ocean
Virtual Node Group Taint Args] 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.
- launch
Specifications List<Property Map> .
- name String
Set name for the virtual node group.
- ocean
Id String The Ocean cluster ID.
- resource
Limits 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
- Auto
Headroom intPercentage 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 List<Pulumi.Spot Inst. Azure. Inputs. Ocean Virtual Node Group Autoscale Autoscale Headroom>
- Auto
Headroom intPercentage 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 []OceanVirtual Node Group Autoscale Autoscale Headroom
- auto
Headroom IntegerPercentage 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 List<OceanVirtual Node Group Autoscale Autoscale Headroom>
- auto
Headroom numberPercentage 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 OceanVirtual Node Group Autoscale Autoscale Headroom[]
- auto_
headroom_ intpercentage 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[OceanVirtual Node Group Autoscale Autoscale Headroom]
- auto
Headroom NumberPercentage 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 List<Property Map>
OceanVirtualNodeGroupAutoscaleAutoscaleHeadroom
- Num
Of intUnits The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
- Cpu
Per intUnit Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit How many GPU cores should be allocated for headroom unit.
- Memory
Per intUnit Configure the amount of memory (MiB) to allocate the headroom.
- Num
Of intUnits The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
- Cpu
Per intUnit Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit How many GPU cores should be allocated for headroom unit.
- Memory
Per intUnit Configure the amount of memory (MiB) to allocate the headroom.
- num
Of IntegerUnits The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
- cpu
Per IntegerUnit Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per IntegerUnit How many GPU cores should be allocated for headroom unit.
- memory
Per IntegerUnit Configure the amount of memory (MiB) to allocate the headroom.
- num
Of numberUnits The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
- cpu
Per numberUnit Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per numberUnit How many GPU cores should be allocated for headroom unit.
- memory
Per numberUnit Configure the amount of memory (MiB) to allocate the headroom.
- num_
of_ intunits The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
- cpu_
per_ intunit Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu_
per_ intunit How many GPU cores should be allocated for headroom unit.
- memory_
per_ intunit Configure the amount of memory (MiB) to allocate the headroom.
- num
Of NumberUnits The number of headroom units to maintain, where each unit has the defined CPU, memory and GPU.
- cpu
Per NumberUnit Configure the number of CPUs to allocate for the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per NumberUnit How many GPU cores should be allocated for headroom unit.
- memory
Per NumberUnit Configure the amount of memory (MiB) to allocate the headroom.
OceanVirtualNodeGroupLabel
OceanVirtualNodeGroupLaunchSpecification
- Max
Pods int The maximum number of pods per node in an AKS cluster.
- Os
Disk Pulumi.Spot Inst. Azure. Inputs. Ocean Virtual Node Group Launch Specification Os Disk Specify OS disk specification other than default.
- List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Virtual Node Group Launch Specification Tag> 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 OceanVirtual Node Group Launch Specification Os Disk Specify OS disk specification other than default.
- []Ocean
Virtual Node Group Launch Specification Tag Additional key-value pairs to be used to tag the VMs in the virtual node group.
- max
Pods Integer The maximum number of pods per node in an AKS cluster.
- os
Disk OceanVirtual Node Group Launch Specification Os Disk Specify OS disk specification other than default.
- List<Ocean
Virtual Node Group Launch Specification Tag> Additional key-value pairs to be used to tag the VMs in the virtual node group.
- max
Pods number The maximum number of pods per node in an AKS cluster.
- os
Disk OceanVirtual Node Group Launch Specification Os Disk Specify OS disk specification other than default.
- Ocean
Virtual Node Group Launch Specification Tag[] 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 OceanVirtual Node Group Launch Specification Os Disk Specify OS disk specification other than default.
- Sequence[Ocean
Virtual Node Group Launch Specification Tag] Additional key-value pairs to be used to tag the VMs in the virtual node group.
- max
Pods Number The maximum number of pods per node in an AKS cluster.
- os
Disk Property Map Specify OS disk specification other than default.
- List<Property Map>
Additional key-value pairs to be used to tag the VMs in the virtual node group.
OceanVirtualNodeGroupLaunchSpecificationOsDisk
- Size
Gb 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"
.- Utilize
Ephemeral boolStorage 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 string
The type of the OS disk. Valid values:
"Standard_LRS"
,"Premium_LRS"
,"StandardSSD_LRS"
.- Utilize
Ephemeral boolStorage Flag to enable/disable the Ephemeral OS Disk utilization.
- size
Gb 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"
.- utilize
Ephemeral BooleanStorage Flag to enable/disable the Ephemeral OS Disk utilization.
- size
Gb 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"
.- utilize
Ephemeral booleanStorage 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_ boolstorage Flag to enable/disable the Ephemeral OS Disk utilization.
- size
Gb 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"
.- utilize
Ephemeral BooleanStorage Flag to enable/disable the Ephemeral OS Disk utilization.
OceanVirtualNodeGroupLaunchSpecificationTag
OceanVirtualNodeGroupResourceLimit
- Max
Instance intCount 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 intCount 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 IntegerCount 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 numberCount 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_ intcount 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 NumberCount Option to set a maximum number of instances per virtual node group. If set, value must be greater than or equal to 0.
OceanVirtualNodeGroupTaint
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.