1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ContainerEngine
  5. NodePool
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.ContainerEngine.NodePool

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Node Pool resource in Oracle Cloud Infrastructure Container Engine service.

    Create a new node pool.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNodePool = new oci.containerengine.NodePool("testNodePool", {
        clusterId: oci_containerengine_cluster.test_cluster.id,
        compartmentId: _var.compartment_id,
        nodeShape: _var.node_pool_node_shape,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
        initialNodeLabels: [{
            key: _var.node_pool_initial_node_labels_key,
            value: _var.node_pool_initial_node_labels_value,
        }],
        kubernetesVersion: _var.node_pool_kubernetes_version,
        nodeConfigDetails: {
            placementConfigs: [{
                availabilityDomain: _var.node_pool_node_config_details_placement_configs_availability_domain,
                subnetId: oci_core_subnet.test_subnet.id,
                capacityReservationId: oci_containerengine_capacity_reservation.test_capacity_reservation.id,
                faultDomains: _var.node_pool_node_config_details_placement_configs_fault_domains,
                preemptibleNodeConfig: {
                    preemptionAction: {
                        type: _var.node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type,
                        isPreserveBootVolume: _var.node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume,
                    },
                },
            }],
            size: _var.node_pool_node_config_details_size,
            isPvEncryptionInTransitEnabled: _var.node_pool_node_config_details_is_pv_encryption_in_transit_enabled,
            kmsKeyId: oci_kms_key.test_key.id,
            nodePoolPodNetworkOptionDetails: {
                cniType: _var.node_pool_node_config_details_node_pool_pod_network_option_details_cni_type,
                maxPodsPerNode: _var.node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node,
                podNsgIds: _var.node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids,
                podSubnetIds: _var.node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids,
            },
            definedTags: {
                "Operations.CostCenter": "42",
            },
            freeformTags: {
                Department: "Finance",
            },
            nsgIds: _var.node_pool_node_config_details_nsg_ids,
        },
        nodeEvictionNodePoolSettings: {
            evictionGraceDuration: _var.node_pool_node_eviction_node_pool_settings_eviction_grace_duration,
            isForceDeleteAfterGraceDuration: _var.node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration,
        },
        nodeImageName: oci_core_image.test_image.name,
        nodeMetadata: _var.node_pool_node_metadata,
        nodePoolCyclingDetails: {
            isNodeCyclingEnabled: _var.node_pool_node_pool_cycling_details_is_node_cycling_enabled,
            maximumSurge: _var.node_pool_node_pool_cycling_details_maximum_surge,
            maximumUnavailable: _var.node_pool_node_pool_cycling_details_maximum_unavailable,
        },
        nodeShapeConfig: {
            memoryInGbs: _var.node_pool_node_shape_config_memory_in_gbs,
            ocpus: _var.node_pool_node_shape_config_ocpus,
        },
        nodeSourceDetails: {
            imageId: oci_core_image.test_image.id,
            sourceType: _var.node_pool_node_source_details_source_type,
            bootVolumeSizeInGbs: _var.node_pool_node_source_details_boot_volume_size_in_gbs,
        },
        quantityPerSubnet: _var.node_pool_quantity_per_subnet,
        sshPublicKey: _var.node_pool_ssh_public_key,
        subnetIds: _var.node_pool_subnet_ids,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_node_pool = oci.container_engine.NodePool("testNodePool",
        cluster_id=oci_containerengine_cluster["test_cluster"]["id"],
        compartment_id=var["compartment_id"],
        node_shape=var["node_pool_node_shape"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        },
        initial_node_labels=[oci.container_engine.NodePoolInitialNodeLabelArgs(
            key=var["node_pool_initial_node_labels_key"],
            value=var["node_pool_initial_node_labels_value"],
        )],
        kubernetes_version=var["node_pool_kubernetes_version"],
        node_config_details=oci.container_engine.NodePoolNodeConfigDetailsArgs(
            placement_configs=[oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigArgs(
                availability_domain=var["node_pool_node_config_details_placement_configs_availability_domain"],
                subnet_id=oci_core_subnet["test_subnet"]["id"],
                capacity_reservation_id=oci_containerengine_capacity_reservation["test_capacity_reservation"]["id"],
                fault_domains=var["node_pool_node_config_details_placement_configs_fault_domains"],
                preemptible_node_config=oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs(
                    preemption_action=oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs(
                        type=var["node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type"],
                        is_preserve_boot_volume=var["node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume"],
                    ),
                ),
            )],
            size=var["node_pool_node_config_details_size"],
            is_pv_encryption_in_transit_enabled=var["node_pool_node_config_details_is_pv_encryption_in_transit_enabled"],
            kms_key_id=oci_kms_key["test_key"]["id"],
            node_pool_pod_network_option_details=oci.container_engine.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs(
                cni_type=var["node_pool_node_config_details_node_pool_pod_network_option_details_cni_type"],
                max_pods_per_node=var["node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node"],
                pod_nsg_ids=var["node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids"],
                pod_subnet_ids=var["node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids"],
            ),
            defined_tags={
                "Operations.CostCenter": "42",
            },
            freeform_tags={
                "Department": "Finance",
            },
            nsg_ids=var["node_pool_node_config_details_nsg_ids"],
        ),
        node_eviction_node_pool_settings=oci.container_engine.NodePoolNodeEvictionNodePoolSettingsArgs(
            eviction_grace_duration=var["node_pool_node_eviction_node_pool_settings_eviction_grace_duration"],
            is_force_delete_after_grace_duration=var["node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration"],
        ),
        node_image_name=oci_core_image["test_image"]["name"],
        node_metadata=var["node_pool_node_metadata"],
        node_pool_cycling_details=oci.container_engine.NodePoolNodePoolCyclingDetailsArgs(
            is_node_cycling_enabled=var["node_pool_node_pool_cycling_details_is_node_cycling_enabled"],
            maximum_surge=var["node_pool_node_pool_cycling_details_maximum_surge"],
            maximum_unavailable=var["node_pool_node_pool_cycling_details_maximum_unavailable"],
        ),
        node_shape_config=oci.container_engine.NodePoolNodeShapeConfigArgs(
            memory_in_gbs=var["node_pool_node_shape_config_memory_in_gbs"],
            ocpus=var["node_pool_node_shape_config_ocpus"],
        ),
        node_source_details=oci.container_engine.NodePoolNodeSourceDetailsArgs(
            image_id=oci_core_image["test_image"]["id"],
            source_type=var["node_pool_node_source_details_source_type"],
            boot_volume_size_in_gbs=var["node_pool_node_source_details_boot_volume_size_in_gbs"],
        ),
        quantity_per_subnet=var["node_pool_quantity_per_subnet"],
        ssh_public_key=var["node_pool_ssh_public_key"],
        subnet_ids=var["node_pool_subnet_ids"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/ContainerEngine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ContainerEngine.NewNodePool(ctx, "testNodePool", &ContainerEngine.NodePoolArgs{
    			ClusterId:     pulumi.Any(oci_containerengine_cluster.Test_cluster.Id),
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			NodeShape:     pulumi.Any(_var.Node_pool_node_shape),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			InitialNodeLabels: containerengine.NodePoolInitialNodeLabelArray{
    				&containerengine.NodePoolInitialNodeLabelArgs{
    					Key:   pulumi.Any(_var.Node_pool_initial_node_labels_key),
    					Value: pulumi.Any(_var.Node_pool_initial_node_labels_value),
    				},
    			},
    			KubernetesVersion: pulumi.Any(_var.Node_pool_kubernetes_version),
    			NodeConfigDetails: &containerengine.NodePoolNodeConfigDetailsArgs{
    				PlacementConfigs: containerengine.NodePoolNodeConfigDetailsPlacementConfigArray{
    					&containerengine.NodePoolNodeConfigDetailsPlacementConfigArgs{
    						AvailabilityDomain:    pulumi.Any(_var.Node_pool_node_config_details_placement_configs_availability_domain),
    						SubnetId:              pulumi.Any(oci_core_subnet.Test_subnet.Id),
    						CapacityReservationId: pulumi.Any(oci_containerengine_capacity_reservation.Test_capacity_reservation.Id),
    						FaultDomains:          pulumi.Any(_var.Node_pool_node_config_details_placement_configs_fault_domains),
    						PreemptibleNodeConfig: &containerengine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs{
    							PreemptionAction: &containerengine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs{
    								Type:                 pulumi.Any(_var.Node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type),
    								IsPreserveBootVolume: pulumi.Any(_var.Node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume),
    							},
    						},
    					},
    				},
    				Size:                           pulumi.Any(_var.Node_pool_node_config_details_size),
    				IsPvEncryptionInTransitEnabled: pulumi.Any(_var.Node_pool_node_config_details_is_pv_encryption_in_transit_enabled),
    				KmsKeyId:                       pulumi.Any(oci_kms_key.Test_key.Id),
    				NodePoolPodNetworkOptionDetails: &containerengine.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs{
    					CniType:        pulumi.Any(_var.Node_pool_node_config_details_node_pool_pod_network_option_details_cni_type),
    					MaxPodsPerNode: pulumi.Any(_var.Node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node),
    					PodNsgIds:      pulumi.Any(_var.Node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids),
    					PodSubnetIds:   pulumi.Any(_var.Node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids),
    				},
    				DefinedTags: pulumi.Map{
    					"Operations.CostCenter": pulumi.Any("42"),
    				},
    				FreeformTags: pulumi.Map{
    					"Department": pulumi.Any("Finance"),
    				},
    				NsgIds: pulumi.Any(_var.Node_pool_node_config_details_nsg_ids),
    			},
    			NodeEvictionNodePoolSettings: &containerengine.NodePoolNodeEvictionNodePoolSettingsArgs{
    				EvictionGraceDuration:           pulumi.Any(_var.Node_pool_node_eviction_node_pool_settings_eviction_grace_duration),
    				IsForceDeleteAfterGraceDuration: pulumi.Any(_var.Node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration),
    			},
    			NodeImageName: pulumi.Any(oci_core_image.Test_image.Name),
    			NodeMetadata:  pulumi.Any(_var.Node_pool_node_metadata),
    			NodePoolCyclingDetails: &containerengine.NodePoolNodePoolCyclingDetailsArgs{
    				IsNodeCyclingEnabled: pulumi.Any(_var.Node_pool_node_pool_cycling_details_is_node_cycling_enabled),
    				MaximumSurge:         pulumi.Any(_var.Node_pool_node_pool_cycling_details_maximum_surge),
    				MaximumUnavailable:   pulumi.Any(_var.Node_pool_node_pool_cycling_details_maximum_unavailable),
    			},
    			NodeShapeConfig: &containerengine.NodePoolNodeShapeConfigArgs{
    				MemoryInGbs: pulumi.Any(_var.Node_pool_node_shape_config_memory_in_gbs),
    				Ocpus:       pulumi.Any(_var.Node_pool_node_shape_config_ocpus),
    			},
    			NodeSourceDetails: &containerengine.NodePoolNodeSourceDetailsArgs{
    				ImageId:             pulumi.Any(oci_core_image.Test_image.Id),
    				SourceType:          pulumi.Any(_var.Node_pool_node_source_details_source_type),
    				BootVolumeSizeInGbs: pulumi.Any(_var.Node_pool_node_source_details_boot_volume_size_in_gbs),
    			},
    			QuantityPerSubnet: pulumi.Any(_var.Node_pool_quantity_per_subnet),
    			SshPublicKey:      pulumi.Any(_var.Node_pool_ssh_public_key),
    			SubnetIds:         pulumi.Any(_var.Node_pool_subnet_ids),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testNodePool = new Oci.ContainerEngine.NodePool("testNodePool", new()
        {
            ClusterId = oci_containerengine_cluster.Test_cluster.Id,
            CompartmentId = @var.Compartment_id,
            NodeShape = @var.Node_pool_node_shape,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            InitialNodeLabels = new[]
            {
                new Oci.ContainerEngine.Inputs.NodePoolInitialNodeLabelArgs
                {
                    Key = @var.Node_pool_initial_node_labels_key,
                    Value = @var.Node_pool_initial_node_labels_value,
                },
            },
            KubernetesVersion = @var.Node_pool_kubernetes_version,
            NodeConfigDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsArgs
            {
                PlacementConfigs = new[]
                {
                    new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigArgs
                    {
                        AvailabilityDomain = @var.Node_pool_node_config_details_placement_configs_availability_domain,
                        SubnetId = oci_core_subnet.Test_subnet.Id,
                        CapacityReservationId = oci_containerengine_capacity_reservation.Test_capacity_reservation.Id,
                        FaultDomains = @var.Node_pool_node_config_details_placement_configs_fault_domains,
                        PreemptibleNodeConfig = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs
                        {
                            PreemptionAction = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs
                            {
                                Type = @var.Node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type,
                                IsPreserveBootVolume = @var.Node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume,
                            },
                        },
                    },
                },
                Size = @var.Node_pool_node_config_details_size,
                IsPvEncryptionInTransitEnabled = @var.Node_pool_node_config_details_is_pv_encryption_in_transit_enabled,
                KmsKeyId = oci_kms_key.Test_key.Id,
                NodePoolPodNetworkOptionDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs
                {
                    CniType = @var.Node_pool_node_config_details_node_pool_pod_network_option_details_cni_type,
                    MaxPodsPerNode = @var.Node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node,
                    PodNsgIds = @var.Node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids,
                    PodSubnetIds = @var.Node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids,
                },
                DefinedTags = 
                {
                    { "Operations.CostCenter", "42" },
                },
                FreeformTags = 
                {
                    { "Department", "Finance" },
                },
                NsgIds = @var.Node_pool_node_config_details_nsg_ids,
            },
            NodeEvictionNodePoolSettings = new Oci.ContainerEngine.Inputs.NodePoolNodeEvictionNodePoolSettingsArgs
            {
                EvictionGraceDuration = @var.Node_pool_node_eviction_node_pool_settings_eviction_grace_duration,
                IsForceDeleteAfterGraceDuration = @var.Node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration,
            },
            NodeImageName = oci_core_image.Test_image.Name,
            NodeMetadata = @var.Node_pool_node_metadata,
            NodePoolCyclingDetails = new Oci.ContainerEngine.Inputs.NodePoolNodePoolCyclingDetailsArgs
            {
                IsNodeCyclingEnabled = @var.Node_pool_node_pool_cycling_details_is_node_cycling_enabled,
                MaximumSurge = @var.Node_pool_node_pool_cycling_details_maximum_surge,
                MaximumUnavailable = @var.Node_pool_node_pool_cycling_details_maximum_unavailable,
            },
            NodeShapeConfig = new Oci.ContainerEngine.Inputs.NodePoolNodeShapeConfigArgs
            {
                MemoryInGbs = @var.Node_pool_node_shape_config_memory_in_gbs,
                Ocpus = @var.Node_pool_node_shape_config_ocpus,
            },
            NodeSourceDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeSourceDetailsArgs
            {
                ImageId = oci_core_image.Test_image.Id,
                SourceType = @var.Node_pool_node_source_details_source_type,
                BootVolumeSizeInGbs = @var.Node_pool_node_source_details_boot_volume_size_in_gbs,
            },
            QuantityPerSubnet = @var.Node_pool_quantity_per_subnet,
            SshPublicKey = @var.Node_pool_ssh_public_key,
            SubnetIds = @var.Node_pool_subnet_ids,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ContainerEngine.NodePool;
    import com.pulumi.oci.ContainerEngine.NodePoolArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolInitialNodeLabelArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolNodeConfigDetailsArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolNodeEvictionNodePoolSettingsArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolNodePoolCyclingDetailsArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolNodeShapeConfigArgs;
    import com.pulumi.oci.ContainerEngine.inputs.NodePoolNodeSourceDetailsArgs;
    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 testNodePool = new NodePool("testNodePool", NodePoolArgs.builder()        
                .clusterId(oci_containerengine_cluster.test_cluster().id())
                .compartmentId(var_.compartment_id())
                .nodeShape(var_.node_pool_node_shape())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .initialNodeLabels(NodePoolInitialNodeLabelArgs.builder()
                    .key(var_.node_pool_initial_node_labels_key())
                    .value(var_.node_pool_initial_node_labels_value())
                    .build())
                .kubernetesVersion(var_.node_pool_kubernetes_version())
                .nodeConfigDetails(NodePoolNodeConfigDetailsArgs.builder()
                    .placementConfigs(NodePoolNodeConfigDetailsPlacementConfigArgs.builder()
                        .availabilityDomain(var_.node_pool_node_config_details_placement_configs_availability_domain())
                        .subnetId(oci_core_subnet.test_subnet().id())
                        .capacityReservationId(oci_containerengine_capacity_reservation.test_capacity_reservation().id())
                        .faultDomains(var_.node_pool_node_config_details_placement_configs_fault_domains())
                        .preemptibleNodeConfig(NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs.builder()
                            .preemptionAction(NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs.builder()
                                .type(var_.node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type())
                                .isPreserveBootVolume(var_.node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume())
                                .build())
                            .build())
                        .build())
                    .size(var_.node_pool_node_config_details_size())
                    .isPvEncryptionInTransitEnabled(var_.node_pool_node_config_details_is_pv_encryption_in_transit_enabled())
                    .kmsKeyId(oci_kms_key.test_key().id())
                    .nodePoolPodNetworkOptionDetails(NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs.builder()
                        .cniType(var_.node_pool_node_config_details_node_pool_pod_network_option_details_cni_type())
                        .maxPodsPerNode(var_.node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node())
                        .podNsgIds(var_.node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids())
                        .podSubnetIds(var_.node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids())
                        .build())
                    .definedTags(Map.of("Operations.CostCenter", "42"))
                    .freeformTags(Map.of("Department", "Finance"))
                    .nsgIds(var_.node_pool_node_config_details_nsg_ids())
                    .build())
                .nodeEvictionNodePoolSettings(NodePoolNodeEvictionNodePoolSettingsArgs.builder()
                    .evictionGraceDuration(var_.node_pool_node_eviction_node_pool_settings_eviction_grace_duration())
                    .isForceDeleteAfterGraceDuration(var_.node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration())
                    .build())
                .nodeImageName(oci_core_image.test_image().name())
                .nodeMetadata(var_.node_pool_node_metadata())
                .nodePoolCyclingDetails(NodePoolNodePoolCyclingDetailsArgs.builder()
                    .isNodeCyclingEnabled(var_.node_pool_node_pool_cycling_details_is_node_cycling_enabled())
                    .maximumSurge(var_.node_pool_node_pool_cycling_details_maximum_surge())
                    .maximumUnavailable(var_.node_pool_node_pool_cycling_details_maximum_unavailable())
                    .build())
                .nodeShapeConfig(NodePoolNodeShapeConfigArgs.builder()
                    .memoryInGbs(var_.node_pool_node_shape_config_memory_in_gbs())
                    .ocpus(var_.node_pool_node_shape_config_ocpus())
                    .build())
                .nodeSourceDetails(NodePoolNodeSourceDetailsArgs.builder()
                    .imageId(oci_core_image.test_image().id())
                    .sourceType(var_.node_pool_node_source_details_source_type())
                    .bootVolumeSizeInGbs(var_.node_pool_node_source_details_boot_volume_size_in_gbs())
                    .build())
                .quantityPerSubnet(var_.node_pool_quantity_per_subnet())
                .sshPublicKey(var_.node_pool_ssh_public_key())
                .subnetIds(var_.node_pool_subnet_ids())
                .build());
    
        }
    }
    
    resources:
      testNodePool:
        type: oci:ContainerEngine:NodePool
        properties:
          #Required
          clusterId: ${oci_containerengine_cluster.test_cluster.id}
          compartmentId: ${var.compartment_id}
          nodeShape: ${var.node_pool_node_shape}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
          initialNodeLabels:
            - key: ${var.node_pool_initial_node_labels_key}
              value: ${var.node_pool_initial_node_labels_value}
          kubernetesVersion: ${var.node_pool_kubernetes_version}
          nodeConfigDetails:
            placementConfigs:
              - availabilityDomain: ${var.node_pool_node_config_details_placement_configs_availability_domain}
                subnetId: ${oci_core_subnet.test_subnet.id}
                capacityReservationId: ${oci_containerengine_capacity_reservation.test_capacity_reservation.id}
                faultDomains: ${var.node_pool_node_config_details_placement_configs_fault_domains}
                preemptibleNodeConfig:
                  preemptionAction:
                    type: ${var.node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type}
                    isPreserveBootVolume: ${var.node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume}
            size: ${var.node_pool_node_config_details_size}
            isPvEncryptionInTransitEnabled: ${var.node_pool_node_config_details_is_pv_encryption_in_transit_enabled}
            kmsKeyId: ${oci_kms_key.test_key.id}
            nodePoolPodNetworkOptionDetails:
              cniType: ${var.node_pool_node_config_details_node_pool_pod_network_option_details_cni_type}
              maxPodsPerNode: ${var.node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node}
              podNsgIds: ${var.node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids}
              podSubnetIds: ${var.node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids}
            definedTags:
              Operations.CostCenter: '42'
            freeformTags:
              Department: Finance
            nsgIds: ${var.node_pool_node_config_details_nsg_ids}
          nodeEvictionNodePoolSettings:
            evictionGraceDuration: ${var.node_pool_node_eviction_node_pool_settings_eviction_grace_duration}
            isForceDeleteAfterGraceDuration: ${var.node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration}
          nodeImageName: ${oci_core_image.test_image.name}
          nodeMetadata: ${var.node_pool_node_metadata}
          nodePoolCyclingDetails:
            isNodeCyclingEnabled: ${var.node_pool_node_pool_cycling_details_is_node_cycling_enabled}
            maximumSurge: ${var.node_pool_node_pool_cycling_details_maximum_surge}
            maximumUnavailable: ${var.node_pool_node_pool_cycling_details_maximum_unavailable}
          nodeShapeConfig:
            memoryInGbs: ${var.node_pool_node_shape_config_memory_in_gbs}
            ocpus: ${var.node_pool_node_shape_config_ocpus}
          nodeSourceDetails:
            imageId: ${oci_core_image.test_image.id}
            sourceType: ${var.node_pool_node_source_details_source_type}
            bootVolumeSizeInGbs: ${var.node_pool_node_source_details_boot_volume_size_in_gbs}
          quantityPerSubnet: ${var.node_pool_quantity_per_subnet}
          sshPublicKey: ${var.node_pool_ssh_public_key}
          subnetIds: ${var.node_pool_subnet_ids}
    

    Create NodePool Resource

    new NodePool(name: string, args: NodePoolArgs, opts?: CustomResourceOptions);
    @overload
    def NodePool(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 cluster_id: Optional[str] = None,
                 compartment_id: Optional[str] = None,
                 defined_tags: Optional[Mapping[str, Any]] = None,
                 freeform_tags: Optional[Mapping[str, Any]] = None,
                 initial_node_labels: Optional[Sequence[_containerengine.NodePoolInitialNodeLabelArgs]] = None,
                 kubernetes_version: Optional[str] = None,
                 name: Optional[str] = None,
                 node_config_details: Optional[_containerengine.NodePoolNodeConfigDetailsArgs] = None,
                 node_eviction_node_pool_settings: Optional[_containerengine.NodePoolNodeEvictionNodePoolSettingsArgs] = None,
                 node_image_id: Optional[str] = None,
                 node_image_name: Optional[str] = None,
                 node_metadata: Optional[Mapping[str, Any]] = None,
                 node_pool_cycling_details: Optional[_containerengine.NodePoolNodePoolCyclingDetailsArgs] = None,
                 node_shape: Optional[str] = None,
                 node_shape_config: Optional[_containerengine.NodePoolNodeShapeConfigArgs] = None,
                 node_source_details: Optional[_containerengine.NodePoolNodeSourceDetailsArgs] = None,
                 quantity_per_subnet: Optional[int] = None,
                 ssh_public_key: Optional[str] = None,
                 subnet_ids: Optional[Sequence[str]] = None)
    @overload
    def NodePool(resource_name: str,
                 args: NodePoolArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewNodePool(ctx *Context, name string, args NodePoolArgs, opts ...ResourceOption) (*NodePool, error)
    public NodePool(string name, NodePoolArgs args, CustomResourceOptions? opts = null)
    public NodePool(String name, NodePoolArgs args)
    public NodePool(String name, NodePoolArgs args, CustomResourceOptions options)
    
    type: oci:ContainerEngine:NodePool
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args NodePoolArgs
    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 NodePoolArgs
    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 NodePoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NodePoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    NodePool 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 NodePool resource accepts the following input properties:

    ClusterId string
    The OCID of the cluster to which this node pool is attached.
    CompartmentId string
    The OCID of the compartment in which the node pool exists.
    NodeShape string
    (Updatable) The name of the node shape of the nodes in the node pool.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InitialNodeLabels List<NodePoolInitialNodeLabel>
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    KubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    Name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    NodeConfigDetails NodePoolNodeConfigDetails
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    NodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettings
    (Updatable) Node Eviction Details configuration
    NodeImageId string
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeImageName string
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeMetadata Dictionary<string, object>
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    NodePoolCyclingDetails NodePoolNodePoolCyclingDetails
    (Updatable) Node Pool Cycling Details
    NodeShapeConfig NodePoolNodeShapeConfig
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    NodeSourceDetails NodePoolNodeSourceDetails
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    QuantityPerSubnet int
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    SshPublicKey string
    (Updatable) The SSH public key on each node in the node pool on launch.
    SubnetIds List<string>

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ClusterId string
    The OCID of the cluster to which this node pool is attached.
    CompartmentId string
    The OCID of the compartment in which the node pool exists.
    NodeShape string
    (Updatable) The name of the node shape of the nodes in the node pool.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InitialNodeLabels []NodePoolInitialNodeLabelArgs
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    KubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    Name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    NodeConfigDetails NodePoolNodeConfigDetailsArgs
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    NodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettingsArgs
    (Updatable) Node Eviction Details configuration
    NodeImageId string
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeImageName string
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeMetadata map[string]interface{}
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    NodePoolCyclingDetails NodePoolNodePoolCyclingDetailsArgs
    (Updatable) Node Pool Cycling Details
    NodeShapeConfig NodePoolNodeShapeConfigArgs
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    NodeSourceDetails NodePoolNodeSourceDetailsArgs
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    QuantityPerSubnet int
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    SshPublicKey string
    (Updatable) The SSH public key on each node in the node pool on launch.
    SubnetIds []string

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    clusterId String
    The OCID of the cluster to which this node pool is attached.
    compartmentId String
    The OCID of the compartment in which the node pool exists.
    nodeShape String
    (Updatable) The name of the node shape of the nodes in the node pool.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initialNodeLabels List<NodePoolInitialNodeLabel>
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetesVersion String
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    name String
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodeConfigDetails NodePoolNodeConfigDetails
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    nodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettings
    (Updatable) Node Eviction Details configuration
    nodeImageId String
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeImageName String
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeMetadata Map<String,Object>
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    nodePoolCyclingDetails NodePoolNodePoolCyclingDetails
    (Updatable) Node Pool Cycling Details
    nodeShapeConfig NodePoolNodeShapeConfig
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    nodeSourceDetails NodePoolNodeSourceDetails
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    quantityPerSubnet Integer
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    sshPublicKey String
    (Updatable) The SSH public key on each node in the node pool on launch.
    subnetIds List<String>

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    clusterId string
    The OCID of the cluster to which this node pool is attached.
    compartmentId string
    The OCID of the compartment in which the node pool exists.
    nodeShape string
    (Updatable) The name of the node shape of the nodes in the node pool.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initialNodeLabels NodePoolInitialNodeLabel[]
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodeConfigDetails NodePoolNodeConfigDetails
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    nodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettings
    (Updatable) Node Eviction Details configuration
    nodeImageId string
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeImageName string
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeMetadata {[key: string]: any}
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    nodePoolCyclingDetails NodePoolNodePoolCyclingDetails
    (Updatable) Node Pool Cycling Details
    nodeShapeConfig NodePoolNodeShapeConfig
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    nodeSourceDetails NodePoolNodeSourceDetails
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    quantityPerSubnet number
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    sshPublicKey string
    (Updatable) The SSH public key on each node in the node pool on launch.
    subnetIds string[]

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    cluster_id str
    The OCID of the cluster to which this node pool is attached.
    compartment_id str
    The OCID of the compartment in which the node pool exists.
    node_shape str
    (Updatable) The name of the node shape of the nodes in the node pool.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initial_node_labels NodePoolInitialNodeLabelArgs]
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetes_version str
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    name str
    (Updatable) The name of the node pool. Avoid entering confidential information.
    node_config_details NodePoolNodeConfigDetailsArgs
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    node_eviction_node_pool_settings NodePoolNodeEvictionNodePoolSettingsArgs
    (Updatable) Node Eviction Details configuration
    node_image_id str
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    node_image_name str
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    node_metadata Mapping[str, Any]
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    node_pool_cycling_details NodePoolNodePoolCyclingDetailsArgs
    (Updatable) Node Pool Cycling Details
    node_shape_config NodePoolNodeShapeConfigArgs
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    node_source_details NodePoolNodeSourceDetailsArgs
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    quantity_per_subnet int
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    ssh_public_key str
    (Updatable) The SSH public key on each node in the node pool on launch.
    subnet_ids Sequence[str]

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    clusterId String
    The OCID of the cluster to which this node pool is attached.
    compartmentId String
    The OCID of the compartment in which the node pool exists.
    nodeShape String
    (Updatable) The name of the node shape of the nodes in the node pool.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initialNodeLabels List<Property Map>
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetesVersion String
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    name String
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodeConfigDetails Property Map
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    nodeEvictionNodePoolSettings Property Map
    (Updatable) Node Eviction Details configuration
    nodeImageId String
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeImageName String
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeMetadata Map<Any>
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    nodePoolCyclingDetails Property Map
    (Updatable) Node Pool Cycling Details
    nodeShapeConfig Property Map
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    nodeSourceDetails Property Map
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    quantityPerSubnet Number
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    sshPublicKey String
    (Updatable) The SSH public key on each node in the node pool on launch.
    subnetIds List<String>

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NodePool resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the state of the node.
    NodeSources List<NodePoolNodeSource>
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    Nodes List<NodePoolNode>
    The nodes in the node pool.
    State string
    The state of the nodepool.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Details about the state of the node.
    NodeSources []NodePoolNodeSource
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    Nodes []NodePoolNode
    The nodes in the node pool.
    State string
    The state of the nodepool.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the state of the node.
    nodeSources List<NodePoolNodeSource>
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes List<NodePoolNode>
    The nodes in the node pool.
    state String
    The state of the nodepool.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Details about the state of the node.
    nodeSources NodePoolNodeSource[]
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes NodePoolNode[]
    The nodes in the node pool.
    state string
    The state of the nodepool.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Details about the state of the node.
    node_sources NodePoolNodeSource]
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes NodePoolNode]
    The nodes in the node pool.
    state str
    The state of the nodepool.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Details about the state of the node.
    nodeSources List<Property Map>
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes List<Property Map>
    The nodes in the node pool.
    state String
    The state of the nodepool.

    Look up Existing NodePool Resource

    Get an existing NodePool 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?: NodePoolState, opts?: CustomResourceOptions): NodePool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            initial_node_labels: Optional[Sequence[_containerengine.NodePoolInitialNodeLabelArgs]] = None,
            kubernetes_version: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            name: Optional[str] = None,
            node_config_details: Optional[_containerengine.NodePoolNodeConfigDetailsArgs] = None,
            node_eviction_node_pool_settings: Optional[_containerengine.NodePoolNodeEvictionNodePoolSettingsArgs] = None,
            node_image_id: Optional[str] = None,
            node_image_name: Optional[str] = None,
            node_metadata: Optional[Mapping[str, Any]] = None,
            node_pool_cycling_details: Optional[_containerengine.NodePoolNodePoolCyclingDetailsArgs] = None,
            node_shape: Optional[str] = None,
            node_shape_config: Optional[_containerengine.NodePoolNodeShapeConfigArgs] = None,
            node_source_details: Optional[_containerengine.NodePoolNodeSourceDetailsArgs] = None,
            node_sources: Optional[Sequence[_containerengine.NodePoolNodeSourceArgs]] = None,
            nodes: Optional[Sequence[_containerengine.NodePoolNodeArgs]] = None,
            quantity_per_subnet: Optional[int] = None,
            ssh_public_key: Optional[str] = None,
            state: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None) -> NodePool
    func GetNodePool(ctx *Context, name string, id IDInput, state *NodePoolState, opts ...ResourceOption) (*NodePool, error)
    public static NodePool Get(string name, Input<string> id, NodePoolState? state, CustomResourceOptions? opts = null)
    public static NodePool get(String name, Output<String> id, NodePoolState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterId string
    The OCID of the cluster to which this node pool is attached.
    CompartmentId string
    The OCID of the compartment in which the node pool exists.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InitialNodeLabels List<NodePoolInitialNodeLabel>
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    KubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    LifecycleDetails string
    Details about the state of the node.
    Name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    NodeConfigDetails NodePoolNodeConfigDetails
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    NodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettings
    (Updatable) Node Eviction Details configuration
    NodeImageId string
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeImageName string
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeMetadata Dictionary<string, object>
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    NodePoolCyclingDetails NodePoolNodePoolCyclingDetails
    (Updatable) Node Pool Cycling Details
    NodeShape string
    (Updatable) The name of the node shape of the nodes in the node pool.
    NodeShapeConfig NodePoolNodeShapeConfig
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    NodeSourceDetails NodePoolNodeSourceDetails
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    NodeSources List<NodePoolNodeSource>
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    Nodes List<NodePoolNode>
    The nodes in the node pool.
    QuantityPerSubnet int
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    SshPublicKey string
    (Updatable) The SSH public key on each node in the node pool on launch.
    State string
    The state of the nodepool.
    SubnetIds List<string>

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ClusterId string
    The OCID of the cluster to which this node pool is attached.
    CompartmentId string
    The OCID of the compartment in which the node pool exists.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    InitialNodeLabels []NodePoolInitialNodeLabelArgs
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    KubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    LifecycleDetails string
    Details about the state of the node.
    Name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    NodeConfigDetails NodePoolNodeConfigDetailsArgs
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    NodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettingsArgs
    (Updatable) Node Eviction Details configuration
    NodeImageId string
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeImageName string
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    NodeMetadata map[string]interface{}
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    NodePoolCyclingDetails NodePoolNodePoolCyclingDetailsArgs
    (Updatable) Node Pool Cycling Details
    NodeShape string
    (Updatable) The name of the node shape of the nodes in the node pool.
    NodeShapeConfig NodePoolNodeShapeConfigArgs
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    NodeSourceDetails NodePoolNodeSourceDetailsArgs
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    NodeSources []NodePoolNodeSourceArgs
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    Nodes []NodePoolNodeArgs
    The nodes in the node pool.
    QuantityPerSubnet int
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    SshPublicKey string
    (Updatable) The SSH public key on each node in the node pool on launch.
    State string
    The state of the nodepool.
    SubnetIds []string

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    clusterId String
    The OCID of the cluster to which this node pool is attached.
    compartmentId String
    The OCID of the compartment in which the node pool exists.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initialNodeLabels List<NodePoolInitialNodeLabel>
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetesVersion String
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycleDetails String
    Details about the state of the node.
    name String
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodeConfigDetails NodePoolNodeConfigDetails
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    nodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettings
    (Updatable) Node Eviction Details configuration
    nodeImageId String
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeImageName String
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeMetadata Map<String,Object>
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    nodePoolCyclingDetails NodePoolNodePoolCyclingDetails
    (Updatable) Node Pool Cycling Details
    nodeShape String
    (Updatable) The name of the node shape of the nodes in the node pool.
    nodeShapeConfig NodePoolNodeShapeConfig
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    nodeSourceDetails NodePoolNodeSourceDetails
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    nodeSources List<NodePoolNodeSource>
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes List<NodePoolNode>
    The nodes in the node pool.
    quantityPerSubnet Integer
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    sshPublicKey String
    (Updatable) The SSH public key on each node in the node pool on launch.
    state String
    The state of the nodepool.
    subnetIds List<String>

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    clusterId string
    The OCID of the cluster to which this node pool is attached.
    compartmentId string
    The OCID of the compartment in which the node pool exists.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initialNodeLabels NodePoolInitialNodeLabel[]
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycleDetails string
    Details about the state of the node.
    name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodeConfigDetails NodePoolNodeConfigDetails
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    nodeEvictionNodePoolSettings NodePoolNodeEvictionNodePoolSettings
    (Updatable) Node Eviction Details configuration
    nodeImageId string
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeImageName string
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeMetadata {[key: string]: any}
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    nodePoolCyclingDetails NodePoolNodePoolCyclingDetails
    (Updatable) Node Pool Cycling Details
    nodeShape string
    (Updatable) The name of the node shape of the nodes in the node pool.
    nodeShapeConfig NodePoolNodeShapeConfig
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    nodeSourceDetails NodePoolNodeSourceDetails
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    nodeSources NodePoolNodeSource[]
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes NodePoolNode[]
    The nodes in the node pool.
    quantityPerSubnet number
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    sshPublicKey string
    (Updatable) The SSH public key on each node in the node pool on launch.
    state string
    The state of the nodepool.
    subnetIds string[]

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    cluster_id str
    The OCID of the cluster to which this node pool is attached.
    compartment_id str
    The OCID of the compartment in which the node pool exists.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initial_node_labels NodePoolInitialNodeLabelArgs]
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetes_version str
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycle_details str
    Details about the state of the node.
    name str
    (Updatable) The name of the node pool. Avoid entering confidential information.
    node_config_details NodePoolNodeConfigDetailsArgs
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    node_eviction_node_pool_settings NodePoolNodeEvictionNodePoolSettingsArgs
    (Updatable) Node Eviction Details configuration
    node_image_id str
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    node_image_name str
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    node_metadata Mapping[str, Any]
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    node_pool_cycling_details NodePoolNodePoolCyclingDetailsArgs
    (Updatable) Node Pool Cycling Details
    node_shape str
    (Updatable) The name of the node shape of the nodes in the node pool.
    node_shape_config NodePoolNodeShapeConfigArgs
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    node_source_details NodePoolNodeSourceDetailsArgs
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    node_sources NodePoolNodeSourceArgs]
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes NodePoolNodeArgs]
    The nodes in the node pool.
    quantity_per_subnet int
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    ssh_public_key str
    (Updatable) The SSH public key on each node in the node pool on launch.
    state str
    The state of the nodepool.
    subnet_ids Sequence[str]

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    clusterId String
    The OCID of the cluster to which this node pool is attached.
    compartmentId String
    The OCID of the compartment in which the node pool exists.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    initialNodeLabels List<Property Map>
    (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    kubernetesVersion String
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycleDetails String
    Details about the state of the node.
    name String
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodeConfigDetails Property Map
    (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
    nodeEvictionNodePoolSettings Property Map
    (Updatable) Node Eviction Details configuration
    nodeImageId String
    Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

    Deprecated:The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeImageName String
    Deprecated. Use nodeSourceDetails instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when node_image_id is specified.

    Deprecated:The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.

    nodeMetadata Map<Any>
    (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
    nodePoolCyclingDetails Property Map
    (Updatable) Node Pool Cycling Details
    nodeShape String
    (Updatable) The name of the node shape of the nodes in the node pool.
    nodeShapeConfig Property Map
    (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
    nodeSourceDetails Property Map
    (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    nodeSources List<Property Map>
    Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
    nodes List<Property Map>
    The nodes in the node pool.
    quantityPerSubnet Number
    (Updatable) Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property. When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    sshPublicKey String
    (Updatable) The SSH public key on each node in the node pool on launch.
    state String
    The state of the nodepool.
    subnetIds List<String>

    (Updatable) The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    NodePoolInitialNodeLabel, NodePoolInitialNodeLabelArgs

    Key string
    (Updatable) The key of the pair.
    Value string
    (Updatable) The value of the pair.
    Key string
    (Updatable) The key of the pair.
    Value string
    (Updatable) The value of the pair.
    key String
    (Updatable) The key of the pair.
    value String
    (Updatable) The value of the pair.
    key string
    (Updatable) The key of the pair.
    value string
    (Updatable) The value of the pair.
    key str
    (Updatable) The key of the pair.
    value str
    (Updatable) The value of the pair.
    key String
    (Updatable) The key of the pair.
    value String
    (Updatable) The value of the pair.

    NodePoolNode, NodePoolNodeArgs

    AvailabilityDomain string
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Errors List<NodePoolNodeError>
    An error that may be associated with the node.
    FaultDomain string
    The fault domain of this node.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the compute instance backing this node.
    KubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    LifecycleDetails string
    Details about the state of the node.
    Name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    NodePoolId string
    The OCID of the node pool to which this node belongs.
    PrivateIp string
    The private IP address of this node.
    PublicIp string
    The public IP address of this node.
    State string
    The state of the nodepool.
    SubnetId string
    (Updatable) The OCID of the subnet in which to place nodes.
    AvailabilityDomain string
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Errors []NodePoolNodeError
    An error that may be associated with the node.
    FaultDomain string
    The fault domain of this node.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the compute instance backing this node.
    KubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    LifecycleDetails string
    Details about the state of the node.
    Name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    NodePoolId string
    The OCID of the node pool to which this node belongs.
    PrivateIp string
    The private IP address of this node.
    PublicIp string
    The public IP address of this node.
    State string
    The state of the nodepool.
    SubnetId string
    (Updatable) The OCID of the subnet in which to place nodes.
    availabilityDomain String
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    errors List<NodePoolNodeError>
    An error that may be associated with the node.
    faultDomain String
    The fault domain of this node.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the compute instance backing this node.
    kubernetesVersion String
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycleDetails String
    Details about the state of the node.
    name String
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodePoolId String
    The OCID of the node pool to which this node belongs.
    privateIp String
    The private IP address of this node.
    publicIp String
    The public IP address of this node.
    state String
    The state of the nodepool.
    subnetId String
    (Updatable) The OCID of the subnet in which to place nodes.
    availabilityDomain string
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    errors NodePoolNodeError[]
    An error that may be associated with the node.
    faultDomain string
    The fault domain of this node.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the compute instance backing this node.
    kubernetesVersion string
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycleDetails string
    Details about the state of the node.
    name string
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodePoolId string
    The OCID of the node pool to which this node belongs.
    privateIp string
    The private IP address of this node.
    publicIp string
    The public IP address of this node.
    state string
    The state of the nodepool.
    subnetId string
    (Updatable) The OCID of the subnet in which to place nodes.
    availability_domain str
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    errors NodePoolNodeError]
    An error that may be associated with the node.
    fault_domain str
    The fault domain of this node.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the compute instance backing this node.
    kubernetes_version str
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycle_details str
    Details about the state of the node.
    name str
    (Updatable) The name of the node pool. Avoid entering confidential information.
    node_pool_id str
    The OCID of the node pool to which this node belongs.
    private_ip str
    The private IP address of this node.
    public_ip str
    The public IP address of this node.
    state str
    The state of the nodepool.
    subnet_id str
    (Updatable) The OCID of the subnet in which to place nodes.
    availabilityDomain String
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    errors List<Property Map>
    An error that may be associated with the node.
    faultDomain String
    The fault domain of this node.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the compute instance backing this node.
    kubernetesVersion String
    (Updatable) The version of Kubernetes to install on the nodes in the node pool.
    lifecycleDetails String
    Details about the state of the node.
    name String
    (Updatable) The name of the node pool. Avoid entering confidential information.
    nodePoolId String
    The OCID of the node pool to which this node belongs.
    privateIp String
    The private IP address of this node.
    publicIp String
    The public IP address of this node.
    state String
    The state of the nodepool.
    subnetId String
    (Updatable) The OCID of the subnet in which to place nodes.

    NodePoolNodeConfigDetails, NodePoolNodeConfigDetailsArgs

    PlacementConfigs List<NodePoolNodeConfigDetailsPlacementConfig>

    (Updatable) The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.

    To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    Size int
    (Updatable) The number of nodes that should be in the node pool.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsPvEncryptionInTransitEnabled bool
    (Updatable) Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    KmsKeyId string
    (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
    NodePoolPodNetworkOptionDetails NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails
    (Updatable) The CNI related configuration of pods in the node pool.
    NsgIds List<string>
    (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    PlacementConfigs []NodePoolNodeConfigDetailsPlacementConfig

    (Updatable) The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.

    To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    Size int
    (Updatable) The number of nodes that should be in the node pool.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsPvEncryptionInTransitEnabled bool
    (Updatable) Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    KmsKeyId string
    (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
    NodePoolPodNetworkOptionDetails NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails
    (Updatable) The CNI related configuration of pods in the node pool.
    NsgIds []string
    (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    placementConfigs List<NodePoolNodeConfigDetailsPlacementConfig>

    (Updatable) The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.

    To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size Integer
    (Updatable) The number of nodes that should be in the node pool.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isPvEncryptionInTransitEnabled Boolean
    (Updatable) Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    kmsKeyId String
    (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
    nodePoolPodNetworkOptionDetails NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails
    (Updatable) The CNI related configuration of pods in the node pool.
    nsgIds List<String>
    (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    placementConfigs NodePoolNodeConfigDetailsPlacementConfig[]

    (Updatable) The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.

    To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size number
    (Updatable) The number of nodes that should be in the node pool.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isPvEncryptionInTransitEnabled boolean
    (Updatable) Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    kmsKeyId string
    (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
    nodePoolPodNetworkOptionDetails NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails
    (Updatable) The CNI related configuration of pods in the node pool.
    nsgIds string[]
    (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    placement_configs NodePoolNodeConfigDetailsPlacementConfig]

    (Updatable) The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.

    To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size int
    (Updatable) The number of nodes that should be in the node pool.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    is_pv_encryption_in_transit_enabled bool
    (Updatable) Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    kms_key_id str
    (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
    node_pool_pod_network_option_details NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails
    (Updatable) The CNI related configuration of pods in the node pool.
    nsg_ids Sequence[str]
    (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    placementConfigs List<Property Map>

    (Updatable) The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.

    To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.

    size Number
    (Updatable) The number of nodes that should be in the node pool.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isPvEncryptionInTransitEnabled Boolean
    (Updatable) Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    kmsKeyId String
    (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
    nodePoolPodNetworkOptionDetails Property Map
    (Updatable) The CNI related configuration of pods in the node pool.
    nsgIds List<String>
    (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.

    NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails, NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs

    CniType string
    (Updatable) The CNI plugin used by this node pool
    MaxPodsPerNode int
    (Updatable) The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    PodNsgIds List<string>
    (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    PodSubnetIds List<string>
    (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
    CniType string
    (Updatable) The CNI plugin used by this node pool
    MaxPodsPerNode int
    (Updatable) The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    PodNsgIds []string
    (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    PodSubnetIds []string
    (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
    cniType String
    (Updatable) The CNI plugin used by this node pool
    maxPodsPerNode Integer
    (Updatable) The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    podNsgIds List<String>
    (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    podSubnetIds List<String>
    (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
    cniType string
    (Updatable) The CNI plugin used by this node pool
    maxPodsPerNode number
    (Updatable) The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    podNsgIds string[]
    (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    podSubnetIds string[]
    (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
    cni_type str
    (Updatable) The CNI plugin used by this node pool
    max_pods_per_node int
    (Updatable) The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    pod_nsg_ids Sequence[str]
    (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    pod_subnet_ids Sequence[str]
    (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
    cniType String
    (Updatable) The CNI plugin used by this node pool
    maxPodsPerNode Number
    (Updatable) The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    podNsgIds List<String>
    (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    podSubnetIds List<String>
    (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs

    NodePoolNodeConfigDetailsPlacementConfig, NodePoolNodeConfigDetailsPlacementConfigArgs

    AvailabilityDomain string
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    SubnetId string
    (Updatable) The OCID of the subnet in which to place nodes.
    CapacityReservationId string
    (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
    FaultDomains List<string>
    (Updatable) A list of fault domains in which to place nodes.
    PreemptibleNodeConfig NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig
    (Updatable) Configuration options for preemptible nodes.
    AvailabilityDomain string
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    SubnetId string
    (Updatable) The OCID of the subnet in which to place nodes.
    CapacityReservationId string
    (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
    FaultDomains []string
    (Updatable) A list of fault domains in which to place nodes.
    PreemptibleNodeConfig NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig
    (Updatable) Configuration options for preemptible nodes.
    availabilityDomain String
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    subnetId String
    (Updatable) The OCID of the subnet in which to place nodes.
    capacityReservationId String
    (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
    faultDomains List<String>
    (Updatable) A list of fault domains in which to place nodes.
    preemptibleNodeConfig NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig
    (Updatable) Configuration options for preemptible nodes.
    availabilityDomain string
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    subnetId string
    (Updatable) The OCID of the subnet in which to place nodes.
    capacityReservationId string
    (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
    faultDomains string[]
    (Updatable) A list of fault domains in which to place nodes.
    preemptibleNodeConfig NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig
    (Updatable) Configuration options for preemptible nodes.
    availability_domain str
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    subnet_id str
    (Updatable) The OCID of the subnet in which to place nodes.
    capacity_reservation_id str
    (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
    fault_domains Sequence[str]
    (Updatable) A list of fault domains in which to place nodes.
    preemptible_node_config NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig
    (Updatable) Configuration options for preemptible nodes.
    availabilityDomain String
    (Updatable) The availability domain in which to place nodes. Example: Uocm:PHX-AD-1
    subnetId String
    (Updatable) The OCID of the subnet in which to place nodes.
    capacityReservationId String
    (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
    faultDomains List<String>
    (Updatable) A list of fault domains in which to place nodes.
    preemptibleNodeConfig Property Map
    (Updatable) Configuration options for preemptible nodes.

    NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig, NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs

    PreemptionAction NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction
    (Updatable) The action to run when the preemptible node is interrupted for eviction.
    PreemptionAction NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction
    (Updatable) The action to run when the preemptible node is interrupted for eviction.
    preemptionAction NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction
    (Updatable) The action to run when the preemptible node is interrupted for eviction.
    preemptionAction NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction
    (Updatable) The action to run when the preemptible node is interrupted for eviction.
    preemption_action NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction
    (Updatable) The action to run when the preemptible node is interrupted for eviction.
    preemptionAction Property Map
    (Updatable) The action to run when the preemptible node is interrupted for eviction.

    NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction, NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs

    Type string
    (Updatable) The type of action to run when the instance is interrupted for eviction.
    IsPreserveBootVolume bool
    (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
    Type string
    (Updatable) The type of action to run when the instance is interrupted for eviction.
    IsPreserveBootVolume bool
    (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
    type String
    (Updatable) The type of action to run when the instance is interrupted for eviction.
    isPreserveBootVolume Boolean
    (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
    type string
    (Updatable) The type of action to run when the instance is interrupted for eviction.
    isPreserveBootVolume boolean
    (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
    type str
    (Updatable) The type of action to run when the instance is interrupted for eviction.
    is_preserve_boot_volume bool
    (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
    type String
    (Updatable) The type of action to run when the instance is interrupted for eviction.
    isPreserveBootVolume Boolean
    (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.

    NodePoolNodeError, NodePoolNodeErrorArgs

    Code string
    A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
    Message string
    A human-readable error string of the upstream error.
    Status string
    The status of the HTTP response encountered in the upstream error.
    Code string
    A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
    Message string
    A human-readable error string of the upstream error.
    Status string
    The status of the HTTP response encountered in the upstream error.
    code String
    A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
    message String
    A human-readable error string of the upstream error.
    status String
    The status of the HTTP response encountered in the upstream error.
    code string
    A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
    message string
    A human-readable error string of the upstream error.
    status string
    The status of the HTTP response encountered in the upstream error.
    code str
    A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
    message str
    A human-readable error string of the upstream error.
    status str
    The status of the HTTP response encountered in the upstream error.
    code String
    A short error code that defines the upstream error, meant for programmatic parsing. See API Errors.
    message String
    A human-readable error string of the upstream error.
    status String
    The status of the HTTP response encountered in the upstream error.

    NodePoolNodeEvictionNodePoolSettings, NodePoolNodeEvictionNodePoolSettingsArgs

    EvictionGraceDuration string
    (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    IsForceDeleteAfterGraceDuration bool
    (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    EvictionGraceDuration string
    (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    IsForceDeleteAfterGraceDuration bool
    (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    evictionGraceDuration String
    (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    isForceDeleteAfterGraceDuration Boolean
    (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    evictionGraceDuration string
    (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    isForceDeleteAfterGraceDuration boolean
    (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    eviction_grace_duration str
    (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    is_force_delete_after_grace_duration bool
    (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    evictionGraceDuration String
    (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    isForceDeleteAfterGraceDuration Boolean
    (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period

    NodePoolNodePoolCyclingDetails, NodePoolNodePoolCyclingDetailsArgs

    IsNodeCyclingEnabled bool
    (Updatable) If nodes in the nodepool will be cycled to have new changes.
    MaximumSurge string
    (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    MaximumUnavailable string
    (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    IsNodeCyclingEnabled bool
    (Updatable) If nodes in the nodepool will be cycled to have new changes.
    MaximumSurge string
    (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    MaximumUnavailable string
    (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    isNodeCyclingEnabled Boolean
    (Updatable) If nodes in the nodepool will be cycled to have new changes.
    maximumSurge String
    (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    maximumUnavailable String
    (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    isNodeCyclingEnabled boolean
    (Updatable) If nodes in the nodepool will be cycled to have new changes.
    maximumSurge string
    (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    maximumUnavailable string
    (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    is_node_cycling_enabled bool
    (Updatable) If nodes in the nodepool will be cycled to have new changes.
    maximum_surge str
    (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    maximum_unavailable str
    (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    isNodeCyclingEnabled Boolean
    (Updatable) If nodes in the nodepool will be cycled to have new changes.
    maximumSurge String
    (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)
    maximumUnavailable String
    (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0%!t(MISSING)o 100%! (MISSING)

    NodePoolNodeShapeConfig, NodePoolNodeShapeConfigArgs

    MemoryInGbs double
    (Updatable) The total amount of memory available to each node, in gigabytes.
    Ocpus double
    (Updatable) The total number of OCPUs available to each node in the node pool. See here for details.
    MemoryInGbs float64
    (Updatable) The total amount of memory available to each node, in gigabytes.
    Ocpus float64
    (Updatable) The total number of OCPUs available to each node in the node pool. See here for details.
    memoryInGbs Double
    (Updatable) The total amount of memory available to each node, in gigabytes.
    ocpus Double
    (Updatable) The total number of OCPUs available to each node in the node pool. See here for details.
    memoryInGbs number
    (Updatable) The total amount of memory available to each node, in gigabytes.
    ocpus number
    (Updatable) The total number of OCPUs available to each node in the node pool. See here for details.
    memory_in_gbs float
    (Updatable) The total amount of memory available to each node, in gigabytes.
    ocpus float
    (Updatable) The total number of OCPUs available to each node in the node pool. See here for details.
    memoryInGbs Number
    (Updatable) The total amount of memory available to each node, in gigabytes.
    ocpus Number
    (Updatable) The total number of OCPUs available to each node in the node pool. See here for details.

    NodePoolNodeSource, NodePoolNodeSourceArgs

    ImageId string
    (Updatable) The OCID of the image used to boot the node.
    SourceName string
    The user-friendly name of the entity corresponding to the OCID.
    SourceType string
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    ImageId string
    (Updatable) The OCID of the image used to boot the node.
    SourceName string
    The user-friendly name of the entity corresponding to the OCID.
    SourceType string
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    imageId String
    (Updatable) The OCID of the image used to boot the node.
    sourceName String
    The user-friendly name of the entity corresponding to the OCID.
    sourceType String
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    imageId string
    (Updatable) The OCID of the image used to boot the node.
    sourceName string
    The user-friendly name of the entity corresponding to the OCID.
    sourceType string
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    image_id str
    (Updatable) The OCID of the image used to boot the node.
    source_name str
    The user-friendly name of the entity corresponding to the OCID.
    source_type str
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    imageId String
    (Updatable) The OCID of the image used to boot the node.
    sourceName String
    The user-friendly name of the entity corresponding to the OCID.
    sourceType String
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.

    NodePoolNodeSourceDetails, NodePoolNodeSourceDetailsArgs

    ImageId string
    (Updatable) The OCID of the image used to boot the node.
    SourceType string
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    BootVolumeSizeInGbs string
    (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.
    ImageId string
    (Updatable) The OCID of the image used to boot the node.
    SourceType string
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    BootVolumeSizeInGbs string
    (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.
    imageId String
    (Updatable) The OCID of the image used to boot the node.
    sourceType String
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    bootVolumeSizeInGbs String
    (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.
    imageId string
    (Updatable) The OCID of the image used to boot the node.
    sourceType string
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    bootVolumeSizeInGbs string
    (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.
    image_id str
    (Updatable) The OCID of the image used to boot the node.
    source_type str
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    boot_volume_size_in_gbs str
    (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.
    imageId String
    (Updatable) The OCID of the image used to boot the node.
    sourceType String
    (Updatable) The source type for the node. Use IMAGE when specifying an OCID of an image.
    bootVolumeSizeInGbs String
    (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.

    Import

    NodePools can be imported using the id, e.g.

    $ pulumi import oci:ContainerEngine/nodePool:NodePool test_node_pool "id"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi