Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi
spotinst.azure.OceanNp
Explore with Pulumi AI
Manages a Spotinst Ocean AKS resource.
Basic Ocean Cluster Creation Usage Example - using minimum configuration with only required parameters
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";
const example = new spotinst.azure.OceanNp("example", {
name: "test",
aksRegion: "eastus",
aksClusterName: "test-cluster",
aksInfrastructureResourceGroupName: "MC_TestResourceGroup_test-cluster_eastus",
aksResourceGroupName: "TestResourceGroup",
controllerClusterId: "test-123124",
availabilityZones: [
"1",
"2",
"3",
],
});
import pulumi
import pulumi_spotinst as spotinst
example = spotinst.azure.OceanNp("example",
name="test",
aks_region="eastus",
aks_cluster_name="test-cluster",
aks_infrastructure_resource_group_name="MC_TestResourceGroup_test-cluster_eastus",
aks_resource_group_name="TestResourceGroup",
controller_cluster_id="test-123124",
availability_zones=[
"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.NewOceanNp(ctx, "example", &azure.OceanNpArgs{
Name: pulumi.String("test"),
AksRegion: pulumi.String("eastus"),
AksClusterName: pulumi.String("test-cluster"),
AksInfrastructureResourceGroupName: pulumi.String("MC_TestResourceGroup_test-cluster_eastus"),
AksResourceGroupName: pulumi.String("TestResourceGroup"),
ControllerClusterId: pulumi.String("test-123124"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
pulumi.String("3"),
},
})
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.OceanNp("example", new()
{
Name = "test",
AksRegion = "eastus",
AksClusterName = "test-cluster",
AksInfrastructureResourceGroupName = "MC_TestResourceGroup_test-cluster_eastus",
AksResourceGroupName = "TestResourceGroup",
ControllerClusterId = "test-123124",
AvailabilityZones = new[]
{
"1",
"2",
"3",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.azure.OceanNp;
import com.pulumi.spotinst.azure.OceanNpArgs;
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 OceanNp("example", OceanNpArgs.builder()
.name("test")
.aksRegion("eastus")
.aksClusterName("test-cluster")
.aksInfrastructureResourceGroupName("MC_TestResourceGroup_test-cluster_eastus")
.aksResourceGroupName("TestResourceGroup")
.controllerClusterId("test-123124")
.availabilityZones(
"1",
"2",
"3")
.build());
}
}
resources:
example:
type: spotinst:azure:OceanNp
properties:
name: test
aksRegion: eastus
aksClusterName: test-cluster
aksInfrastructureResourceGroupName: MC_TestResourceGroup_test-cluster_eastus
aksResourceGroupName: TestResourceGroup
controllerClusterId: test-123124
availabilityZones: # -------------------------------------------------------------------
- '1'
- '2'
- '3'
Detailed Ocean Cluster Creation Usage Example - using all available parameters with sample values
resource "spotinst_ocean_aks_np" "example" {
name = "test"
// --- AKS -------------------------------------------------------------------------
aks_region = "eastus"
aks_cluster_name = "test-cluster"
aks_infrastructure_resource_group_name = "MC_TestResourceGroup_test-cluster_eastus"
aks_resource_group_name = "TestResourceGroup"
// ---------------------------------------------------------------------------------
controller_cluster_id = "test-123124"
// --- Auto Scaler ---------------------------------------------------
autoscaler {
autoscale_is_enabled = true
resource_limits {
max_vcpu = 750
max_memory_gib = 1500
}
autoscale_down {
max_scale_down_percentage = 30
}
autoscale_headroom {
automatic {
is_enabled = true
percentage = 5
}
}
}
// ----------------------------------------------------------------------
// --- Health -----------------------------------------------------------
health {
grace_period = 600
}
// ----------------------------------------------------------------------
// --- virtualNodeGroupTemplate -----------------------------------------
// --- autoscale --------------------------------------------------------
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"
}
// --- nodeCountLimits --------------------------------------------------
min_count = 1
max_count = 100
// ----------------------------------------------------------------------
// --- nodePoolProperties -----------------------------------------------
max_pods_per_node = 30
enable_node_public_ip = true
os_disk_size_gb = 30
os_disk_type = "Managed"
os_type = "Windows"
os_sku = "Windows2022"
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_config {
sysctls {
vm_max_map_count = 79550
}
}
// ----------------------------------------------------------------------
// --- strategy ---------------------------------------------------------
spot_percentage = 50
fallback_to_ondemand = true
// ----------------------------------------------------------------------
taints {
key = "taintKey"
value = "taintValue"
effect = "NoSchedule"
}
tags = {
tagKey = "env"
tagValue = "staging"
}
// --- vmSizes ----------------------------------------------------------
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"]
}
// ----------------------------------------------------------------------
}
output "ocean_id" {
value = spotinst_ocean_aks_np.example.id
}
Create OceanNp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OceanNp(name: string, args: OceanNpArgs, opts?: CustomResourceOptions);
@overload
def OceanNp(resource_name: str,
args: OceanNpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OceanNp(resource_name: str,
opts: Optional[ResourceOptions] = None,
controller_cluster_id: Optional[str] = None,
aks_infrastructure_resource_group_name: Optional[str] = None,
aks_region: Optional[str] = None,
aks_resource_group_name: Optional[str] = None,
aks_cluster_name: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
linux_os_configs: Optional[Sequence[OceanNpLinuxOsConfigArgs]] = None,
min_count: Optional[int] = None,
fallback_to_ondemand: Optional[bool] = None,
filters: Optional[OceanNpFiltersArgs] = None,
headrooms: Optional[Sequence[OceanNpHeadroomArgs]] = None,
health: Optional[OceanNpHealthArgs] = None,
kubernetes_version: Optional[str] = None,
labels: Optional[Mapping[str, Any]] = None,
autoscaler: Optional[OceanNpAutoscalerArgs] = None,
max_count: Optional[int] = None,
max_pods_per_node: Optional[int] = None,
enable_node_public_ip: Optional[bool] = None,
name: 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,
scheduling: Optional[OceanNpSchedulingArgs] = None,
spot_percentage: Optional[int] = None,
tags: Optional[Mapping[str, Any]] = None,
taints: Optional[Sequence[OceanNpTaintArgs]] = None,
update_policy: Optional[OceanNpUpdatePolicyArgs] = None,
vnet_subnet_ids: Optional[Sequence[str]] = None)
func NewOceanNp(ctx *Context, name string, args OceanNpArgs, opts ...ResourceOption) (*OceanNp, error)
public OceanNp(string name, OceanNpArgs args, CustomResourceOptions? opts = null)
public OceanNp(String name, OceanNpArgs args)
public OceanNp(String name, OceanNpArgs args, CustomResourceOptions options)
type: spotinst:azure:OceanNp
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 OceanNpArgs
- 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 OceanNpArgs
- 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 OceanNpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanNpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanNpArgs
- 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 oceanNpResource = new SpotInst.Azure.OceanNp("oceanNpResource", new()
{
ControllerClusterId = "string",
AksInfrastructureResourceGroupName = "string",
AksRegion = "string",
AksResourceGroupName = "string",
AksClusterName = "string",
AvailabilityZones = new[]
{
"string",
},
LinuxOsConfigs = new[]
{
new SpotInst.Azure.Inputs.OceanNpLinuxOsConfigArgs
{
Sysctls = new[]
{
new SpotInst.Azure.Inputs.OceanNpLinuxOsConfigSysctlArgs
{
VmMaxMapCount = 0,
},
},
},
},
MinCount = 0,
FallbackToOndemand = false,
Filters = new SpotInst.Azure.Inputs.OceanNpFiltersArgs
{
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",
},
},
Headrooms = new[]
{
new SpotInst.Azure.Inputs.OceanNpHeadroomArgs
{
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
NumOfUnits = 0,
},
},
Health = new SpotInst.Azure.Inputs.OceanNpHealthArgs
{
GracePeriod = 0,
},
KubernetesVersion = "string",
Labels =
{
{ "string", "any" },
},
Autoscaler = new SpotInst.Azure.Inputs.OceanNpAutoscalerArgs
{
AutoscaleDown = new SpotInst.Azure.Inputs.OceanNpAutoscalerAutoscaleDownArgs
{
MaxScaleDownPercentage = 0,
},
AutoscaleHeadroom = new SpotInst.Azure.Inputs.OceanNpAutoscalerAutoscaleHeadroomArgs
{
Automatic = new SpotInst.Azure.Inputs.OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs
{
IsEnabled = false,
Percentage = 0,
},
},
AutoscaleIsEnabled = false,
ResourceLimits = new SpotInst.Azure.Inputs.OceanNpAutoscalerResourceLimitsArgs
{
MaxMemoryGib = 0,
MaxVcpu = 0,
},
},
MaxCount = 0,
MaxPodsPerNode = 0,
EnableNodePublicIp = false,
Name = "string",
OsDiskSizeGb = 0,
OsDiskType = "string",
OsSku = "string",
OsType = "string",
PodSubnetIds = new[]
{
"string",
},
Scheduling = new SpotInst.Azure.Inputs.OceanNpSchedulingArgs
{
ShutdownHours = new SpotInst.Azure.Inputs.OceanNpSchedulingShutdownHoursArgs
{
IsEnabled = false,
TimeWindows = new[]
{
"string",
},
},
Tasks = new[]
{
new SpotInst.Azure.Inputs.OceanNpSchedulingTaskArgs
{
CronExpression = "string",
IsEnabled = false,
TaskType = "string",
Parameters = new SpotInst.Azure.Inputs.OceanNpSchedulingTaskParametersArgs
{
ParametersClusterRoll = new SpotInst.Azure.Inputs.OceanNpSchedulingTaskParametersParametersClusterRollArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
RespectPdb = false,
RespectRestrictScaleDown = false,
VngIds = new[]
{
"string",
},
},
},
},
},
},
SpotPercentage = 0,
Tags =
{
{ "string", "any" },
},
Taints = new[]
{
new SpotInst.Azure.Inputs.OceanNpTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
UpdatePolicy = new SpotInst.Azure.Inputs.OceanNpUpdatePolicyArgs
{
ShouldRoll = false,
ConditionedRoll = false,
RollConfig = new SpotInst.Azure.Inputs.OceanNpUpdatePolicyRollConfigArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
NodeNames = new[]
{
"string",
},
NodePoolNames = new[]
{
"string",
},
RespectPdb = false,
RespectRestrictScaleDown = false,
VngIds = new[]
{
"string",
},
},
},
VnetSubnetIds = new[]
{
"string",
},
});
example, err := azure.NewOceanNp(ctx, "oceanNpResource", &azure.OceanNpArgs{
ControllerClusterId: pulumi.String("string"),
AksInfrastructureResourceGroupName: pulumi.String("string"),
AksRegion: pulumi.String("string"),
AksResourceGroupName: pulumi.String("string"),
AksClusterName: pulumi.String("string"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
LinuxOsConfigs: azure.OceanNpLinuxOsConfigArray{
&azure.OceanNpLinuxOsConfigArgs{
Sysctls: azure.OceanNpLinuxOsConfigSysctlArray{
&azure.OceanNpLinuxOsConfigSysctlArgs{
VmMaxMapCount: pulumi.Int(0),
},
},
},
},
MinCount: pulumi.Int(0),
FallbackToOndemand: pulumi.Bool(false),
Filters: &azure.OceanNpFiltersArgs{
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"),
},
},
Headrooms: azure.OceanNpHeadroomArray{
&azure.OceanNpHeadroomArgs{
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
NumOfUnits: pulumi.Int(0),
},
},
Health: &azure.OceanNpHealthArgs{
GracePeriod: pulumi.Int(0),
},
KubernetesVersion: pulumi.String("string"),
Labels: pulumi.Map{
"string": pulumi.Any("any"),
},
Autoscaler: &azure.OceanNpAutoscalerArgs{
AutoscaleDown: &azure.OceanNpAutoscalerAutoscaleDownArgs{
MaxScaleDownPercentage: pulumi.Int(0),
},
AutoscaleHeadroom: &azure.OceanNpAutoscalerAutoscaleHeadroomArgs{
Automatic: &azure.OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs{
IsEnabled: pulumi.Bool(false),
Percentage: pulumi.Int(0),
},
},
AutoscaleIsEnabled: pulumi.Bool(false),
ResourceLimits: &azure.OceanNpAutoscalerResourceLimitsArgs{
MaxMemoryGib: pulumi.Int(0),
MaxVcpu: pulumi.Int(0),
},
},
MaxCount: pulumi.Int(0),
MaxPodsPerNode: pulumi.Int(0),
EnableNodePublicIp: pulumi.Bool(false),
Name: pulumi.String("string"),
OsDiskSizeGb: pulumi.Int(0),
OsDiskType: pulumi.String("string"),
OsSku: pulumi.String("string"),
OsType: pulumi.String("string"),
PodSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Scheduling: &azure.OceanNpSchedulingArgs{
ShutdownHours: &azure.OceanNpSchedulingShutdownHoursArgs{
IsEnabled: pulumi.Bool(false),
TimeWindows: pulumi.StringArray{
pulumi.String("string"),
},
},
Tasks: azure.OceanNpSchedulingTaskArray{
&azure.OceanNpSchedulingTaskArgs{
CronExpression: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
TaskType: pulumi.String("string"),
Parameters: &azure.OceanNpSchedulingTaskParametersArgs{
ParametersClusterRoll: &azure.OceanNpSchedulingTaskParametersParametersClusterRollArgs{
BatchMinHealthyPercentage: pulumi.Int(0),
BatchSizePercentage: pulumi.Int(0),
Comment: pulumi.String("string"),
RespectPdb: pulumi.Bool(false),
RespectRestrictScaleDown: pulumi.Bool(false),
VngIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
SpotPercentage: pulumi.Int(0),
Tags: pulumi.Map{
"string": pulumi.Any("any"),
},
Taints: azure.OceanNpTaintArray{
&azure.OceanNpTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdatePolicy: &azure.OceanNpUpdatePolicyArgs{
ShouldRoll: pulumi.Bool(false),
ConditionedRoll: pulumi.Bool(false),
RollConfig: &azure.OceanNpUpdatePolicyRollConfigArgs{
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"),
},
},
},
VnetSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var oceanNpResource = new OceanNp("oceanNpResource", OceanNpArgs.builder()
.controllerClusterId("string")
.aksInfrastructureResourceGroupName("string")
.aksRegion("string")
.aksResourceGroupName("string")
.aksClusterName("string")
.availabilityZones("string")
.linuxOsConfigs(OceanNpLinuxOsConfigArgs.builder()
.sysctls(OceanNpLinuxOsConfigSysctlArgs.builder()
.vmMaxMapCount(0)
.build())
.build())
.minCount(0)
.fallbackToOndemand(false)
.filters(OceanNpFiltersArgs.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())
.headrooms(OceanNpHeadroomArgs.builder()
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.numOfUnits(0)
.build())
.health(OceanNpHealthArgs.builder()
.gracePeriod(0)
.build())
.kubernetesVersion("string")
.labels(Map.of("string", "any"))
.autoscaler(OceanNpAutoscalerArgs.builder()
.autoscaleDown(OceanNpAutoscalerAutoscaleDownArgs.builder()
.maxScaleDownPercentage(0)
.build())
.autoscaleHeadroom(OceanNpAutoscalerAutoscaleHeadroomArgs.builder()
.automatic(OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.builder()
.isEnabled(false)
.percentage(0)
.build())
.build())
.autoscaleIsEnabled(false)
.resourceLimits(OceanNpAutoscalerResourceLimitsArgs.builder()
.maxMemoryGib(0)
.maxVcpu(0)
.build())
.build())
.maxCount(0)
.maxPodsPerNode(0)
.enableNodePublicIp(false)
.name("string")
.osDiskSizeGb(0)
.osDiskType("string")
.osSku("string")
.osType("string")
.podSubnetIds("string")
.scheduling(OceanNpSchedulingArgs.builder()
.shutdownHours(OceanNpSchedulingShutdownHoursArgs.builder()
.isEnabled(false)
.timeWindows("string")
.build())
.tasks(OceanNpSchedulingTaskArgs.builder()
.cronExpression("string")
.isEnabled(false)
.taskType("string")
.parameters(OceanNpSchedulingTaskParametersArgs.builder()
.parametersClusterRoll(OceanNpSchedulingTaskParametersParametersClusterRollArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.respectPdb(false)
.respectRestrictScaleDown(false)
.vngIds("string")
.build())
.build())
.build())
.build())
.spotPercentage(0)
.tags(Map.of("string", "any"))
.taints(OceanNpTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.updatePolicy(OceanNpUpdatePolicyArgs.builder()
.shouldRoll(false)
.conditionedRoll(false)
.rollConfig(OceanNpUpdatePolicyRollConfigArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.nodeNames("string")
.nodePoolNames("string")
.respectPdb(false)
.respectRestrictScaleDown(false)
.vngIds("string")
.build())
.build())
.vnetSubnetIds("string")
.build());
ocean_np_resource = spotinst.azure.OceanNp("oceanNpResource",
controller_cluster_id="string",
aks_infrastructure_resource_group_name="string",
aks_region="string",
aks_resource_group_name="string",
aks_cluster_name="string",
availability_zones=["string"],
linux_os_configs=[spotinst.azure.OceanNpLinuxOsConfigArgs(
sysctls=[spotinst.azure.OceanNpLinuxOsConfigSysctlArgs(
vm_max_map_count=0,
)],
)],
min_count=0,
fallback_to_ondemand=False,
filters=spotinst.azure.OceanNpFiltersArgs(
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"],
),
headrooms=[spotinst.azure.OceanNpHeadroomArgs(
cpu_per_unit=0,
gpu_per_unit=0,
memory_per_unit=0,
num_of_units=0,
)],
health=spotinst.azure.OceanNpHealthArgs(
grace_period=0,
),
kubernetes_version="string",
labels={
"string": "any",
},
autoscaler=spotinst.azure.OceanNpAutoscalerArgs(
autoscale_down=spotinst.azure.OceanNpAutoscalerAutoscaleDownArgs(
max_scale_down_percentage=0,
),
autoscale_headroom=spotinst.azure.OceanNpAutoscalerAutoscaleHeadroomArgs(
automatic=spotinst.azure.OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs(
is_enabled=False,
percentage=0,
),
),
autoscale_is_enabled=False,
resource_limits=spotinst.azure.OceanNpAutoscalerResourceLimitsArgs(
max_memory_gib=0,
max_vcpu=0,
),
),
max_count=0,
max_pods_per_node=0,
enable_node_public_ip=False,
name="string",
os_disk_size_gb=0,
os_disk_type="string",
os_sku="string",
os_type="string",
pod_subnet_ids=["string"],
scheduling=spotinst.azure.OceanNpSchedulingArgs(
shutdown_hours=spotinst.azure.OceanNpSchedulingShutdownHoursArgs(
is_enabled=False,
time_windows=["string"],
),
tasks=[spotinst.azure.OceanNpSchedulingTaskArgs(
cron_expression="string",
is_enabled=False,
task_type="string",
parameters=spotinst.azure.OceanNpSchedulingTaskParametersArgs(
parameters_cluster_roll=spotinst.azure.OceanNpSchedulingTaskParametersParametersClusterRollArgs(
batch_min_healthy_percentage=0,
batch_size_percentage=0,
comment="string",
respect_pdb=False,
respect_restrict_scale_down=False,
vng_ids=["string"],
),
),
)],
),
spot_percentage=0,
tags={
"string": "any",
},
taints=[spotinst.azure.OceanNpTaintArgs(
effect="string",
key="string",
value="string",
)],
update_policy=spotinst.azure.OceanNpUpdatePolicyArgs(
should_roll=False,
conditioned_roll=False,
roll_config=spotinst.azure.OceanNpUpdatePolicyRollConfigArgs(
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"],
),
),
vnet_subnet_ids=["string"])
const oceanNpResource = new spotinst.azure.OceanNp("oceanNpResource", {
controllerClusterId: "string",
aksInfrastructureResourceGroupName: "string",
aksRegion: "string",
aksResourceGroupName: "string",
aksClusterName: "string",
availabilityZones: ["string"],
linuxOsConfigs: [{
sysctls: [{
vmMaxMapCount: 0,
}],
}],
minCount: 0,
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,
}],
health: {
gracePeriod: 0,
},
kubernetesVersion: "string",
labels: {
string: "any",
},
autoscaler: {
autoscaleDown: {
maxScaleDownPercentage: 0,
},
autoscaleHeadroom: {
automatic: {
isEnabled: false,
percentage: 0,
},
},
autoscaleIsEnabled: false,
resourceLimits: {
maxMemoryGib: 0,
maxVcpu: 0,
},
},
maxCount: 0,
maxPodsPerNode: 0,
enableNodePublicIp: false,
name: "string",
osDiskSizeGb: 0,
osDiskType: "string",
osSku: "string",
osType: "string",
podSubnetIds: ["string"],
scheduling: {
shutdownHours: {
isEnabled: false,
timeWindows: ["string"],
},
tasks: [{
cronExpression: "string",
isEnabled: false,
taskType: "string",
parameters: {
parametersClusterRoll: {
batchMinHealthyPercentage: 0,
batchSizePercentage: 0,
comment: "string",
respectPdb: false,
respectRestrictScaleDown: false,
vngIds: ["string"],
},
},
}],
},
spotPercentage: 0,
tags: {
string: "any",
},
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"],
},
},
vnetSubnetIds: ["string"],
});
type: spotinst:azure:OceanNp
properties:
aksClusterName: string
aksInfrastructureResourceGroupName: string
aksRegion: string
aksResourceGroupName: string
autoscaler:
autoscaleDown:
maxScaleDownPercentage: 0
autoscaleHeadroom:
automatic:
isEnabled: false
percentage: 0
autoscaleIsEnabled: false
resourceLimits:
maxMemoryGib: 0
maxVcpu: 0
availabilityZones:
- string
controllerClusterId: 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
health:
gracePeriod: 0
kubernetesVersion: string
labels:
string: any
linuxOsConfigs:
- sysctls:
- vmMaxMapCount: 0
maxCount: 0
maxPodsPerNode: 0
minCount: 0
name: string
osDiskSizeGb: 0
osDiskType: string
osSku: string
osType: string
podSubnetIds:
- string
scheduling:
shutdownHours:
isEnabled: false
timeWindows:
- string
tasks:
- cronExpression: string
isEnabled: false
parameters:
parametersClusterRoll:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
comment: string
respectPdb: false
respectRestrictScaleDown: false
vngIds:
- string
taskType: string
spotPercentage: 0
tags:
string: any
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
OceanNp 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 OceanNp resource accepts the following input properties:
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Availability
Zones List<string> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Controller
Cluster stringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Autoscaler - The Ocean Kubernetes Autoscaler object.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- Filters
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Filters - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Health - The Ocean AKS Health object.
- 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, object>
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- Linux
Os List<Pulumi.Configs Spot Inst. Azure. Inputs. Ocean Np 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
- Add a name for the Ocean cluster.
- 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).
- Scheduling
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Scheduling - Spot
Percentage int - Percentage of spot VMs to maintain.
- Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Taint> - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- Update
Policy Pulumi.Spot Inst. Azure. Inputs. Ocean Np 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).
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Availability
Zones []string - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Controller
Cluster stringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- Autoscaler
Ocean
Np Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- Filters
Ocean
Np Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
[]Ocean
Np Headroom Args - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Health
Ocean
Np Health Args - The Ocean AKS Health object.
- 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]interface{}
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- Linux
Os []OceanConfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- Scheduling
Ocean
Np Scheduling Args - Spot
Percentage int - Percentage of spot VMs to maintain.
- map[string]interface{}
- Taints
[]Ocean
Np Taint Args - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- Update
Policy OceanNp 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).
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller
Cluster StringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- autoscaler
Ocean
Np Autoscaler - The Ocean Kubernetes Autoscaler object.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- filters
Ocean
Np Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
List<Ocean
Np Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- health
Ocean
Np Health - The Ocean AKS Health object.
- 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,Object>
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- linux
Os List<OceanConfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- scheduling
Ocean
Np Scheduling - spot
Percentage Integer - Percentage of spot VMs to maintain.
- Map<String,Object>
- taints
List<Ocean
Np Taint> - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- update
Policy OceanNp 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).
- aks
Cluster stringName - aks
Infrastructure stringResource Group Name - aks
Region string - aks
Resource stringGroup Name - availability
Zones string[] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller
Cluster stringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- autoscaler
Ocean
Np Autoscaler - The Ocean Kubernetes Autoscaler object.
- enable
Node booleanPublic Ip - Enable node public IP.
- fallback
To booleanOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- filters
Ocean
Np Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Ocean
Np Headroom[] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- health
Ocean
Np Health - The Ocean AKS Health object.
- 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]: any}
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- linux
Os OceanConfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- scheduling
Ocean
Np Scheduling - spot
Percentage number - Percentage of spot VMs to maintain.
- {[key: string]: any}
- taints
Ocean
Np Taint[] - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- update
Policy OceanNp 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).
- aks_
cluster_ strname - aks_
infrastructure_ strresource_ group_ name - aks_
region str - aks_
resource_ strgroup_ name - availability_
zones Sequence[str] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller_
cluster_ strid - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- autoscaler
Ocean
Np Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- enable_
node_ boolpublic_ ip - Enable node public IP.
- fallback_
to_ boolondemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- filters
Ocean
Np Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Sequence[Ocean
Np Headroom Args] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- health
Ocean
Np Health Args - The Ocean AKS Health object.
- 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, Any]
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- linux_
os_ Sequence[Oceanconfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- scheduling
Ocean
Np Scheduling Args - spot_
percentage int - Percentage of spot VMs to maintain.
- Mapping[str, Any]
- taints
Sequence[Ocean
Np Taint Args] - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- update_
policy OceanNp 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).
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller
Cluster StringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- autoscaler Property Map
- The Ocean Kubernetes Autoscaler object.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes 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.
- health Property Map
- The Ocean AKS Health object.
- 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<Any>
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot 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
- Add a name for the Ocean cluster.
- 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).
- scheduling Property Map
- spot
Percentage Number - Percentage of spot VMs to maintain.
- Map<Any>
- taints List<Property Map>
- Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- 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 OceanNp 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 OceanNp Resource
Get an existing OceanNp 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?: OceanNpState, opts?: CustomResourceOptions): OceanNp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aks_cluster_name: Optional[str] = None,
aks_infrastructure_resource_group_name: Optional[str] = None,
aks_region: Optional[str] = None,
aks_resource_group_name: Optional[str] = None,
autoscaler: Optional[OceanNpAutoscalerArgs] = None,
availability_zones: Optional[Sequence[str]] = None,
controller_cluster_id: Optional[str] = None,
enable_node_public_ip: Optional[bool] = None,
fallback_to_ondemand: Optional[bool] = None,
filters: Optional[OceanNpFiltersArgs] = None,
headrooms: Optional[Sequence[OceanNpHeadroomArgs]] = None,
health: Optional[OceanNpHealthArgs] = None,
kubernetes_version: Optional[str] = None,
labels: Optional[Mapping[str, Any]] = None,
linux_os_configs: Optional[Sequence[OceanNpLinuxOsConfigArgs]] = None,
max_count: Optional[int] = None,
max_pods_per_node: Optional[int] = None,
min_count: Optional[int] = None,
name: 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,
scheduling: Optional[OceanNpSchedulingArgs] = None,
spot_percentage: Optional[int] = None,
tags: Optional[Mapping[str, Any]] = None,
taints: Optional[Sequence[OceanNpTaintArgs]] = None,
update_policy: Optional[OceanNpUpdatePolicyArgs] = None,
vnet_subnet_ids: Optional[Sequence[str]] = None) -> OceanNp
func GetOceanNp(ctx *Context, name string, id IDInput, state *OceanNpState, opts ...ResourceOption) (*OceanNp, error)
public static OceanNp Get(string name, Input<string> id, OceanNpState? state, CustomResourceOptions? opts = null)
public static OceanNp get(String name, Output<String> id, OceanNpState 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.
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Autoscaler - The Ocean Kubernetes Autoscaler object.
- Availability
Zones List<string> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Controller
Cluster stringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- Filters
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Filters - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Health - The Ocean AKS Health object.
- 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, object>
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- Linux
Os List<Pulumi.Configs Spot Inst. Azure. Inputs. Ocean Np 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
- Add a name for the Ocean cluster.
- 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).
- Scheduling
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Scheduling - Spot
Percentage int - Percentage of spot VMs to maintain.
- Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Taint> - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- Update
Policy Pulumi.Spot Inst. Azure. Inputs. Ocean Np 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).
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Autoscaler
Ocean
Np Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- Availability
Zones []string - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- Controller
Cluster stringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- Enable
Node boolPublic Ip - Enable node public IP.
- Fallback
To boolOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- Filters
Ocean
Np Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- Headrooms
[]Ocean
Np Headroom Args - Specify the custom headroom per VNG. Provide a list of headroom objects.
- Health
Ocean
Np Health Args - The Ocean AKS Health object.
- 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]interface{}
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- Linux
Os []OceanConfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- Scheduling
Ocean
Np Scheduling Args - Spot
Percentage int - Percentage of spot VMs to maintain.
- map[string]interface{}
- Taints
[]Ocean
Np Taint Args - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- Update
Policy OceanNp 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).
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler
Ocean
Np Autoscaler - The Ocean Kubernetes Autoscaler object.
- availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller
Cluster StringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- filters
Ocean
Np Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
List<Ocean
Np Headroom> - Specify the custom headroom per VNG. Provide a list of headroom objects.
- health
Ocean
Np Health - The Ocean AKS Health object.
- 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,Object>
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- linux
Os List<OceanConfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- scheduling
Ocean
Np Scheduling - spot
Percentage Integer - Percentage of spot VMs to maintain.
- Map<String,Object>
- taints
List<Ocean
Np Taint> - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- update
Policy OceanNp 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).
- aks
Cluster stringName - aks
Infrastructure stringResource Group Name - aks
Region string - aks
Resource stringGroup Name - autoscaler
Ocean
Np Autoscaler - The Ocean Kubernetes Autoscaler object.
- availability
Zones string[] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller
Cluster stringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- enable
Node booleanPublic Ip - Enable node public IP.
- fallback
To booleanOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- filters
Ocean
Np Filters - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Ocean
Np Headroom[] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- health
Ocean
Np Health - The Ocean AKS Health object.
- 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]: any}
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- linux
Os OceanConfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- scheduling
Ocean
Np Scheduling - spot
Percentage number - Percentage of spot VMs to maintain.
- {[key: string]: any}
- taints
Ocean
Np Taint[] - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- update
Policy OceanNp 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).
- aks_
cluster_ strname - aks_
infrastructure_ strresource_ group_ name - aks_
region str - aks_
resource_ strgroup_ name - autoscaler
Ocean
Np Autoscaler Args - The Ocean Kubernetes Autoscaler object.
- availability_
zones Sequence[str] - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller_
cluster_ strid - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- enable_
node_ boolpublic_ ip - Enable node public IP.
- fallback_
to_ boolondemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes instead.
- filters
Ocean
Np Filters Args - Filters for the VM sizes that can be launched from the virtual node group.
- headrooms
Sequence[Ocean
Np Headroom Args] - Specify the custom headroom per VNG. Provide a list of headroom objects.
- health
Ocean
Np Health Args - The Ocean AKS Health object.
- 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, Any]
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot labels.
- linux_
os_ Sequence[Oceanconfigs Np 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
- Add a name for the Ocean cluster.
- 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).
- scheduling
Ocean
Np Scheduling Args - spot_
percentage int - Percentage of spot VMs to maintain.
- Mapping[str, Any]
- taints
Sequence[Ocean
Np Taint Args] - Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- update_
policy OceanNp 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).
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler Property Map
- The Ocean Kubernetes Autoscaler object.
- availability
Zones List<String> - An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
- controller
Cluster StringId - Enter a unique Ocean cluster identifier. Cannot be updated. This needs to match with string that was used to install the controller in the cluster, typically clusterName + 8 digit string.
- enable
Node BooleanPublic Ip - Enable node public IP.
- fallback
To BooleanOndemand - If no spot VM markets are available, enable Ocean to launch regular (pay-as-you-go) nodes 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.
- health Property Map
- The Ocean AKS Health object.
- 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<Any>
- An array of labels to add to the virtual node group. Only custom user labels are allowed, and not Kubernetes well-known labels or Azure AKS labels or Spot 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
- Add a name for the Ocean cluster.
- 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).
- scheduling Property Map
- spot
Percentage Number - Percentage of spot VMs to maintain.
- Map<Any>
- taints List<Property Map>
- Add taints to a virtual node group. Only custom user taints are allowed, and not Kubernetes well-known taints or Azure AKS ScaleSetPrioirty (Spot VM) taint. For all Spot VMs, AKS injects a taint kubernetes.azure.com/scalesetpriority=spot:NoSchedule, to ensure that only workloads that can handle interruptions are scheduled on Spot nodes. To schedule a pod to run on Spot node, add a toleration but dont include the nodeAffinity (not supported for Spot Ocean), this will prevent the pod from being scheduled using Spot Ocean.
- 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
OceanNpAutoscaler, OceanNpAutoscalerArgs
- Autoscale
Down Pulumi.Spot Inst. Azure. Inputs. Ocean Np Autoscaler Autoscale Down - Auto Scaling scale down operations.
- Autoscale
Headroom Pulumi.Spot Inst. Azure. Inputs. Ocean Np Autoscaler Autoscale Headroom - Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
- Autoscale
Is boolEnabled - Enable the Ocean Kubernetes Autoscaler.
- Resource
Limits Pulumi.Spot Inst. Azure. Inputs. Ocean Np Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- Autoscale
Down OceanNp Autoscaler Autoscale Down - Auto Scaling scale down operations.
- Autoscale
Headroom OceanNp Autoscaler Autoscale Headroom - Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
- Autoscale
Is boolEnabled - Enable the Ocean Kubernetes Autoscaler.
- Resource
Limits OceanNp Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale
Down OceanNp Autoscaler Autoscale Down - Auto Scaling scale down operations.
- autoscale
Headroom OceanNp Autoscaler Autoscale Headroom - Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
- autoscale
Is BooleanEnabled - Enable the Ocean Kubernetes Autoscaler.
- resource
Limits OceanNp Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale
Down OceanNp Autoscaler Autoscale Down - Auto Scaling scale down operations.
- autoscale
Headroom OceanNp Autoscaler Autoscale Headroom - Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
- autoscale
Is booleanEnabled - Enable the Ocean Kubernetes Autoscaler.
- resource
Limits OceanNp Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale_
down OceanNp Autoscaler Autoscale Down - Auto Scaling scale down operations.
- autoscale_
headroom OceanNp Autoscaler Autoscale Headroom - Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
- autoscale_
is_ boolenabled - Enable the Ocean Kubernetes Autoscaler.
- resource_
limits OceanNp Autoscaler Resource Limits - Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale
Down Property Map - Auto Scaling scale down operations.
- autoscale
Headroom Property Map - Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
- autoscale
Is BooleanEnabled - Enable the Ocean Kubernetes Autoscaler.
- resource
Limits Property Map - Optionally set upper and lower bounds on the resource usage of the cluster.
OceanNpAutoscalerAutoscaleDown, OceanNpAutoscalerAutoscaleDownArgs
- Max
Scale intDown Percentage - The maximum percentage allowed to scale down in a single scaling action.
- Max
Scale intDown Percentage - The maximum percentage allowed to scale down in a single scaling action.
- max
Scale IntegerDown Percentage - The maximum percentage allowed to scale down in a single scaling action.
- max
Scale numberDown Percentage - The maximum percentage allowed to scale down in a single scaling action.
- max_
scale_ intdown_ percentage - The maximum percentage allowed to scale down in a single scaling action.
- max
Scale NumberDown Percentage - The maximum percentage allowed to scale down in a single scaling action.
OceanNpAutoscalerAutoscaleHeadroom, OceanNpAutoscalerAutoscaleHeadroomArgs
- automatic Property Map
- Automatic headroom configuration.
OceanNpAutoscalerAutoscaleHeadroomAutomatic, OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs
- Is
Enabled bool - Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
- Percentage int
- Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
- Is
Enabled bool - Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
- Percentage int
- Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
- is
Enabled Boolean - Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
- percentage Integer
- Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
- is
Enabled boolean - Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
- percentage number
- Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
- is_
enabled bool - Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
- percentage int
- Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
- is
Enabled Boolean - Enable automatic headroom. When set to True, Ocean configures and optimizes headroom automatically.
- percentage Number
- Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
OceanNpAutoscalerResourceLimits, OceanNpAutoscalerResourceLimitsArgs
- Max
Memory intGib - The maximum memory in GiB units that can be allocated to the cluster.
- Max
Vcpu int - The maximum cpu in vCpu units that can be allocated to the cluster.
- Max
Memory intGib - The maximum memory in GiB units that can be allocated to the cluster.
- Max
Vcpu int - The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory IntegerGib - The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu Integer - The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory numberGib - The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu number - The maximum cpu in vCpu units that can be allocated to the cluster.
- max_
memory_ intgib - The maximum memory in GiB units that can be allocated to the cluster.
- max_
vcpu int - The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory NumberGib - The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu Number - The maximum cpu in vCpu units that can be allocated to the cluster.
OceanNpFilters, OceanNpFiltersArgs
- 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. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
- 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. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
- 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. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
- 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. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
- 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. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
- 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. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
- vm
Types List<String> - The filtered vm types will belong to one of the vm types from this list.
OceanNpHeadroom, OceanNpHeadroomArgs
- 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.
OceanNpHealth, OceanNpHealthArgs
- Grace
Period int - The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
- Grace
Period int - The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
- grace
Period Integer - The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
- grace
Period number - The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
- grace_
period int - The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
- grace
Period Number - The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
OceanNpLinuxOsConfig, OceanNpLinuxOsConfigArgs
- Sysctls
[]Ocean
Np Linux Os Config Sysctl - System Controls
- sysctls
List<Ocean
Np Linux Os Config Sysctl> - System Controls
- sysctls
Ocean
Np Linux Os Config Sysctl[] - System Controls
- sysctls
Sequence[Ocean
Np Linux Os Config Sysctl] - System Controls
- sysctls List<Property Map>
- System Controls
OceanNpLinuxOsConfigSysctl, OceanNpLinuxOsConfigSysctlArgs
- 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.
OceanNpScheduling, OceanNpSchedulingArgs
OceanNpSchedulingShutdownHours, OceanNpSchedulingShutdownHoursArgs
- Is
Enabled bool - Time
Windows List<string>
- Is
Enabled bool - Time
Windows []string
- is
Enabled Boolean - time
Windows List<String>
- is
Enabled boolean - time
Windows string[]
- is_
enabled bool - time_
windows Sequence[str]
- is
Enabled Boolean - time
Windows List<String>
OceanNpSchedulingTask, OceanNpSchedulingTaskArgs
- Cron
Expression string - Is
Enabled bool - Task
Type string - Parameters
Ocean
Np Scheduling Task Parameters
- cron
Expression String - is
Enabled Boolean - task
Type String - parameters
Ocean
Np Scheduling Task Parameters
- cron
Expression string - is
Enabled boolean - task
Type string - parameters
Ocean
Np Scheduling Task Parameters
- cron
Expression String - is
Enabled Boolean - task
Type String - parameters Property Map
OceanNpSchedulingTaskParameters, OceanNpSchedulingTaskParametersArgs
OceanNpSchedulingTaskParametersParametersClusterRoll, OceanNpSchedulingTaskParametersParametersClusterRollArgs
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool - Respect
Restrict boolScale Down - Vng
Ids List<string>
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool - Respect
Restrict boolScale Down - Vng
Ids []string
- batch
Min IntegerHealthy Percentage - batch
Size IntegerPercentage - comment String
- respect
Pdb Boolean - respect
Restrict BooleanScale Down - vng
Ids List<String>
- batch
Min numberHealthy Percentage - batch
Size numberPercentage - comment string
- respect
Pdb boolean - respect
Restrict booleanScale Down - vng
Ids string[]
- batch_
min_ inthealthy_ percentage - batch_
size_ intpercentage - comment str
- respect_
pdb bool - respect_
restrict_ boolscale_ down - vng_
ids Sequence[str]
- batch
Min NumberHealthy Percentage - batch
Size NumberPercentage - comment String
- respect
Pdb Boolean - respect
Restrict BooleanScale Down - vng
Ids List<String>
OceanNpTaint, OceanNpTaintArgs
- Effect string
- Set taint effect.
- Key string
- Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
- Value string
- Set taint value.
- Effect string
- Set taint effect.
- Key string
- Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
- Value string
- Set taint value.
- effect String
- Set taint effect.
- key String
- Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
- value String
- Set taint value.
- effect string
- Set taint effect.
- key string
- Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
- value string
- Set taint value.
- effect str
- Set taint effect.
- key str
- Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
- value str
- Set taint value.
- effect String
- Set taint effect.
- key String
- Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
- value String
- Set taint value.
OceanNpUpdatePolicy, OceanNpUpdatePolicyArgs
- Should
Roll bool - If set to true along with the cluster 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 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 cluster 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 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 cluster 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 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 cluster 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 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 cluster 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 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 cluster 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.
OceanNpUpdatePolicyRollConfig, OceanNpUpdatePolicyRollConfigArgs
- 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.