castai.NodeTemplate
Explore with Pulumi AI
CAST AI node template resource to manage node templates
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as castai from "@pulumi/castai";
const defaultByCastai = new castai.NodeTemplate("defaultByCastai", {
    clusterId: castai_eks_cluster.test.id,
    isDefault: true,
    isEnabled: true,
    configurationId: castai_node_configuration["default"].id,
    shouldTaint: true,
    customLabels: {
        env: "production",
    },
    customTaints: [{
        key: "dedicated",
        value: "backend",
        effect: "NoSchedule",
    }],
    constraints: {
        onDemand: true,
        spot: false,
        useSpotFallbacks: true,
        fallbackRestoreRateSeconds: 300,
        enableSpotDiversity: true,
        spotDiversityPriceIncreaseLimitPercent: 20,
        spotInterruptionPredictionsEnabled: true,
        spotInterruptionPredictionsType: "aws-rebalance-recommendations",
        computeOptimizedState: "disabled",
        storageOptimizedState: "disabled",
        isGpuOnly: false,
        minCpu: 2,
        maxCpu: 8,
        minMemory: 4096,
        maxMemory: 16384,
        architectures: ["amd64"],
        azs: [
            "us-east-2a",
            "us-east-2b",
        ],
        burstableInstances: "disabled",
        customerSpecific: "disabled",
        instanceFamilies: {
            includes: ["c5"],
        },
        customPriorities: [{
            instanceFamilies: ["c5"],
            spot: false,
            onDemand: true,
        }],
    },
});
import pulumi
import pulumi_castai as castai
default_by_castai = castai.NodeTemplate("defaultByCastai",
    cluster_id=castai_eks_cluster["test"]["id"],
    is_default=True,
    is_enabled=True,
    configuration_id=castai_node_configuration["default"]["id"],
    should_taint=True,
    custom_labels={
        "env": "production",
    },
    custom_taints=[{
        "key": "dedicated",
        "value": "backend",
        "effect": "NoSchedule",
    }],
    constraints={
        "on_demand": True,
        "spot": False,
        "use_spot_fallbacks": True,
        "fallback_restore_rate_seconds": 300,
        "enable_spot_diversity": True,
        "spot_diversity_price_increase_limit_percent": 20,
        "spot_interruption_predictions_enabled": True,
        "spot_interruption_predictions_type": "aws-rebalance-recommendations",
        "compute_optimized_state": "disabled",
        "storage_optimized_state": "disabled",
        "is_gpu_only": False,
        "min_cpu": 2,
        "max_cpu": 8,
        "min_memory": 4096,
        "max_memory": 16384,
        "architectures": ["amd64"],
        "azs": [
            "us-east-2a",
            "us-east-2b",
        ],
        "burstable_instances": "disabled",
        "customer_specific": "disabled",
        "instance_families": {
            "includes": ["c5"],
        },
        "custom_priorities": [{
            "instance_families": ["c5"],
            "spot": False,
            "on_demand": True,
        }],
    })
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/castai/v7/castai"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := castai.NewNodeTemplate(ctx, "defaultByCastai", &castai.NodeTemplateArgs{
			ClusterId:       pulumi.Any(castai_eks_cluster.Test.Id),
			IsDefault:       pulumi.Bool(true),
			IsEnabled:       pulumi.Bool(true),
			ConfigurationId: pulumi.Any(castai_node_configuration.Default.Id),
			ShouldTaint:     pulumi.Bool(true),
			CustomLabels: pulumi.StringMap{
				"env": pulumi.String("production"),
			},
			CustomTaints: castai.NodeTemplateCustomTaintArray{
				&castai.NodeTemplateCustomTaintArgs{
					Key:    pulumi.String("dedicated"),
					Value:  pulumi.String("backend"),
					Effect: pulumi.String("NoSchedule"),
				},
			},
			Constraints: &castai.NodeTemplateConstraintsArgs{
				OnDemand:                               pulumi.Bool(true),
				Spot:                                   pulumi.Bool(false),
				UseSpotFallbacks:                       pulumi.Bool(true),
				FallbackRestoreRateSeconds:             pulumi.Float64(300),
				EnableSpotDiversity:                    pulumi.Bool(true),
				SpotDiversityPriceIncreaseLimitPercent: pulumi.Float64(20),
				SpotInterruptionPredictionsEnabled:     pulumi.Bool(true),
				SpotInterruptionPredictionsType:        pulumi.String("aws-rebalance-recommendations"),
				ComputeOptimizedState:                  pulumi.String("disabled"),
				StorageOptimizedState:                  pulumi.String("disabled"),
				IsGpuOnly:                              pulumi.Bool(false),
				MinCpu:                                 pulumi.Float64(2),
				MaxCpu:                                 pulumi.Float64(8),
				MinMemory:                              pulumi.Float64(4096),
				MaxMemory:                              pulumi.Float64(16384),
				Architectures: pulumi.StringArray{
					pulumi.String("amd64"),
				},
				Azs: pulumi.StringArray{
					pulumi.String("us-east-2a"),
					pulumi.String("us-east-2b"),
				},
				BurstableInstances: pulumi.String("disabled"),
				CustomerSpecific:   pulumi.String("disabled"),
				InstanceFamilies: &castai.NodeTemplateConstraintsInstanceFamiliesArgs{
					Includes: pulumi.StringArray{
						pulumi.String("c5"),
					},
				},
				CustomPriorities: castai.NodeTemplateConstraintsCustomPriorityArray{
					&castai.NodeTemplateConstraintsCustomPriorityArgs{
						InstanceFamilies: pulumi.StringArray{
							pulumi.String("c5"),
						},
						Spot:     pulumi.Bool(false),
						OnDemand: pulumi.Bool(true),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Castai = Pulumi.Castai;
return await Deployment.RunAsync(() => 
{
    var defaultByCastai = new Castai.NodeTemplate("defaultByCastai", new()
    {
        ClusterId = castai_eks_cluster.Test.Id,
        IsDefault = true,
        IsEnabled = true,
        ConfigurationId = castai_node_configuration.Default.Id,
        ShouldTaint = true,
        CustomLabels = 
        {
            { "env", "production" },
        },
        CustomTaints = new[]
        {
            new Castai.Inputs.NodeTemplateCustomTaintArgs
            {
                Key = "dedicated",
                Value = "backend",
                Effect = "NoSchedule",
            },
        },
        Constraints = new Castai.Inputs.NodeTemplateConstraintsArgs
        {
            OnDemand = true,
            Spot = false,
            UseSpotFallbacks = true,
            FallbackRestoreRateSeconds = 300,
            EnableSpotDiversity = true,
            SpotDiversityPriceIncreaseLimitPercent = 20,
            SpotInterruptionPredictionsEnabled = true,
            SpotInterruptionPredictionsType = "aws-rebalance-recommendations",
            ComputeOptimizedState = "disabled",
            StorageOptimizedState = "disabled",
            IsGpuOnly = false,
            MinCpu = 2,
            MaxCpu = 8,
            MinMemory = 4096,
            MaxMemory = 16384,
            Architectures = new[]
            {
                "amd64",
            },
            Azs = new[]
            {
                "us-east-2a",
                "us-east-2b",
            },
            BurstableInstances = "disabled",
            CustomerSpecific = "disabled",
            InstanceFamilies = new Castai.Inputs.NodeTemplateConstraintsInstanceFamiliesArgs
            {
                Includes = new[]
                {
                    "c5",
                },
            },
            CustomPriorities = new[]
            {
                new Castai.Inputs.NodeTemplateConstraintsCustomPriorityArgs
                {
                    InstanceFamilies = new[]
                    {
                        "c5",
                    },
                    Spot = false,
                    OnDemand = true,
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.castai.NodeTemplate;
import com.pulumi.castai.NodeTemplateArgs;
import com.pulumi.castai.inputs.NodeTemplateCustomTaintArgs;
import com.pulumi.castai.inputs.NodeTemplateConstraintsArgs;
import com.pulumi.castai.inputs.NodeTemplateConstraintsInstanceFamiliesArgs;
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 defaultByCastai = new NodeTemplate("defaultByCastai", NodeTemplateArgs.builder()
            .clusterId(castai_eks_cluster.test().id())
            .isDefault(true)
            .isEnabled(true)
            .configurationId(castai_node_configuration.default().id())
            .shouldTaint(true)
            .customLabels(Map.of("env", "production"))
            .customTaints(NodeTemplateCustomTaintArgs.builder()
                .key("dedicated")
                .value("backend")
                .effect("NoSchedule")
                .build())
            .constraints(NodeTemplateConstraintsArgs.builder()
                .onDemand(true)
                .spot(false)
                .useSpotFallbacks(true)
                .fallbackRestoreRateSeconds(300)
                .enableSpotDiversity(true)
                .spotDiversityPriceIncreaseLimitPercent(20)
                .spotInterruptionPredictionsEnabled(true)
                .spotInterruptionPredictionsType("aws-rebalance-recommendations")
                .computeOptimizedState("disabled")
                .storageOptimizedState("disabled")
                .isGpuOnly(false)
                .minCpu(2)
                .maxCpu(8)
                .minMemory(4096)
                .maxMemory(16384)
                .architectures("amd64")
                .azs(                
                    "us-east-2a",
                    "us-east-2b")
                .burstableInstances("disabled")
                .customerSpecific("disabled")
                .instanceFamilies(NodeTemplateConstraintsInstanceFamiliesArgs.builder()
                    .includes("c5")
                    .build())
                .customPriorities(NodeTemplateConstraintsCustomPriorityArgs.builder()
                    .instanceFamilies("c5")
                    .spot(false)
                    .onDemand(true)
                    .build())
                .build())
            .build());
    }
}
resources:
  defaultByCastai:
    type: castai:NodeTemplate
    properties:
      clusterId: ${castai_eks_cluster.test.id}
      isDefault: true
      isEnabled: true
      configurationId: ${castai_node_configuration.default.id}
      shouldTaint: true
      customLabels:
        env: production
      customTaints:
        - key: dedicated
          value: backend
          effect: NoSchedule
      constraints:
        onDemand: true
        spot: false
        useSpotFallbacks: true
        fallbackRestoreRateSeconds: 300
        enableSpotDiversity: true
        spotDiversityPriceIncreaseLimitPercent: 20
        spotInterruptionPredictionsEnabled: true
        spotInterruptionPredictionsType: aws-rebalance-recommendations
        computeOptimizedState: disabled
        storageOptimizedState: disabled
        isGpuOnly: false
        minCpu: 2
        maxCpu: 8
        minMemory: 4096
        maxMemory: 16384
        architectures:
          - amd64
        azs:
          - us-east-2a
          - us-east-2b
        burstableInstances: disabled
        customerSpecific: disabled
        instanceFamilies:
          includes:
            - c5
        customPriorities:
          - instanceFamilies:
              - c5
            spot: false
            onDemand: true
Create NodeTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeTemplate(name: string, args?: NodeTemplateArgs, opts?: CustomResourceOptions);@overload
def NodeTemplate(resource_name: str,
                 args: Optional[NodeTemplateArgs] = None,
                 opts: Optional[ResourceOptions] = None)
@overload
def NodeTemplate(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 cluster_id: Optional[str] = None,
                 configuration_id: Optional[str] = None,
                 constraints: Optional[NodeTemplateConstraintsArgs] = None,
                 custom_instances_enabled: Optional[bool] = None,
                 custom_instances_with_extended_memory_enabled: Optional[bool] = None,
                 custom_labels: Optional[Mapping[str, str]] = None,
                 custom_taints: Optional[Sequence[NodeTemplateCustomTaintArgs]] = None,
                 is_default: Optional[bool] = None,
                 is_enabled: Optional[bool] = None,
                 name: Optional[str] = None,
                 node_template_id: Optional[str] = None,
                 rebalancing_config_min_nodes: Optional[float] = None,
                 should_taint: Optional[bool] = None,
                 timeouts: Optional[NodeTemplateTimeoutsArgs] = None)func NewNodeTemplate(ctx *Context, name string, args *NodeTemplateArgs, opts ...ResourceOption) (*NodeTemplate, error)public NodeTemplate(string name, NodeTemplateArgs? args = null, CustomResourceOptions? opts = null)
public NodeTemplate(String name, NodeTemplateArgs args)
public NodeTemplate(String name, NodeTemplateArgs args, CustomResourceOptions options)
type: castai:NodeTemplate
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 NodeTemplateArgs
- 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 NodeTemplateArgs
- 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 NodeTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeTemplateArgs
- 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 nodeTemplateResource = new Castai.NodeTemplate("nodeTemplateResource", new()
{
    ClusterId = "string",
    ConfigurationId = "string",
    Constraints = new Castai.Inputs.NodeTemplateConstraintsArgs
    {
        ArchitecturePriorities = new[]
        {
            "string",
        },
        Architectures = new[]
        {
            "string",
        },
        Azs = new[]
        {
            "string",
        },
        BurstableInstances = "string",
        ComputeOptimized = false,
        ComputeOptimizedState = "string",
        CpuManufacturers = new[]
        {
            "string",
        },
        CustomPriorities = new[]
        {
            new Castai.Inputs.NodeTemplateConstraintsCustomPriorityArgs
            {
                InstanceFamilies = new[]
                {
                    "string",
                },
                OnDemand = false,
                Spot = false,
            },
        },
        CustomerSpecific = "string",
        DedicatedNodeAffinities = new[]
        {
            new Castai.Inputs.NodeTemplateConstraintsDedicatedNodeAffinityArgs
            {
                AzName = "string",
                InstanceTypes = new[]
                {
                    "string",
                },
                Name = "string",
                Affinities = new[]
                {
                    new Castai.Inputs.NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs
                    {
                        Key = "string",
                        Operator = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        EnableSpotDiversity = false,
        FallbackRestoreRateSeconds = 0,
        Gpu = new Castai.Inputs.NodeTemplateConstraintsGpuArgs
        {
            ExcludeNames = new[]
            {
                "string",
            },
            IncludeNames = new[]
            {
                "string",
            },
            Manufacturers = new[]
            {
                "string",
            },
            MaxCount = 0,
            MinCount = 0,
        },
        InstanceFamilies = new Castai.Inputs.NodeTemplateConstraintsInstanceFamiliesArgs
        {
            Excludes = new[]
            {
                "string",
            },
            Includes = new[]
            {
                "string",
            },
        },
        IsGpuOnly = false,
        MaxCpu = 0,
        MaxMemory = 0,
        MinCpu = 0,
        MinMemory = 0,
        OnDemand = false,
        Os = new[]
        {
            "string",
        },
        ResourceLimits = new Castai.Inputs.NodeTemplateConstraintsResourceLimitsArgs
        {
            CpuLimitEnabled = false,
            CpuLimitMaxCores = 0,
        },
        Spot = false,
        SpotDiversityPriceIncreaseLimitPercent = 0,
        SpotInterruptionPredictionsEnabled = false,
        SpotInterruptionPredictionsType = "string",
        StorageOptimized = false,
        StorageOptimizedState = "string",
        UseSpotFallbacks = false,
    },
    CustomInstancesEnabled = false,
    CustomInstancesWithExtendedMemoryEnabled = false,
    CustomLabels = 
    {
        { "string", "string" },
    },
    CustomTaints = new[]
    {
        new Castai.Inputs.NodeTemplateCustomTaintArgs
        {
            Key = "string",
            Effect = "string",
            Value = "string",
        },
    },
    IsDefault = false,
    IsEnabled = false,
    Name = "string",
    NodeTemplateId = "string",
    RebalancingConfigMinNodes = 0,
    ShouldTaint = false,
    Timeouts = new Castai.Inputs.NodeTemplateTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
example, err := castai.NewNodeTemplate(ctx, "nodeTemplateResource", &castai.NodeTemplateArgs{
ClusterId: pulumi.String("string"),
ConfigurationId: pulumi.String("string"),
Constraints: &.NodeTemplateConstraintsArgs{
ArchitecturePriorities: pulumi.StringArray{
pulumi.String("string"),
},
Architectures: pulumi.StringArray{
pulumi.String("string"),
},
Azs: pulumi.StringArray{
pulumi.String("string"),
},
BurstableInstances: pulumi.String("string"),
ComputeOptimized: pulumi.Bool(false),
ComputeOptimizedState: pulumi.String("string"),
CpuManufacturers: pulumi.StringArray{
pulumi.String("string"),
},
CustomPriorities: .NodeTemplateConstraintsCustomPriorityArray{
&.NodeTemplateConstraintsCustomPriorityArgs{
InstanceFamilies: pulumi.StringArray{
pulumi.String("string"),
},
OnDemand: pulumi.Bool(false),
Spot: pulumi.Bool(false),
},
},
CustomerSpecific: pulumi.String("string"),
DedicatedNodeAffinities: .NodeTemplateConstraintsDedicatedNodeAffinityArray{
&.NodeTemplateConstraintsDedicatedNodeAffinityArgs{
AzName: pulumi.String("string"),
InstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Affinities: .NodeTemplateConstraintsDedicatedNodeAffinityAffinityArray{
&.NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
EnableSpotDiversity: pulumi.Bool(false),
FallbackRestoreRateSeconds: pulumi.Float64(0),
Gpu: &.NodeTemplateConstraintsGpuArgs{
ExcludeNames: pulumi.StringArray{
pulumi.String("string"),
},
IncludeNames: pulumi.StringArray{
pulumi.String("string"),
},
Manufacturers: pulumi.StringArray{
pulumi.String("string"),
},
MaxCount: pulumi.Float64(0),
MinCount: pulumi.Float64(0),
},
InstanceFamilies: &.NodeTemplateConstraintsInstanceFamiliesArgs{
Excludes: pulumi.StringArray{
pulumi.String("string"),
},
Includes: pulumi.StringArray{
pulumi.String("string"),
},
},
IsGpuOnly: pulumi.Bool(false),
MaxCpu: pulumi.Float64(0),
MaxMemory: pulumi.Float64(0),
MinCpu: pulumi.Float64(0),
MinMemory: pulumi.Float64(0),
OnDemand: pulumi.Bool(false),
Os: pulumi.StringArray{
pulumi.String("string"),
},
ResourceLimits: &.NodeTemplateConstraintsResourceLimitsArgs{
CpuLimitEnabled: pulumi.Bool(false),
CpuLimitMaxCores: pulumi.Float64(0),
},
Spot: pulumi.Bool(false),
SpotDiversityPriceIncreaseLimitPercent: pulumi.Float64(0),
SpotInterruptionPredictionsEnabled: pulumi.Bool(false),
SpotInterruptionPredictionsType: pulumi.String("string"),
StorageOptimized: pulumi.Bool(false),
StorageOptimizedState: pulumi.String("string"),
UseSpotFallbacks: pulumi.Bool(false),
},
CustomInstancesEnabled: pulumi.Bool(false),
CustomInstancesWithExtendedMemoryEnabled: pulumi.Bool(false),
CustomLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
CustomTaints: .NodeTemplateCustomTaintArray{
&.NodeTemplateCustomTaintArgs{
Key: pulumi.String("string"),
Effect: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
IsDefault: pulumi.Bool(false),
IsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
NodeTemplateId: pulumi.String("string"),
RebalancingConfigMinNodes: pulumi.Float64(0),
ShouldTaint: pulumi.Bool(false),
Timeouts: &.NodeTemplateTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var nodeTemplateResource = new NodeTemplate("nodeTemplateResource", NodeTemplateArgs.builder()
    .clusterId("string")
    .configurationId("string")
    .constraints(NodeTemplateConstraintsArgs.builder()
        .architecturePriorities("string")
        .architectures("string")
        .azs("string")
        .burstableInstances("string")
        .computeOptimized(false)
        .computeOptimizedState("string")
        .cpuManufacturers("string")
        .customPriorities(NodeTemplateConstraintsCustomPriorityArgs.builder()
            .instanceFamilies("string")
            .onDemand(false)
            .spot(false)
            .build())
        .customerSpecific("string")
        .dedicatedNodeAffinities(NodeTemplateConstraintsDedicatedNodeAffinityArgs.builder()
            .azName("string")
            .instanceTypes("string")
            .name("string")
            .affinities(NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs.builder()
                .key("string")
                .operator("string")
                .values("string")
                .build())
            .build())
        .enableSpotDiversity(false)
        .fallbackRestoreRateSeconds(0)
        .gpu(NodeTemplateConstraintsGpuArgs.builder()
            .excludeNames("string")
            .includeNames("string")
            .manufacturers("string")
            .maxCount(0)
            .minCount(0)
            .build())
        .instanceFamilies(NodeTemplateConstraintsInstanceFamiliesArgs.builder()
            .excludes("string")
            .includes("string")
            .build())
        .isGpuOnly(false)
        .maxCpu(0)
        .maxMemory(0)
        .minCpu(0)
        .minMemory(0)
        .onDemand(false)
        .os("string")
        .resourceLimits(NodeTemplateConstraintsResourceLimitsArgs.builder()
            .cpuLimitEnabled(false)
            .cpuLimitMaxCores(0)
            .build())
        .spot(false)
        .spotDiversityPriceIncreaseLimitPercent(0)
        .spotInterruptionPredictionsEnabled(false)
        .spotInterruptionPredictionsType("string")
        .storageOptimized(false)
        .storageOptimizedState("string")
        .useSpotFallbacks(false)
        .build())
    .customInstancesEnabled(false)
    .customInstancesWithExtendedMemoryEnabled(false)
    .customLabels(Map.of("string", "string"))
    .customTaints(NodeTemplateCustomTaintArgs.builder()
        .key("string")
        .effect("string")
        .value("string")
        .build())
    .isDefault(false)
    .isEnabled(false)
    .name("string")
    .nodeTemplateId("string")
    .rebalancingConfigMinNodes(0)
    .shouldTaint(false)
    .timeouts(NodeTemplateTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
node_template_resource = castai.NodeTemplate("nodeTemplateResource",
    cluster_id="string",
    configuration_id="string",
    constraints={
        "architecture_priorities": ["string"],
        "architectures": ["string"],
        "azs": ["string"],
        "burstable_instances": "string",
        "compute_optimized": False,
        "compute_optimized_state": "string",
        "cpu_manufacturers": ["string"],
        "custom_priorities": [{
            "instance_families": ["string"],
            "on_demand": False,
            "spot": False,
        }],
        "customer_specific": "string",
        "dedicated_node_affinities": [{
            "az_name": "string",
            "instance_types": ["string"],
            "name": "string",
            "affinities": [{
                "key": "string",
                "operator": "string",
                "values": ["string"],
            }],
        }],
        "enable_spot_diversity": False,
        "fallback_restore_rate_seconds": 0,
        "gpu": {
            "exclude_names": ["string"],
            "include_names": ["string"],
            "manufacturers": ["string"],
            "max_count": 0,
            "min_count": 0,
        },
        "instance_families": {
            "excludes": ["string"],
            "includes": ["string"],
        },
        "is_gpu_only": False,
        "max_cpu": 0,
        "max_memory": 0,
        "min_cpu": 0,
        "min_memory": 0,
        "on_demand": False,
        "os": ["string"],
        "resource_limits": {
            "cpu_limit_enabled": False,
            "cpu_limit_max_cores": 0,
        },
        "spot": False,
        "spot_diversity_price_increase_limit_percent": 0,
        "spot_interruption_predictions_enabled": False,
        "spot_interruption_predictions_type": "string",
        "storage_optimized": False,
        "storage_optimized_state": "string",
        "use_spot_fallbacks": False,
    },
    custom_instances_enabled=False,
    custom_instances_with_extended_memory_enabled=False,
    custom_labels={
        "string": "string",
    },
    custom_taints=[{
        "key": "string",
        "effect": "string",
        "value": "string",
    }],
    is_default=False,
    is_enabled=False,
    name="string",
    node_template_id="string",
    rebalancing_config_min_nodes=0,
    should_taint=False,
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
const nodeTemplateResource = new castai.NodeTemplate("nodeTemplateResource", {
    clusterId: "string",
    configurationId: "string",
    constraints: {
        architecturePriorities: ["string"],
        architectures: ["string"],
        azs: ["string"],
        burstableInstances: "string",
        computeOptimized: false,
        computeOptimizedState: "string",
        cpuManufacturers: ["string"],
        customPriorities: [{
            instanceFamilies: ["string"],
            onDemand: false,
            spot: false,
        }],
        customerSpecific: "string",
        dedicatedNodeAffinities: [{
            azName: "string",
            instanceTypes: ["string"],
            name: "string",
            affinities: [{
                key: "string",
                operator: "string",
                values: ["string"],
            }],
        }],
        enableSpotDiversity: false,
        fallbackRestoreRateSeconds: 0,
        gpu: {
            excludeNames: ["string"],
            includeNames: ["string"],
            manufacturers: ["string"],
            maxCount: 0,
            minCount: 0,
        },
        instanceFamilies: {
            excludes: ["string"],
            includes: ["string"],
        },
        isGpuOnly: false,
        maxCpu: 0,
        maxMemory: 0,
        minCpu: 0,
        minMemory: 0,
        onDemand: false,
        os: ["string"],
        resourceLimits: {
            cpuLimitEnabled: false,
            cpuLimitMaxCores: 0,
        },
        spot: false,
        spotDiversityPriceIncreaseLimitPercent: 0,
        spotInterruptionPredictionsEnabled: false,
        spotInterruptionPredictionsType: "string",
        storageOptimized: false,
        storageOptimizedState: "string",
        useSpotFallbacks: false,
    },
    customInstancesEnabled: false,
    customInstancesWithExtendedMemoryEnabled: false,
    customLabels: {
        string: "string",
    },
    customTaints: [{
        key: "string",
        effect: "string",
        value: "string",
    }],
    isDefault: false,
    isEnabled: false,
    name: "string",
    nodeTemplateId: "string",
    rebalancingConfigMinNodes: 0,
    shouldTaint: false,
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
type: castai:NodeTemplate
properties:
    clusterId: string
    configurationId: string
    constraints:
        architecturePriorities:
            - string
        architectures:
            - string
        azs:
            - string
        burstableInstances: string
        computeOptimized: false
        computeOptimizedState: string
        cpuManufacturers:
            - string
        customPriorities:
            - instanceFamilies:
                - string
              onDemand: false
              spot: false
        customerSpecific: string
        dedicatedNodeAffinities:
            - affinities:
                - key: string
                  operator: string
                  values:
                    - string
              azName: string
              instanceTypes:
                - string
              name: string
        enableSpotDiversity: false
        fallbackRestoreRateSeconds: 0
        gpu:
            excludeNames:
                - string
            includeNames:
                - string
            manufacturers:
                - string
            maxCount: 0
            minCount: 0
        instanceFamilies:
            excludes:
                - string
            includes:
                - string
        isGpuOnly: false
        maxCpu: 0
        maxMemory: 0
        minCpu: 0
        minMemory: 0
        onDemand: false
        os:
            - string
        resourceLimits:
            cpuLimitEnabled: false
            cpuLimitMaxCores: 0
        spot: false
        spotDiversityPriceIncreaseLimitPercent: 0
        spotInterruptionPredictionsEnabled: false
        spotInterruptionPredictionsType: string
        storageOptimized: false
        storageOptimizedState: string
        useSpotFallbacks: false
    customInstancesEnabled: false
    customInstancesWithExtendedMemoryEnabled: false
    customLabels:
        string: string
    customTaints:
        - effect: string
          key: string
          value: string
    isDefault: false
    isEnabled: false
    name: string
    nodeTemplateId: string
    rebalancingConfigMinNodes: 0
    shouldTaint: false
    timeouts:
        create: string
        delete: string
        read: string
        update: string
NodeTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NodeTemplate resource accepts the following input properties:
- ClusterId string
- CAST AI cluster id.
- ConfigurationId string
- CAST AI node configuration id to be used for node template.
- Constraints
NodeTemplate Constraints 
- CustomInstances boolEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomInstances boolWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomLabels Dictionary<string, string>
- Custom labels to be added to nodes created from this template.
- CustomTaints List<NodeTemplate Custom Taint> 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- IsDefault bool
- Flag whether the node template is default.
- IsEnabled bool
- Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- NodeTemplate stringId 
- The ID of this resource.
- RebalancingConfig doubleMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- ShouldTaint bool
- Marks whether the templated nodes will have a taint.
- Timeouts
NodeTemplate Timeouts 
- ClusterId string
- CAST AI cluster id.
- ConfigurationId string
- CAST AI node configuration id to be used for node template.
- Constraints
NodeTemplate Constraints Args 
- CustomInstances boolEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomInstances boolWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomLabels map[string]string
- Custom labels to be added to nodes created from this template.
- CustomTaints []NodeTemplate Custom Taint Args 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- IsDefault bool
- Flag whether the node template is default.
- IsEnabled bool
- Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- NodeTemplate stringId 
- The ID of this resource.
- RebalancingConfig float64Min Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- ShouldTaint bool
- Marks whether the templated nodes will have a taint.
- Timeouts
NodeTemplate Timeouts Args 
- clusterId String
- CAST AI cluster id.
- configurationId String
- CAST AI node configuration id to be used for node template.
- constraints
NodeTemplate Constraints 
- customInstances BooleanEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customInstances BooleanWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customLabels Map<String,String>
- Custom labels to be added to nodes created from this template.
- customTaints List<NodeTemplate Custom Taint> 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- isDefault Boolean
- Flag whether the node template is default.
- isEnabled Boolean
- Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- nodeTemplate StringId 
- The ID of this resource.
- rebalancingConfig DoubleMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- shouldTaint Boolean
- Marks whether the templated nodes will have a taint.
- timeouts
NodeTemplate Timeouts 
- clusterId string
- CAST AI cluster id.
- configurationId string
- CAST AI node configuration id to be used for node template.
- constraints
NodeTemplate Constraints 
- customInstances booleanEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customInstances booleanWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customLabels {[key: string]: string}
- Custom labels to be added to nodes created from this template.
- customTaints NodeTemplate Custom Taint[] 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- isDefault boolean
- Flag whether the node template is default.
- isEnabled boolean
- Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- nodeTemplate stringId 
- The ID of this resource.
- rebalancingConfig numberMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- shouldTaint boolean
- Marks whether the templated nodes will have a taint.
- timeouts
NodeTemplate Timeouts 
- cluster_id str
- CAST AI cluster id.
- configuration_id str
- CAST AI node configuration id to be used for node template.
- constraints
NodeTemplate Constraints Args 
- custom_instances_ boolenabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_instances_ boolwith_ extended_ memory_ enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_labels Mapping[str, str]
- Custom labels to be added to nodes created from this template.
- custom_taints Sequence[NodeTemplate Custom Taint Args] 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- is_default bool
- Flag whether the node template is default.
- is_enabled bool
- Flag whether the node template is enabled and considered for autoscaling.
- name str
- Name of the node template.
- node_template_ strid 
- The ID of this resource.
- rebalancing_config_ floatmin_ nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- should_taint bool
- Marks whether the templated nodes will have a taint.
- timeouts
NodeTemplate Timeouts Args 
- clusterId String
- CAST AI cluster id.
- configurationId String
- CAST AI node configuration id to be used for node template.
- constraints Property Map
- customInstances BooleanEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customInstances BooleanWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customLabels Map<String>
- Custom labels to be added to nodes created from this template.
- customTaints List<Property Map>
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- isDefault Boolean
- Flag whether the node template is default.
- isEnabled Boolean
- Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- nodeTemplate StringId 
- The ID of this resource.
- rebalancingConfig NumberMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- shouldTaint Boolean
- Marks whether the templated nodes will have a taint.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeTemplate 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 NodeTemplate Resource
Get an existing NodeTemplate 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?: NodeTemplateState, opts?: CustomResourceOptions): NodeTemplate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cluster_id: Optional[str] = None,
        configuration_id: Optional[str] = None,
        constraints: Optional[NodeTemplateConstraintsArgs] = None,
        custom_instances_enabled: Optional[bool] = None,
        custom_instances_with_extended_memory_enabled: Optional[bool] = None,
        custom_labels: Optional[Mapping[str, str]] = None,
        custom_taints: Optional[Sequence[NodeTemplateCustomTaintArgs]] = None,
        is_default: Optional[bool] = None,
        is_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        node_template_id: Optional[str] = None,
        rebalancing_config_min_nodes: Optional[float] = None,
        should_taint: Optional[bool] = None,
        timeouts: Optional[NodeTemplateTimeoutsArgs] = None) -> NodeTemplatefunc GetNodeTemplate(ctx *Context, name string, id IDInput, state *NodeTemplateState, opts ...ResourceOption) (*NodeTemplate, error)public static NodeTemplate Get(string name, Input<string> id, NodeTemplateState? state, CustomResourceOptions? opts = null)public static NodeTemplate get(String name, Output<String> id, NodeTemplateState state, CustomResourceOptions options)resources:  _:    type: castai:NodeTemplate    get:      id: ${id}- 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.
- ClusterId string
- CAST AI cluster id.
- ConfigurationId string
- CAST AI node configuration id to be used for node template.
- Constraints
NodeTemplate Constraints 
- CustomInstances boolEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomInstances boolWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomLabels Dictionary<string, string>
- Custom labels to be added to nodes created from this template.
- CustomTaints List<NodeTemplate Custom Taint> 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- IsDefault bool
- Flag whether the node template is default.
- IsEnabled bool
- Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- NodeTemplate stringId 
- The ID of this resource.
- RebalancingConfig doubleMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- ShouldTaint bool
- Marks whether the templated nodes will have a taint.
- Timeouts
NodeTemplate Timeouts 
- ClusterId string
- CAST AI cluster id.
- ConfigurationId string
- CAST AI node configuration id to be used for node template.
- Constraints
NodeTemplate Constraints Args 
- CustomInstances boolEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomInstances boolWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- CustomLabels map[string]string
- Custom labels to be added to nodes created from this template.
- CustomTaints []NodeTemplate Custom Taint Args 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- IsDefault bool
- Flag whether the node template is default.
- IsEnabled bool
- Flag whether the node template is enabled and considered for autoscaling.
- Name string
- Name of the node template.
- NodeTemplate stringId 
- The ID of this resource.
- RebalancingConfig float64Min Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- ShouldTaint bool
- Marks whether the templated nodes will have a taint.
- Timeouts
NodeTemplate Timeouts Args 
- clusterId String
- CAST AI cluster id.
- configurationId String
- CAST AI node configuration id to be used for node template.
- constraints
NodeTemplate Constraints 
- customInstances BooleanEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customInstances BooleanWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customLabels Map<String,String>
- Custom labels to be added to nodes created from this template.
- customTaints List<NodeTemplate Custom Taint> 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- isDefault Boolean
- Flag whether the node template is default.
- isEnabled Boolean
- Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- nodeTemplate StringId 
- The ID of this resource.
- rebalancingConfig DoubleMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- shouldTaint Boolean
- Marks whether the templated nodes will have a taint.
- timeouts
NodeTemplate Timeouts 
- clusterId string
- CAST AI cluster id.
- configurationId string
- CAST AI node configuration id to be used for node template.
- constraints
NodeTemplate Constraints 
- customInstances booleanEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customInstances booleanWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customLabels {[key: string]: string}
- Custom labels to be added to nodes created from this template.
- customTaints NodeTemplate Custom Taint[] 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- isDefault boolean
- Flag whether the node template is default.
- isEnabled boolean
- Flag whether the node template is enabled and considered for autoscaling.
- name string
- Name of the node template.
- nodeTemplate stringId 
- The ID of this resource.
- rebalancingConfig numberMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- shouldTaint boolean
- Marks whether the templated nodes will have a taint.
- timeouts
NodeTemplate Timeouts 
- cluster_id str
- CAST AI cluster id.
- configuration_id str
- CAST AI node configuration id to be used for node template.
- constraints
NodeTemplate Constraints Args 
- custom_instances_ boolenabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_instances_ boolwith_ extended_ memory_ enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- custom_labels Mapping[str, str]
- Custom labels to be added to nodes created from this template.
- custom_taints Sequence[NodeTemplate Custom Taint Args] 
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- is_default bool
- Flag whether the node template is default.
- is_enabled bool
- Flag whether the node template is enabled and considered for autoscaling.
- name str
- Name of the node template.
- node_template_ strid 
- The ID of this resource.
- rebalancing_config_ floatmin_ nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- should_taint bool
- Marks whether the templated nodes will have a taint.
- timeouts
NodeTemplate Timeouts Args 
- clusterId String
- CAST AI cluster id.
- configurationId String
- CAST AI node configuration id to be used for node template.
- constraints Property Map
- customInstances BooleanEnabled 
- Marks whether custom instances should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customInstances BooleanWith Extended Memory Enabled 
- Marks whether custom instances with extended memory should be used when deciding which parts of inventory are available. Custom instances are only supported in GCP.
- customLabels Map<String>
- Custom labels to be added to nodes created from this template.
- customTaints List<Property Map>
- Custom taints to be added to the nodes created from this template. shouldTainthas to betruein order to create/update the node template with custom taints. IfshouldTaintistrue, but no custom taints are provided, the nodes will be tainted with the default node template taint.
- isDefault Boolean
- Flag whether the node template is default.
- isEnabled Boolean
- Flag whether the node template is enabled and considered for autoscaling.
- name String
- Name of the node template.
- nodeTemplate StringId 
- The ID of this resource.
- rebalancingConfig NumberMin Nodes 
- Minimum nodes that will be kept when rebalancing nodes using this node template.
- shouldTaint Boolean
- Marks whether the templated nodes will have a taint.
- timeouts Property Map
Supporting Types
NodeTemplateConstraints, NodeTemplateConstraintsArgs      
- ArchitecturePriorities List<string>
- Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- Architectures List<string>
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- Azs List<string>
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- BurstableInstances string
- Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- ComputeOptimized bool
- Compute optimized instance constraint (deprecated).
- ComputeOptimized stringState 
- Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values: enabled,disabledor empty string.
- CpuManufacturers List<string>
- List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- CustomPriorities List<NodeTemplate Constraints Custom Priority> 
- CustomerSpecific string
- Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- DedicatedNode List<NodeAffinities Template Constraints Dedicated Node Affinity> 
- Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- EnableSpot boolDiversity 
- Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- FallbackRestore doubleRate Seconds 
- Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- Gpu
NodeTemplate Constraints Gpu 
- InstanceFamilies NodeTemplate Constraints Instance Families 
- IsGpu boolOnly 
- GPU instance constraint - will only pick nodes with GPU if true
- MaxCpu double
- Max CPU cores per node.
- MaxMemory double
- Max Memory (Mib) per node.
- MinCpu double
- Min CPU cores per node.
- MinMemory double
- Min Memory (Mib) per node.
- OnDemand bool
- Should include on-demand instances in the considered pool.
- Os List<string>
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- ResourceLimits NodeTemplate Constraints Resource Limits 
- Spot bool
- Should include spot instances in the considered pool.
- SpotDiversity doublePrice Increase Limit Percent 
- Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- SpotInterruption boolPredictions Enabled 
- Enable/disable spot interruption predictions.
- SpotInterruption stringPredictions Type 
- Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- StorageOptimized bool
- Storage optimized instance constraint (deprecated).
- StorageOptimized stringState 
- Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values: enabled,disabledor empty string.
- UseSpot boolFallbacks 
- Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- ArchitecturePriorities []string
- Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- Architectures []string
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- Azs []string
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- BurstableInstances string
- Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- ComputeOptimized bool
- Compute optimized instance constraint (deprecated).
- ComputeOptimized stringState 
- Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values: enabled,disabledor empty string.
- CpuManufacturers []string
- List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- CustomPriorities []NodeTemplate Constraints Custom Priority 
- CustomerSpecific string
- Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- DedicatedNode []NodeAffinities Template Constraints Dedicated Node Affinity 
- Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- EnableSpot boolDiversity 
- Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- FallbackRestore float64Rate Seconds 
- Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- Gpu
NodeTemplate Constraints Gpu 
- InstanceFamilies NodeTemplate Constraints Instance Families 
- IsGpu boolOnly 
- GPU instance constraint - will only pick nodes with GPU if true
- MaxCpu float64
- Max CPU cores per node.
- MaxMemory float64
- Max Memory (Mib) per node.
- MinCpu float64
- Min CPU cores per node.
- MinMemory float64
- Min Memory (Mib) per node.
- OnDemand bool
- Should include on-demand instances in the considered pool.
- Os []string
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- ResourceLimits NodeTemplate Constraints Resource Limits 
- Spot bool
- Should include spot instances in the considered pool.
- SpotDiversity float64Price Increase Limit Percent 
- Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- SpotInterruption boolPredictions Enabled 
- Enable/disable spot interruption predictions.
- SpotInterruption stringPredictions Type 
- Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- StorageOptimized bool
- Storage optimized instance constraint (deprecated).
- StorageOptimized stringState 
- Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values: enabled,disabledor empty string.
- UseSpot boolFallbacks 
- Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecturePriorities List<String>
- Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures List<String>
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- azs List<String>
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- burstableInstances String
- Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- computeOptimized Boolean
- Compute optimized instance constraint (deprecated).
- computeOptimized StringState 
- Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values: enabled,disabledor empty string.
- cpuManufacturers List<String>
- List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- customPriorities List<NodeTemplate Constraints Custom Priority> 
- customerSpecific String
- Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- dedicatedNode List<NodeAffinities Template Constraints Dedicated Node Affinity> 
- Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enableSpot BooleanDiversity 
- Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallbackRestore DoubleRate Seconds 
- Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gpu
NodeTemplate Constraints Gpu 
- instanceFamilies NodeTemplate Constraints Instance Families 
- isGpu BooleanOnly 
- GPU instance constraint - will only pick nodes with GPU if true
- maxCpu Double
- Max CPU cores per node.
- maxMemory Double
- Max Memory (Mib) per node.
- minCpu Double
- Min CPU cores per node.
- minMemory Double
- Min Memory (Mib) per node.
- onDemand Boolean
- Should include on-demand instances in the considered pool.
- os List<String>
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resourceLimits NodeTemplate Constraints Resource Limits 
- spot Boolean
- Should include spot instances in the considered pool.
- spotDiversity DoublePrice Increase Limit Percent 
- Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spotInterruption BooleanPredictions Enabled 
- Enable/disable spot interruption predictions.
- spotInterruption StringPredictions Type 
- Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- storageOptimized Boolean
- Storage optimized instance constraint (deprecated).
- storageOptimized StringState 
- Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values: enabled,disabledor empty string.
- useSpot BooleanFallbacks 
- Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecturePriorities string[]
- Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures string[]
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- azs string[]
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- burstableInstances string
- Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- computeOptimized boolean
- Compute optimized instance constraint (deprecated).
- computeOptimized stringState 
- Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values: enabled,disabledor empty string.
- cpuManufacturers string[]
- List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- customPriorities NodeTemplate Constraints Custom Priority[] 
- customerSpecific string
- Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- dedicatedNode NodeAffinities Template Constraints Dedicated Node Affinity[] 
- Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enableSpot booleanDiversity 
- Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallbackRestore numberRate Seconds 
- Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gpu
NodeTemplate Constraints Gpu 
- instanceFamilies NodeTemplate Constraints Instance Families 
- isGpu booleanOnly 
- GPU instance constraint - will only pick nodes with GPU if true
- maxCpu number
- Max CPU cores per node.
- maxMemory number
- Max Memory (Mib) per node.
- minCpu number
- Min CPU cores per node.
- minMemory number
- Min Memory (Mib) per node.
- onDemand boolean
- Should include on-demand instances in the considered pool.
- os string[]
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resourceLimits NodeTemplate Constraints Resource Limits 
- spot boolean
- Should include spot instances in the considered pool.
- spotDiversity numberPrice Increase Limit Percent 
- Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spotInterruption booleanPredictions Enabled 
- Enable/disable spot interruption predictions.
- spotInterruption stringPredictions Type 
- Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- storageOptimized boolean
- Storage optimized instance constraint (deprecated).
- storageOptimized stringState 
- Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values: enabled,disabledor empty string.
- useSpot booleanFallbacks 
- Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecture_priorities Sequence[str]
- Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures Sequence[str]
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- azs Sequence[str]
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- burstable_instances str
- Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- compute_optimized bool
- Compute optimized instance constraint (deprecated).
- compute_optimized_ strstate 
- Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values: enabled,disabledor empty string.
- cpu_manufacturers Sequence[str]
- List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- custom_priorities Sequence[NodeTemplate Constraints Custom Priority] 
- customer_specific str
- Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- dedicated_node_ Sequence[Nodeaffinities Template Constraints Dedicated Node Affinity] 
- Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enable_spot_ booldiversity 
- Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallback_restore_ floatrate_ seconds 
- Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gpu
NodeTemplate Constraints Gpu 
- instance_families NodeTemplate Constraints Instance Families 
- is_gpu_ boolonly 
- GPU instance constraint - will only pick nodes with GPU if true
- max_cpu float
- Max CPU cores per node.
- max_memory float
- Max Memory (Mib) per node.
- min_cpu float
- Min CPU cores per node.
- min_memory float
- Min Memory (Mib) per node.
- on_demand bool
- Should include on-demand instances in the considered pool.
- os Sequence[str]
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resource_limits NodeTemplate Constraints Resource Limits 
- spot bool
- Should include spot instances in the considered pool.
- spot_diversity_ floatprice_ increase_ limit_ percent 
- Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spot_interruption_ boolpredictions_ enabled 
- Enable/disable spot interruption predictions.
- spot_interruption_ strpredictions_ type 
- Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- storage_optimized bool
- Storage optimized instance constraint (deprecated).
- storage_optimized_ strstate 
- Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values: enabled,disabledor empty string.
- use_spot_ boolfallbacks 
- Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
- architecturePriorities List<String>
- Priority ordering of architectures, specifying no priority will pick cheapest. Allowed values: amd64, arm64.
- architectures List<String>
- List of acceptable instance CPU architectures, the default is amd64. Allowed values: amd64, arm64.
- azs List<String>
- The list of AZ names to consider for the node template, if empty or not set all AZs are considered.
- burstableInstances String
- Will include burstable instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- computeOptimized Boolean
- Compute optimized instance constraint (deprecated).
- computeOptimized StringState 
- Will only include compute optimized nodes when enabled and exclude compute optimized nodes when disabled. Empty value won't have effect on instances filter. Supported values: enabled,disabledor empty string.
- cpuManufacturers List<String>
- List of acceptable CPU manufacturers. Allowed values: AMD, AMPERE, APPLE, AWS, INTEL.
- customPriorities List<Property Map>
- customerSpecific String
- Will include customer specific (preview) instances when enabled otherwise they will be excluded. Supported values: enabled,disabledor ``.
- dedicatedNode List<Property Map>Affinities 
- Dedicated node affinity - creates preference for instances to be created on sole tenancy or dedicated nodes. This feature is only available for GCP clusters and sole tenancy nodes with local SSDs or GPUs are not supported. If the sole tenancy or dedicated nodes don't have capacity for selected instance type, the Autoscaler will fall back to multi-tenant instance types available for this Node Template. Other instance constraints are applied when the Autoscaler picks available instance types that can be created on the sole tenancy or dedicated node (example: setting min CPU to 16).
- enableSpot BooleanDiversity 
- Enable/disable spot diversity policy. When enabled, autoscaler will try to balance between diverse and cost optimal instance types.
- fallbackRestore NumberRate Seconds 
- Fallback restore rate in seconds: defines how much time should pass before spot fallback should be attempted to be restored to real spot.
- gpu Property Map
- instanceFamilies Property Map
- isGpu BooleanOnly 
- GPU instance constraint - will only pick nodes with GPU if true
- maxCpu Number
- Max CPU cores per node.
- maxMemory Number
- Max Memory (Mib) per node.
- minCpu Number
- Min CPU cores per node.
- minMemory Number
- Min Memory (Mib) per node.
- onDemand Boolean
- Should include on-demand instances in the considered pool.
- os List<String>
- List of acceptable instance Operating Systems, the default is linux. Allowed values: linux, windows.
- resourceLimits Property Map
- spot Boolean
- Should include spot instances in the considered pool.
- spotDiversity NumberPrice Increase Limit Percent 
- Allowed node configuration price increase when diversifying instance types. E.g. if the value is 10%, then the overall price of diversified instance types can be 10% higher than the price of the optimal configuration.
- spotInterruption BooleanPredictions Enabled 
- Enable/disable spot interruption predictions.
- spotInterruption StringPredictions Type 
- Spot interruption predictions type. Can be either "aws-rebalance-recommendations" or "interruption-predictions".
- storageOptimized Boolean
- Storage optimized instance constraint (deprecated).
- storageOptimized StringState 
- Storage optimized instance constraint - will only pick storage optimized nodes if enabled and won't pick if disabled. Empty value will have no effect. Supported values: enabled,disabledor empty string.
- useSpot BooleanFallbacks 
- Spot instance fallback constraint - when true, on-demand instances will be created, when spots are unavailable.
NodeTemplateConstraintsCustomPriority, NodeTemplateConstraintsCustomPriorityArgs          
- InstanceFamilies List<string>
- Instance families to prioritize in this tier.
- OnDemand bool
- If true, this tier will apply to on-demand instances.
- Spot bool
- If true, this tier will apply to spot instances.
- InstanceFamilies []string
- Instance families to prioritize in this tier.
- OnDemand bool
- If true, this tier will apply to on-demand instances.
- Spot bool
- If true, this tier will apply to spot instances.
- instanceFamilies List<String>
- Instance families to prioritize in this tier.
- onDemand Boolean
- If true, this tier will apply to on-demand instances.
- spot Boolean
- If true, this tier will apply to spot instances.
- instanceFamilies string[]
- Instance families to prioritize in this tier.
- onDemand boolean
- If true, this tier will apply to on-demand instances.
- spot boolean
- If true, this tier will apply to spot instances.
- instance_families Sequence[str]
- Instance families to prioritize in this tier.
- on_demand bool
- If true, this tier will apply to on-demand instances.
- spot bool
- If true, this tier will apply to spot instances.
- instanceFamilies List<String>
- Instance families to prioritize in this tier.
- onDemand Boolean
- If true, this tier will apply to on-demand instances.
- spot Boolean
- If true, this tier will apply to spot instances.
NodeTemplateConstraintsDedicatedNodeAffinity, NodeTemplateConstraintsDedicatedNodeAffinityArgs            
- AzName string
- Availability zone name.
- InstanceTypes List<string>
- Instance/node types in this node group.
- Name string
- Name of node group.
- Affinities
List<NodeTemplate Constraints Dedicated Node Affinity Affinity> 
- AzName string
- Availability zone name.
- InstanceTypes []string
- Instance/node types in this node group.
- Name string
- Name of node group.
- Affinities
[]NodeTemplate Constraints Dedicated Node Affinity Affinity 
- azName String
- Availability zone name.
- instanceTypes List<String>
- Instance/node types in this node group.
- name String
- Name of node group.
- affinities
List<NodeTemplate Constraints Dedicated Node Affinity Affinity> 
- azName string
- Availability zone name.
- instanceTypes string[]
- Instance/node types in this node group.
- name string
- Name of node group.
- affinities
NodeTemplate Constraints Dedicated Node Affinity Affinity[] 
- az_name str
- Availability zone name.
- instance_types Sequence[str]
- Instance/node types in this node group.
- name str
- Name of node group.
- affinities
Sequence[NodeTemplate Constraints Dedicated Node Affinity Affinity] 
- azName String
- Availability zone name.
- instanceTypes List<String>
- Instance/node types in this node group.
- name String
- Name of node group.
- affinities List<Property Map>
NodeTemplateConstraintsDedicatedNodeAffinityAffinity, NodeTemplateConstraintsDedicatedNodeAffinityAffinityArgs              
NodeTemplateConstraintsGpu, NodeTemplateConstraintsGpuArgs        
- ExcludeNames List<string>
- Names of the GPUs to exclude.
- IncludeNames List<string>
- Instance families to include when filtering (excludes all other families).
- Manufacturers List<string>
- Manufacturers of the gpus to select - NVIDIA, AMD.
- MaxCount double
- Max GPU count for the instance type to have.
- MinCount double
- Min GPU count for the instance type to have.
- ExcludeNames []string
- Names of the GPUs to exclude.
- IncludeNames []string
- Instance families to include when filtering (excludes all other families).
- Manufacturers []string
- Manufacturers of the gpus to select - NVIDIA, AMD.
- MaxCount float64
- Max GPU count for the instance type to have.
- MinCount float64
- Min GPU count for the instance type to have.
- excludeNames List<String>
- Names of the GPUs to exclude.
- includeNames List<String>
- Instance families to include when filtering (excludes all other families).
- manufacturers List<String>
- Manufacturers of the gpus to select - NVIDIA, AMD.
- maxCount Double
- Max GPU count for the instance type to have.
- minCount Double
- Min GPU count for the instance type to have.
- excludeNames string[]
- Names of the GPUs to exclude.
- includeNames string[]
- Instance families to include when filtering (excludes all other families).
- manufacturers string[]
- Manufacturers of the gpus to select - NVIDIA, AMD.
- maxCount number
- Max GPU count for the instance type to have.
- minCount number
- Min GPU count for the instance type to have.
- exclude_names Sequence[str]
- Names of the GPUs to exclude.
- include_names Sequence[str]
- Instance families to include when filtering (excludes all other families).
- manufacturers Sequence[str]
- Manufacturers of the gpus to select - NVIDIA, AMD.
- max_count float
- Max GPU count for the instance type to have.
- min_count float
- Min GPU count for the instance type to have.
- excludeNames List<String>
- Names of the GPUs to exclude.
- includeNames List<String>
- Instance families to include when filtering (excludes all other families).
- manufacturers List<String>
- Manufacturers of the gpus to select - NVIDIA, AMD.
- maxCount Number
- Max GPU count for the instance type to have.
- minCount Number
- Min GPU count for the instance type to have.
NodeTemplateConstraintsInstanceFamilies, NodeTemplateConstraintsInstanceFamiliesArgs          
NodeTemplateConstraintsResourceLimits, NodeTemplateConstraintsResourceLimitsArgs          
- CpuLimit boolEnabled 
- Controls CPU limit enforcement for the node template.
- CpuLimit doubleMax Cores 
- Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- CpuLimit boolEnabled 
- Controls CPU limit enforcement for the node template.
- CpuLimit float64Max Cores 
- Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpuLimit BooleanEnabled 
- Controls CPU limit enforcement for the node template.
- cpuLimit DoubleMax Cores 
- Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpuLimit booleanEnabled 
- Controls CPU limit enforcement for the node template.
- cpuLimit numberMax Cores 
- Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpu_limit_ boolenabled 
- Controls CPU limit enforcement for the node template.
- cpu_limit_ floatmax_ cores 
- Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
- cpuLimit BooleanEnabled 
- Controls CPU limit enforcement for the node template.
- cpuLimit NumberMax Cores 
- Specifies the maximum number of CPU cores that the nodes provisioned from this template can collectively have.
NodeTemplateCustomTaint, NodeTemplateCustomTaintArgs        
NodeTemplateTimeouts, NodeTemplateTimeoutsArgs      
Import
Import node template by specifying cluster ID and node template name.
$ pulumi import castai:index/nodeTemplate:NodeTemplate default_by_castai 105e6fa3-20b1-424e-v589-9a64d1eeabea/default-by-castai
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- castai castai/terraform-provider-castai
- License
- Notes
- This Pulumi package is based on the castaiTerraform Provider.