oci.ContainerEngine.NodePool
Explore with Pulumi AI
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("test_node_pool", {
    clusterId: testCluster.id,
    compartmentId: compartmentId,
    name: nodePoolName,
    nodeShape: nodePoolNodeShape,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    freeformTags: {
        Department: "Finance",
    },
    initialNodeLabels: [{
        key: nodePoolInitialNodeLabelsKey,
        value: nodePoolInitialNodeLabelsValue,
    }],
    kubernetesVersion: nodePoolKubernetesVersion,
    nodeConfigDetails: {
        placementConfigs: [{
            availabilityDomain: nodePoolNodeConfigDetailsPlacementConfigsAvailabilityDomain,
            subnetId: testSubnet.id,
            capacityReservationId: testCapacityReservation.id,
            faultDomains: nodePoolNodeConfigDetailsPlacementConfigsFaultDomains,
            preemptibleNodeConfig: {
                preemptionAction: {
                    type: nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionType,
                    isPreserveBootVolume: nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionIsPreserveBootVolume,
                },
            },
        }],
        size: nodePoolNodeConfigDetailsSize,
        isPvEncryptionInTransitEnabled: nodePoolNodeConfigDetailsIsPvEncryptionInTransitEnabled,
        kmsKeyId: testKey.id,
        nodePoolPodNetworkOptionDetails: {
            cniType: nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsCniType,
            maxPodsPerNode: nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsMaxPodsPerNode,
            podNsgIds: nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodNsgIds,
            podSubnetIds: nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodSubnetIds,
        },
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
        nsgIds: nodePoolNodeConfigDetailsNsgIds,
    },
    nodeEvictionNodePoolSettings: {
        evictionGraceDuration: nodePoolNodeEvictionNodePoolSettingsEvictionGraceDuration,
        isForceDeleteAfterGraceDuration: nodePoolNodeEvictionNodePoolSettingsIsForceDeleteAfterGraceDuration,
    },
    nodeImageName: testImage.name,
    nodeMetadata: nodePoolNodeMetadata,
    nodePoolCyclingDetails: {
        isNodeCyclingEnabled: nodePoolNodePoolCyclingDetailsIsNodeCyclingEnabled,
        maximumSurge: nodePoolNodePoolCyclingDetailsMaximumSurge,
        maximumUnavailable: nodePoolNodePoolCyclingDetailsMaximumUnavailable,
    },
    nodeShapeConfig: {
        memoryInGbs: nodePoolNodeShapeConfigMemoryInGbs,
        ocpus: nodePoolNodeShapeConfigOcpus,
    },
    nodeSourceDetails: {
        imageId: testImage.id,
        sourceType: nodePoolNodeSourceDetailsSourceType,
        bootVolumeSizeInGbs: nodePoolNodeSourceDetailsBootVolumeSizeInGbs,
    },
    quantityPerSubnet: nodePoolQuantityPerSubnet,
    sshPublicKey: nodePoolSshPublicKey,
    subnetIds: nodePoolSubnetIds,
});
import pulumi
import pulumi_oci as oci
test_node_pool = oci.container_engine.NodePool("test_node_pool",
    cluster_id=test_cluster["id"],
    compartment_id=compartment_id,
    name=node_pool_name,
    node_shape=node_pool_node_shape,
    defined_tags={
        "Operations.CostCenter": "42",
    },
    freeform_tags={
        "Department": "Finance",
    },
    initial_node_labels=[{
        "key": node_pool_initial_node_labels_key,
        "value": node_pool_initial_node_labels_value,
    }],
    kubernetes_version=node_pool_kubernetes_version,
    node_config_details={
        "placement_configs": [{
            "availability_domain": node_pool_node_config_details_placement_configs_availability_domain,
            "subnet_id": test_subnet["id"],
            "capacity_reservation_id": test_capacity_reservation["id"],
            "fault_domains": node_pool_node_config_details_placement_configs_fault_domains,
            "preemptible_node_config": {
                "preemption_action": {
                    "type": node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_type,
                    "is_preserve_boot_volume": node_pool_node_config_details_placement_configs_preemptible_node_config_preemption_action_is_preserve_boot_volume,
                },
            },
        }],
        "size": node_pool_node_config_details_size,
        "is_pv_encryption_in_transit_enabled": node_pool_node_config_details_is_pv_encryption_in_transit_enabled,
        "kms_key_id": test_key["id"],
        "node_pool_pod_network_option_details": {
            "cni_type": node_pool_node_config_details_node_pool_pod_network_option_details_cni_type,
            "max_pods_per_node": node_pool_node_config_details_node_pool_pod_network_option_details_max_pods_per_node,
            "pod_nsg_ids": node_pool_node_config_details_node_pool_pod_network_option_details_pod_nsg_ids,
            "pod_subnet_ids": node_pool_node_config_details_node_pool_pod_network_option_details_pod_subnet_ids,
        },
        "defined_tags": {
            "operations__cost_center": "42",
        },
        "freeform_tags": {
            "department": "Finance",
        },
        "nsg_ids": node_pool_node_config_details_nsg_ids,
    },
    node_eviction_node_pool_settings={
        "eviction_grace_duration": node_pool_node_eviction_node_pool_settings_eviction_grace_duration,
        "is_force_delete_after_grace_duration": node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration,
    },
    node_image_name=test_image["name"],
    node_metadata=node_pool_node_metadata,
    node_pool_cycling_details={
        "is_node_cycling_enabled": node_pool_node_pool_cycling_details_is_node_cycling_enabled,
        "maximum_surge": node_pool_node_pool_cycling_details_maximum_surge,
        "maximum_unavailable": node_pool_node_pool_cycling_details_maximum_unavailable,
    },
    node_shape_config={
        "memory_in_gbs": node_pool_node_shape_config_memory_in_gbs,
        "ocpus": node_pool_node_shape_config_ocpus,
    },
    node_source_details={
        "image_id": test_image["id"],
        "source_type": node_pool_node_source_details_source_type,
        "boot_volume_size_in_gbs": node_pool_node_source_details_boot_volume_size_in_gbs,
    },
    quantity_per_subnet=node_pool_quantity_per_subnet,
    ssh_public_key=node_pool_ssh_public_key,
    subnet_ids=node_pool_subnet_ids)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ContainerEngine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ContainerEngine.NewNodePool(ctx, "test_node_pool", &ContainerEngine.NodePoolArgs{
			ClusterId:     pulumi.Any(testCluster.Id),
			CompartmentId: pulumi.Any(compartmentId),
			Name:          pulumi.Any(nodePoolName),
			NodeShape:     pulumi.Any(nodePoolNodeShape),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			InitialNodeLabels: containerengine.NodePoolInitialNodeLabelArray{
				&containerengine.NodePoolInitialNodeLabelArgs{
					Key:   pulumi.Any(nodePoolInitialNodeLabelsKey),
					Value: pulumi.Any(nodePoolInitialNodeLabelsValue),
				},
			},
			KubernetesVersion: pulumi.Any(nodePoolKubernetesVersion),
			NodeConfigDetails: &containerengine.NodePoolNodeConfigDetailsArgs{
				PlacementConfigs: containerengine.NodePoolNodeConfigDetailsPlacementConfigArray{
					&containerengine.NodePoolNodeConfigDetailsPlacementConfigArgs{
						AvailabilityDomain:    pulumi.Any(nodePoolNodeConfigDetailsPlacementConfigsAvailabilityDomain),
						SubnetId:              pulumi.Any(testSubnet.Id),
						CapacityReservationId: pulumi.Any(testCapacityReservation.Id),
						FaultDomains:          pulumi.Any(nodePoolNodeConfigDetailsPlacementConfigsFaultDomains),
						PreemptibleNodeConfig: &containerengine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs{
							PreemptionAction: &containerengine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs{
								Type:                 pulumi.Any(nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionType),
								IsPreserveBootVolume: pulumi.Any(nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionIsPreserveBootVolume),
							},
						},
					},
				},
				Size:                           pulumi.Any(nodePoolNodeConfigDetailsSize),
				IsPvEncryptionInTransitEnabled: pulumi.Any(nodePoolNodeConfigDetailsIsPvEncryptionInTransitEnabled),
				KmsKeyId:                       pulumi.Any(testKey.Id),
				NodePoolPodNetworkOptionDetails: &containerengine.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs{
					CniType:        pulumi.Any(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsCniType),
					MaxPodsPerNode: pulumi.Any(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsMaxPodsPerNode),
					PodNsgIds:      pulumi.Any(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodNsgIds),
					PodSubnetIds:   pulumi.Any(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodSubnetIds),
				},
				DefinedTags: pulumi.StringMap{
					"Operations.CostCenter": pulumi.String("42"),
				},
				FreeformTags: pulumi.StringMap{
					"Department": pulumi.String("Finance"),
				},
				NsgIds: pulumi.Any(nodePoolNodeConfigDetailsNsgIds),
			},
			NodeEvictionNodePoolSettings: &containerengine.NodePoolNodeEvictionNodePoolSettingsArgs{
				EvictionGraceDuration:           pulumi.Any(nodePoolNodeEvictionNodePoolSettingsEvictionGraceDuration),
				IsForceDeleteAfterGraceDuration: pulumi.Any(nodePoolNodeEvictionNodePoolSettingsIsForceDeleteAfterGraceDuration),
			},
			NodeImageName: pulumi.Any(testImage.Name),
			NodeMetadata:  pulumi.Any(nodePoolNodeMetadata),
			NodePoolCyclingDetails: &containerengine.NodePoolNodePoolCyclingDetailsArgs{
				IsNodeCyclingEnabled: pulumi.Any(nodePoolNodePoolCyclingDetailsIsNodeCyclingEnabled),
				MaximumSurge:         pulumi.Any(nodePoolNodePoolCyclingDetailsMaximumSurge),
				MaximumUnavailable:   pulumi.Any(nodePoolNodePoolCyclingDetailsMaximumUnavailable),
			},
			NodeShapeConfig: &containerengine.NodePoolNodeShapeConfigArgs{
				MemoryInGbs: pulumi.Any(nodePoolNodeShapeConfigMemoryInGbs),
				Ocpus:       pulumi.Any(nodePoolNodeShapeConfigOcpus),
			},
			NodeSourceDetails: &containerengine.NodePoolNodeSourceDetailsArgs{
				ImageId:             pulumi.Any(testImage.Id),
				SourceType:          pulumi.Any(nodePoolNodeSourceDetailsSourceType),
				BootVolumeSizeInGbs: pulumi.Any(nodePoolNodeSourceDetailsBootVolumeSizeInGbs),
			},
			QuantityPerSubnet: pulumi.Any(nodePoolQuantityPerSubnet),
			SshPublicKey:      pulumi.Any(nodePoolSshPublicKey),
			SubnetIds:         pulumi.Any(nodePoolSubnetIds),
		})
		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("test_node_pool", new()
    {
        ClusterId = testCluster.Id,
        CompartmentId = compartmentId,
        Name = nodePoolName,
        NodeShape = nodePoolNodeShape,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        InitialNodeLabels = new[]
        {
            new Oci.ContainerEngine.Inputs.NodePoolInitialNodeLabelArgs
            {
                Key = nodePoolInitialNodeLabelsKey,
                Value = nodePoolInitialNodeLabelsValue,
            },
        },
        KubernetesVersion = nodePoolKubernetesVersion,
        NodeConfigDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsArgs
        {
            PlacementConfigs = new[]
            {
                new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigArgs
                {
                    AvailabilityDomain = nodePoolNodeConfigDetailsPlacementConfigsAvailabilityDomain,
                    SubnetId = testSubnet.Id,
                    CapacityReservationId = testCapacityReservation.Id,
                    FaultDomains = nodePoolNodeConfigDetailsPlacementConfigsFaultDomains,
                    PreemptibleNodeConfig = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs
                    {
                        PreemptionAction = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs
                        {
                            Type = nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionType,
                            IsPreserveBootVolume = nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionIsPreserveBootVolume,
                        },
                    },
                },
            },
            Size = nodePoolNodeConfigDetailsSize,
            IsPvEncryptionInTransitEnabled = nodePoolNodeConfigDetailsIsPvEncryptionInTransitEnabled,
            KmsKeyId = testKey.Id,
            NodePoolPodNetworkOptionDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs
            {
                CniType = nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsCniType,
                MaxPodsPerNode = nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsMaxPodsPerNode,
                PodNsgIds = nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodNsgIds,
                PodSubnetIds = nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodSubnetIds,
            },
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            NsgIds = nodePoolNodeConfigDetailsNsgIds,
        },
        NodeEvictionNodePoolSettings = new Oci.ContainerEngine.Inputs.NodePoolNodeEvictionNodePoolSettingsArgs
        {
            EvictionGraceDuration = nodePoolNodeEvictionNodePoolSettingsEvictionGraceDuration,
            IsForceDeleteAfterGraceDuration = nodePoolNodeEvictionNodePoolSettingsIsForceDeleteAfterGraceDuration,
        },
        NodeImageName = testImage.Name,
        NodeMetadata = nodePoolNodeMetadata,
        NodePoolCyclingDetails = new Oci.ContainerEngine.Inputs.NodePoolNodePoolCyclingDetailsArgs
        {
            IsNodeCyclingEnabled = nodePoolNodePoolCyclingDetailsIsNodeCyclingEnabled,
            MaximumSurge = nodePoolNodePoolCyclingDetailsMaximumSurge,
            MaximumUnavailable = nodePoolNodePoolCyclingDetailsMaximumUnavailable,
        },
        NodeShapeConfig = new Oci.ContainerEngine.Inputs.NodePoolNodeShapeConfigArgs
        {
            MemoryInGbs = nodePoolNodeShapeConfigMemoryInGbs,
            Ocpus = nodePoolNodeShapeConfigOcpus,
        },
        NodeSourceDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeSourceDetailsArgs
        {
            ImageId = testImage.Id,
            SourceType = nodePoolNodeSourceDetailsSourceType,
            BootVolumeSizeInGbs = nodePoolNodeSourceDetailsBootVolumeSizeInGbs,
        },
        QuantityPerSubnet = nodePoolQuantityPerSubnet,
        SshPublicKey = nodePoolSshPublicKey,
        SubnetIds = nodePoolSubnetIds,
    });
});
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(testCluster.id())
            .compartmentId(compartmentId)
            .name(nodePoolName)
            .nodeShape(nodePoolNodeShape)
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .freeformTags(Map.of("Department", "Finance"))
            .initialNodeLabels(NodePoolInitialNodeLabelArgs.builder()
                .key(nodePoolInitialNodeLabelsKey)
                .value(nodePoolInitialNodeLabelsValue)
                .build())
            .kubernetesVersion(nodePoolKubernetesVersion)
            .nodeConfigDetails(NodePoolNodeConfigDetailsArgs.builder()
                .placementConfigs(NodePoolNodeConfigDetailsPlacementConfigArgs.builder()
                    .availabilityDomain(nodePoolNodeConfigDetailsPlacementConfigsAvailabilityDomain)
                    .subnetId(testSubnet.id())
                    .capacityReservationId(testCapacityReservation.id())
                    .faultDomains(nodePoolNodeConfigDetailsPlacementConfigsFaultDomains)
                    .preemptibleNodeConfig(NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs.builder()
                        .preemptionAction(NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs.builder()
                            .type(nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionType)
                            .isPreserveBootVolume(nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionIsPreserveBootVolume)
                            .build())
                        .build())
                    .build())
                .size(nodePoolNodeConfigDetailsSize)
                .isPvEncryptionInTransitEnabled(nodePoolNodeConfigDetailsIsPvEncryptionInTransitEnabled)
                .kmsKeyId(testKey.id())
                .nodePoolPodNetworkOptionDetails(NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs.builder()
                    .cniType(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsCniType)
                    .maxPodsPerNode(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsMaxPodsPerNode)
                    .podNsgIds(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodNsgIds)
                    .podSubnetIds(nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodSubnetIds)
                    .build())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .nsgIds(nodePoolNodeConfigDetailsNsgIds)
                .build())
            .nodeEvictionNodePoolSettings(NodePoolNodeEvictionNodePoolSettingsArgs.builder()
                .evictionGraceDuration(nodePoolNodeEvictionNodePoolSettingsEvictionGraceDuration)
                .isForceDeleteAfterGraceDuration(nodePoolNodeEvictionNodePoolSettingsIsForceDeleteAfterGraceDuration)
                .build())
            .nodeImageName(testImage.name())
            .nodeMetadata(nodePoolNodeMetadata)
            .nodePoolCyclingDetails(NodePoolNodePoolCyclingDetailsArgs.builder()
                .isNodeCyclingEnabled(nodePoolNodePoolCyclingDetailsIsNodeCyclingEnabled)
                .maximumSurge(nodePoolNodePoolCyclingDetailsMaximumSurge)
                .maximumUnavailable(nodePoolNodePoolCyclingDetailsMaximumUnavailable)
                .build())
            .nodeShapeConfig(NodePoolNodeShapeConfigArgs.builder()
                .memoryInGbs(nodePoolNodeShapeConfigMemoryInGbs)
                .ocpus(nodePoolNodeShapeConfigOcpus)
                .build())
            .nodeSourceDetails(NodePoolNodeSourceDetailsArgs.builder()
                .imageId(testImage.id())
                .sourceType(nodePoolNodeSourceDetailsSourceType)
                .bootVolumeSizeInGbs(nodePoolNodeSourceDetailsBootVolumeSizeInGbs)
                .build())
            .quantityPerSubnet(nodePoolQuantityPerSubnet)
            .sshPublicKey(nodePoolSshPublicKey)
            .subnetIds(nodePoolSubnetIds)
            .build());
    }
}
resources:
  testNodePool:
    type: oci:ContainerEngine:NodePool
    name: test_node_pool
    properties:
      clusterId: ${testCluster.id}
      compartmentId: ${compartmentId}
      name: ${nodePoolName}
      nodeShape: ${nodePoolNodeShape}
      definedTags:
        Operations.CostCenter: '42'
      freeformTags:
        Department: Finance
      initialNodeLabels:
        - key: ${nodePoolInitialNodeLabelsKey}
          value: ${nodePoolInitialNodeLabelsValue}
      kubernetesVersion: ${nodePoolKubernetesVersion}
      nodeConfigDetails:
        placementConfigs:
          - availabilityDomain: ${nodePoolNodeConfigDetailsPlacementConfigsAvailabilityDomain}
            subnetId: ${testSubnet.id}
            capacityReservationId: ${testCapacityReservation.id}
            faultDomains: ${nodePoolNodeConfigDetailsPlacementConfigsFaultDomains}
            preemptibleNodeConfig:
              preemptionAction:
                type: ${nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionType}
                isPreserveBootVolume: ${nodePoolNodeConfigDetailsPlacementConfigsPreemptibleNodeConfigPreemptionActionIsPreserveBootVolume}
        size: ${nodePoolNodeConfigDetailsSize}
        isPvEncryptionInTransitEnabled: ${nodePoolNodeConfigDetailsIsPvEncryptionInTransitEnabled}
        kmsKeyId: ${testKey.id}
        nodePoolPodNetworkOptionDetails:
          cniType: ${nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsCniType}
          maxPodsPerNode: ${nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsMaxPodsPerNode}
          podNsgIds: ${nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodNsgIds}
          podSubnetIds: ${nodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsPodSubnetIds}
        definedTags:
          Operations.CostCenter: '42'
        freeformTags:
          Department: Finance
        nsgIds: ${nodePoolNodeConfigDetailsNsgIds}
      nodeEvictionNodePoolSettings:
        evictionGraceDuration: ${nodePoolNodeEvictionNodePoolSettingsEvictionGraceDuration}
        isForceDeleteAfterGraceDuration: ${nodePoolNodeEvictionNodePoolSettingsIsForceDeleteAfterGraceDuration}
      nodeImageName: ${testImage.name}
      nodeMetadata: ${nodePoolNodeMetadata}
      nodePoolCyclingDetails:
        isNodeCyclingEnabled: ${nodePoolNodePoolCyclingDetailsIsNodeCyclingEnabled}
        maximumSurge: ${nodePoolNodePoolCyclingDetailsMaximumSurge}
        maximumUnavailable: ${nodePoolNodePoolCyclingDetailsMaximumUnavailable}
      nodeShapeConfig:
        memoryInGbs: ${nodePoolNodeShapeConfigMemoryInGbs}
        ocpus: ${nodePoolNodeShapeConfigOcpus}
      nodeSourceDetails:
        imageId: ${testImage.id}
        sourceType: ${nodePoolNodeSourceDetailsSourceType}
        bootVolumeSizeInGbs: ${nodePoolNodeSourceDetailsBootVolumeSizeInGbs}
      quantityPerSubnet: ${nodePoolQuantityPerSubnet}
      sshPublicKey: ${nodePoolSshPublicKey}
      subnetIds: ${nodePoolSubnetIds}
Create NodePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodePool(name: string, args: NodePoolArgs, opts?: CustomResourceOptions);@overload
def NodePool(resource_name: str,
             args: NodePoolArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def NodePool(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             cluster_id: Optional[str] = None,
             compartment_id: Optional[str] = None,
             node_shape: Optional[str] = None,
             node_eviction_node_pool_settings: Optional[_containerengine.NodePoolNodeEvictionNodePoolSettingsArgs] = None,
             node_image_name: Optional[str] = None,
             kubernetes_version: Optional[str] = None,
             name: Optional[str] = None,
             node_config_details: Optional[_containerengine.NodePoolNodeConfigDetailsArgs] = None,
             freeform_tags: Optional[Mapping[str, str]] = None,
             node_image_id: Optional[str] = None,
             initial_node_labels: Optional[Sequence[_containerengine.NodePoolInitialNodeLabelArgs]] = None,
             node_metadata: Optional[Mapping[str, str]] = None,
             node_pool_cycling_details: Optional[_containerengine.NodePoolNodePoolCyclingDetailsArgs] = None,
             defined_tags: Optional[Mapping[str, 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)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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var nodePoolResource = new Oci.ContainerEngine.NodePool("nodePoolResource", new()
{
    ClusterId = "string",
    CompartmentId = "string",
    NodeShape = "string",
    NodeEvictionNodePoolSettings = new Oci.ContainerEngine.Inputs.NodePoolNodeEvictionNodePoolSettingsArgs
    {
        EvictionGraceDuration = "string",
        IsForceDeleteAfterGraceDuration = false,
    },
    KubernetesVersion = "string",
    Name = "string",
    NodeConfigDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsArgs
    {
        PlacementConfigs = new[]
        {
            new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigArgs
            {
                AvailabilityDomain = "string",
                SubnetId = "string",
                CapacityReservationId = "string",
                FaultDomains = new[]
                {
                    "string",
                },
                PreemptibleNodeConfig = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs
                {
                    PreemptionAction = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs
                    {
                        Type = "string",
                        IsPreserveBootVolume = false,
                    },
                },
            },
        },
        Size = 0,
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsPvEncryptionInTransitEnabled = false,
        KmsKeyId = "string",
        NodePoolPodNetworkOptionDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs
        {
            CniType = "string",
            MaxPodsPerNode = 0,
            PodNsgIds = new[]
            {
                "string",
            },
            PodSubnetIds = new[]
            {
                "string",
            },
        },
        NsgIds = new[]
        {
            "string",
        },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    InitialNodeLabels = new[]
    {
        new Oci.ContainerEngine.Inputs.NodePoolInitialNodeLabelArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    NodeMetadata = 
    {
        { "string", "string" },
    },
    NodePoolCyclingDetails = new Oci.ContainerEngine.Inputs.NodePoolNodePoolCyclingDetailsArgs
    {
        IsNodeCyclingEnabled = false,
        MaximumSurge = "string",
        MaximumUnavailable = "string",
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    NodeShapeConfig = new Oci.ContainerEngine.Inputs.NodePoolNodeShapeConfigArgs
    {
        MemoryInGbs = 0,
        Ocpus = 0,
    },
    NodeSourceDetails = new Oci.ContainerEngine.Inputs.NodePoolNodeSourceDetailsArgs
    {
        ImageId = "string",
        SourceType = "string",
        BootVolumeSizeInGbs = "string",
    },
    QuantityPerSubnet = 0,
    SshPublicKey = "string",
    SubnetIds = new[]
    {
        "string",
    },
});
example, err := ContainerEngine.NewNodePool(ctx, "nodePoolResource", &ContainerEngine.NodePoolArgs{
	ClusterId:     pulumi.String("string"),
	CompartmentId: pulumi.String("string"),
	NodeShape:     pulumi.String("string"),
	NodeEvictionNodePoolSettings: &containerengine.NodePoolNodeEvictionNodePoolSettingsArgs{
		EvictionGraceDuration:           pulumi.String("string"),
		IsForceDeleteAfterGraceDuration: pulumi.Bool(false),
	},
	KubernetesVersion: pulumi.String("string"),
	Name:              pulumi.String("string"),
	NodeConfigDetails: &containerengine.NodePoolNodeConfigDetailsArgs{
		PlacementConfigs: containerengine.NodePoolNodeConfigDetailsPlacementConfigArray{
			&containerengine.NodePoolNodeConfigDetailsPlacementConfigArgs{
				AvailabilityDomain:    pulumi.String("string"),
				SubnetId:              pulumi.String("string"),
				CapacityReservationId: pulumi.String("string"),
				FaultDomains: pulumi.StringArray{
					pulumi.String("string"),
				},
				PreemptibleNodeConfig: &containerengine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs{
					PreemptionAction: &containerengine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs{
						Type:                 pulumi.String("string"),
						IsPreserveBootVolume: pulumi.Bool(false),
					},
				},
			},
		},
		Size: pulumi.Int(0),
		DefinedTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		FreeformTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		IsPvEncryptionInTransitEnabled: pulumi.Bool(false),
		KmsKeyId:                       pulumi.String("string"),
		NodePoolPodNetworkOptionDetails: &containerengine.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs{
			CniType:        pulumi.String("string"),
			MaxPodsPerNode: pulumi.Int(0),
			PodNsgIds: pulumi.StringArray{
				pulumi.String("string"),
			},
			PodSubnetIds: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		NsgIds: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	InitialNodeLabels: containerengine.NodePoolInitialNodeLabelArray{
		&containerengine.NodePoolInitialNodeLabelArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	NodeMetadata: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	NodePoolCyclingDetails: &containerengine.NodePoolNodePoolCyclingDetailsArgs{
		IsNodeCyclingEnabled: pulumi.Bool(false),
		MaximumSurge:         pulumi.String("string"),
		MaximumUnavailable:   pulumi.String("string"),
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	NodeShapeConfig: &containerengine.NodePoolNodeShapeConfigArgs{
		MemoryInGbs: pulumi.Float64(0),
		Ocpus:       pulumi.Float64(0),
	},
	NodeSourceDetails: &containerengine.NodePoolNodeSourceDetailsArgs{
		ImageId:             pulumi.String("string"),
		SourceType:          pulumi.String("string"),
		BootVolumeSizeInGbs: pulumi.String("string"),
	},
	QuantityPerSubnet: pulumi.Int(0),
	SshPublicKey:      pulumi.String("string"),
	SubnetIds: pulumi.StringArray{
		pulumi.String("string"),
	},
})
var nodePoolResource = new NodePool("nodePoolResource", NodePoolArgs.builder()
    .clusterId("string")
    .compartmentId("string")
    .nodeShape("string")
    .nodeEvictionNodePoolSettings(NodePoolNodeEvictionNodePoolSettingsArgs.builder()
        .evictionGraceDuration("string")
        .isForceDeleteAfterGraceDuration(false)
        .build())
    .kubernetesVersion("string")
    .name("string")
    .nodeConfigDetails(NodePoolNodeConfigDetailsArgs.builder()
        .placementConfigs(NodePoolNodeConfigDetailsPlacementConfigArgs.builder()
            .availabilityDomain("string")
            .subnetId("string")
            .capacityReservationId("string")
            .faultDomains("string")
            .preemptibleNodeConfig(NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs.builder()
                .preemptionAction(NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs.builder()
                    .type("string")
                    .isPreserveBootVolume(false)
                    .build())
                .build())
            .build())
        .size(0)
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .isPvEncryptionInTransitEnabled(false)
        .kmsKeyId("string")
        .nodePoolPodNetworkOptionDetails(NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs.builder()
            .cniType("string")
            .maxPodsPerNode(0)
            .podNsgIds("string")
            .podSubnetIds("string")
            .build())
        .nsgIds("string")
        .build())
    .freeformTags(Map.of("string", "string"))
    .initialNodeLabels(NodePoolInitialNodeLabelArgs.builder()
        .key("string")
        .value("string")
        .build())
    .nodeMetadata(Map.of("string", "string"))
    .nodePoolCyclingDetails(NodePoolNodePoolCyclingDetailsArgs.builder()
        .isNodeCyclingEnabled(false)
        .maximumSurge("string")
        .maximumUnavailable("string")
        .build())
    .definedTags(Map.of("string", "string"))
    .nodeShapeConfig(NodePoolNodeShapeConfigArgs.builder()
        .memoryInGbs(0)
        .ocpus(0)
        .build())
    .nodeSourceDetails(NodePoolNodeSourceDetailsArgs.builder()
        .imageId("string")
        .sourceType("string")
        .bootVolumeSizeInGbs("string")
        .build())
    .quantityPerSubnet(0)
    .sshPublicKey("string")
    .subnetIds("string")
    .build());
node_pool_resource = oci.container_engine.NodePool("nodePoolResource",
    cluster_id="string",
    compartment_id="string",
    node_shape="string",
    node_eviction_node_pool_settings=oci.container_engine.NodePoolNodeEvictionNodePoolSettingsArgs(
        eviction_grace_duration="string",
        is_force_delete_after_grace_duration=False,
    ),
    kubernetes_version="string",
    name="string",
    node_config_details=oci.container_engine.NodePoolNodeConfigDetailsArgs(
        placement_configs=[oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigArgs(
            availability_domain="string",
            subnet_id="string",
            capacity_reservation_id="string",
            fault_domains=["string"],
            preemptible_node_config=oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs(
                preemption_action=oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs(
                    type="string",
                    is_preserve_boot_volume=False,
                ),
            ),
        )],
        size=0,
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        is_pv_encryption_in_transit_enabled=False,
        kms_key_id="string",
        node_pool_pod_network_option_details=oci.container_engine.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs(
            cni_type="string",
            max_pods_per_node=0,
            pod_nsg_ids=["string"],
            pod_subnet_ids=["string"],
        ),
        nsg_ids=["string"],
    ),
    freeform_tags={
        "string": "string",
    },
    initial_node_labels=[oci.container_engine.NodePoolInitialNodeLabelArgs(
        key="string",
        value="string",
    )],
    node_metadata={
        "string": "string",
    },
    node_pool_cycling_details=oci.container_engine.NodePoolNodePoolCyclingDetailsArgs(
        is_node_cycling_enabled=False,
        maximum_surge="string",
        maximum_unavailable="string",
    ),
    defined_tags={
        "string": "string",
    },
    node_shape_config=oci.container_engine.NodePoolNodeShapeConfigArgs(
        memory_in_gbs=0,
        ocpus=0,
    ),
    node_source_details=oci.container_engine.NodePoolNodeSourceDetailsArgs(
        image_id="string",
        source_type="string",
        boot_volume_size_in_gbs="string",
    ),
    quantity_per_subnet=0,
    ssh_public_key="string",
    subnet_ids=["string"])
const nodePoolResource = new oci.containerengine.NodePool("nodePoolResource", {
    clusterId: "string",
    compartmentId: "string",
    nodeShape: "string",
    nodeEvictionNodePoolSettings: {
        evictionGraceDuration: "string",
        isForceDeleteAfterGraceDuration: false,
    },
    kubernetesVersion: "string",
    name: "string",
    nodeConfigDetails: {
        placementConfigs: [{
            availabilityDomain: "string",
            subnetId: "string",
            capacityReservationId: "string",
            faultDomains: ["string"],
            preemptibleNodeConfig: {
                preemptionAction: {
                    type: "string",
                    isPreserveBootVolume: false,
                },
            },
        }],
        size: 0,
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        isPvEncryptionInTransitEnabled: false,
        kmsKeyId: "string",
        nodePoolPodNetworkOptionDetails: {
            cniType: "string",
            maxPodsPerNode: 0,
            podNsgIds: ["string"],
            podSubnetIds: ["string"],
        },
        nsgIds: ["string"],
    },
    freeformTags: {
        string: "string",
    },
    initialNodeLabels: [{
        key: "string",
        value: "string",
    }],
    nodeMetadata: {
        string: "string",
    },
    nodePoolCyclingDetails: {
        isNodeCyclingEnabled: false,
        maximumSurge: "string",
        maximumUnavailable: "string",
    },
    definedTags: {
        string: "string",
    },
    nodeShapeConfig: {
        memoryInGbs: 0,
        ocpus: 0,
    },
    nodeSourceDetails: {
        imageId: "string",
        sourceType: "string",
        bootVolumeSizeInGbs: "string",
    },
    quantityPerSubnet: 0,
    sshPublicKey: "string",
    subnetIds: ["string"],
});
type: oci:ContainerEngine:NodePool
properties:
    clusterId: string
    compartmentId: string
    definedTags:
        string: string
    freeformTags:
        string: string
    initialNodeLabels:
        - key: string
          value: string
    kubernetesVersion: string
    name: string
    nodeConfigDetails:
        definedTags:
            string: string
        freeformTags:
            string: string
        isPvEncryptionInTransitEnabled: false
        kmsKeyId: string
        nodePoolPodNetworkOptionDetails:
            cniType: string
            maxPodsPerNode: 0
            podNsgIds:
                - string
            podSubnetIds:
                - string
        nsgIds:
            - string
        placementConfigs:
            - availabilityDomain: string
              capacityReservationId: string
              faultDomains:
                - string
              preemptibleNodeConfig:
                preemptionAction:
                    isPreserveBootVolume: false
                    type: string
              subnetId: string
        size: 0
    nodeEvictionNodePoolSettings:
        evictionGraceDuration: string
        isForceDeleteAfterGraceDuration: false
    nodeMetadata:
        string: string
    nodePoolCyclingDetails:
        isNodeCyclingEnabled: false
        maximumSurge: string
        maximumUnavailable: string
    nodeShape: string
    nodeShapeConfig:
        memoryInGbs: 0
        ocpus: 0
    nodeSourceDetails:
        bootVolumeSizeInGbs: string
        imageId: string
        sourceType: string
    quantityPerSubnet: 0
    sshPublicKey: string
    subnetIds:
        - string
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.
- Dictionary<string, string>
- (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"}
- Dictionary<string, string>
- (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"}
- InitialNode List<NodeLabels Pool Initial Node Label> 
- (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.
- NodeConfig NodeDetails Pool Node Config Details 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- NodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings 
- (Updatable) Node Eviction Details configuration
- NodeImage stringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- NodeImage stringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- NodeMetadata Dictionary<string, string>
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- NodePool NodeCycling Details Pool Node Pool Cycling Details 
- (Updatable) Node Pool Cycling Details
- NodeShape NodeConfig Pool Node Shape Config 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- NodeSource NodeDetails Pool Node Source Details 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- QuantityPer intSubnet 
- (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.
- SshPublic stringKey 
- (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.
- map[string]string
- (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"}
- map[string]string
- (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"}
- InitialNode []NodeLabels Pool Initial Node Label Args 
- (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.
- NodeConfig NodeDetails Pool Node Config Details Args 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- NodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings Args 
- (Updatable) Node Eviction Details configuration
- NodeImage stringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- NodeImage stringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- NodeMetadata map[string]string
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- NodePool NodeCycling Details Pool Node Pool Cycling Details Args 
- (Updatable) Node Pool Cycling Details
- NodeShape NodeConfig Pool Node Shape Config Args 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- NodeSource NodeDetails Pool Node Source Details Args 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- QuantityPer intSubnet 
- (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.
- SshPublic stringKey 
- (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.
- Map<String,String>
- (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"}
- Map<String,String>
- (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"}
- initialNode List<NodeLabels Pool Initial Node Label> 
- (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.
- nodeConfig NodeDetails Pool Node Config Details 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- nodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings 
- (Updatable) Node Eviction Details configuration
- nodeImage StringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- nodeImage StringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- nodeMetadata Map<String,String>
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- nodePool NodeCycling Details Pool Node Pool Cycling Details 
- (Updatable) Node Pool Cycling Details
- nodeShape NodeConfig Pool Node Shape Config 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- nodeSource NodeDetails Pool Node Source Details 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- quantityPer IntegerSubnet 
- (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.
- sshPublic StringKey 
- (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.
- {[key: string]: string}
- (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"}
- {[key: string]: string}
- (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"}
- initialNode NodeLabels Pool Initial Node Label[] 
- (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.
- nodeConfig NodeDetails Pool Node Config Details 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- nodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings 
- (Updatable) Node Eviction Details configuration
- nodeImage stringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- nodeImage stringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- nodeMetadata {[key: string]: string}
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- nodePool NodeCycling Details Pool Node Pool Cycling Details 
- (Updatable) Node Pool Cycling Details
- nodeShape NodeConfig Pool Node Shape Config 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- nodeSource NodeDetails Pool Node Source Details 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- quantityPer numberSubnet 
- (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.
- sshPublic stringKey 
- (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.
- Mapping[str, str]
- (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"}
- Mapping[str, str]
- (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_ Sequence[containerengine.labels Node Pool Initial Node Label Args] 
- (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_ containerengine.details Node Pool Node Config Details Args 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- node_eviction_ containerengine.node_ pool_ settings Node Pool Node Eviction Node Pool Settings Args 
- (Updatable) Node Eviction Details configuration
- node_image_ strid 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- node_image_ strname 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- node_metadata Mapping[str, str]
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node_pool_ containerengine.cycling_ details Node Pool Node Pool Cycling Details Args 
- (Updatable) Node Pool Cycling Details
- node_shape_ containerengine.config Node Pool Node Shape Config Args 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node_source_ containerengine.details Node Pool Node Source Details Args 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- quantity_per_ intsubnet 
- (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_ strkey 
- (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.
- Map<String>
- (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"}
- Map<String>
- (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"}
- initialNode List<Property Map>Labels 
- (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.
- nodeConfig Property MapDetails 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- nodeEviction Property MapNode Pool Settings 
- (Updatable) Node Eviction Details configuration
- nodeImage StringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- nodeImage StringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- nodeMetadata Map<String>
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- nodePool Property MapCycling Details 
- (Updatable) Node Pool Cycling Details
- nodeShape Property MapConfig 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- nodeSource Property MapDetails 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- quantityPer NumberSubnet 
- (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.
- sshPublic StringKey 
- (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<NodePool Node Source> 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- Nodes
List<NodePool Node> 
- 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 []NodePool Node Source 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- Nodes
[]NodePool Node 
- 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<NodePool Node Source> 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- nodes
List<NodePool Node> 
- 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 NodePool Node Source[] 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- nodes
NodePool Node[] 
- 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 Sequence[containerengine.Node Pool Node Source] 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- nodes
Sequence[containerengine.Node Pool Node] 
- 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, str]] = None,
        freeform_tags: Optional[Mapping[str, str]] = 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, str]] = 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) -> NodePoolfunc 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.
- 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.
- Dictionary<string, string>
- (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"}
- Dictionary<string, string>
- (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"}
- InitialNode List<NodeLabels Pool Initial Node Label> 
- (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.
- NodeConfig NodeDetails Pool Node Config Details 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- NodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings 
- (Updatable) Node Eviction Details configuration
- NodeImage stringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- NodeImage stringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- NodeMetadata Dictionary<string, string>
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- NodePool NodeCycling Details Pool Node Pool Cycling Details 
- (Updatable) Node Pool Cycling Details
- NodeShape string
- (Updatable) The name of the node shape of the nodes in the node pool.
- NodeShape NodeConfig Pool Node Shape Config 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- NodeSource NodeDetails Pool Node Source Details 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- NodeSources List<NodePool Node Source> 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- Nodes
List<NodePool Node> 
- The nodes in the node pool.
- QuantityPer intSubnet 
- (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.
- SshPublic stringKey 
- (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.
- map[string]string
- (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"}
- map[string]string
- (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"}
- InitialNode []NodeLabels Pool Initial Node Label Args 
- (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.
- NodeConfig NodeDetails Pool Node Config Details Args 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- NodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings Args 
- (Updatable) Node Eviction Details configuration
- NodeImage stringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- NodeImage stringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- NodeMetadata map[string]string
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- NodePool NodeCycling Details Pool Node Pool Cycling Details Args 
- (Updatable) Node Pool Cycling Details
- NodeShape string
- (Updatable) The name of the node shape of the nodes in the node pool.
- NodeShape NodeConfig Pool Node Shape Config Args 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- NodeSource NodeDetails Pool Node Source Details Args 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- NodeSources []NodePool Node Source Args 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- Nodes
[]NodePool Node Args 
- The nodes in the node pool.
- QuantityPer intSubnet 
- (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.
- SshPublic stringKey 
- (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.
- Map<String,String>
- (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"}
- Map<String,String>
- (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"}
- initialNode List<NodeLabels Pool Initial Node Label> 
- (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.
- nodeConfig NodeDetails Pool Node Config Details 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- nodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings 
- (Updatable) Node Eviction Details configuration
- nodeImage StringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- nodeImage StringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- nodeMetadata Map<String,String>
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- nodePool NodeCycling Details Pool Node Pool Cycling Details 
- (Updatable) Node Pool Cycling Details
- nodeShape String
- (Updatable) The name of the node shape of the nodes in the node pool.
- nodeShape NodeConfig Pool Node Shape Config 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- nodeSource NodeDetails Pool Node Source Details 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- nodeSources List<NodePool Node Source> 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- nodes
List<NodePool Node> 
- The nodes in the node pool.
- quantityPer IntegerSubnet 
- (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.
- sshPublic StringKey 
- (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.
- {[key: string]: string}
- (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"}
- {[key: string]: string}
- (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"}
- initialNode NodeLabels Pool Initial Node Label[] 
- (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.
- nodeConfig NodeDetails Pool Node Config Details 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- nodeEviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings 
- (Updatable) Node Eviction Details configuration
- nodeImage stringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- nodeImage stringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- nodeMetadata {[key: string]: string}
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- nodePool NodeCycling Details Pool Node Pool Cycling Details 
- (Updatable) Node Pool Cycling Details
- nodeShape string
- (Updatable) The name of the node shape of the nodes in the node pool.
- nodeShape NodeConfig Pool Node Shape Config 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- nodeSource NodeDetails Pool Node Source Details 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- nodeSources NodePool Node Source[] 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- nodes
NodePool Node[] 
- The nodes in the node pool.
- quantityPer numberSubnet 
- (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.
- sshPublic stringKey 
- (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.
- Mapping[str, str]
- (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"}
- Mapping[str, str]
- (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_ Sequence[containerengine.labels Node Pool Initial Node Label Args] 
- (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_ containerengine.details Node Pool Node Config Details Args 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- node_eviction_ containerengine.node_ pool_ settings Node Pool Node Eviction Node Pool Settings Args 
- (Updatable) Node Eviction Details configuration
- node_image_ strid 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- node_image_ strname 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- node_metadata Mapping[str, str]
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node_pool_ containerengine.cycling_ details Node Pool Node Pool Cycling Details Args 
- (Updatable) Node Pool Cycling Details
- node_shape str
- (Updatable) The name of the node shape of the nodes in the node pool.
- node_shape_ containerengine.config Node Pool Node Shape Config Args 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node_source_ containerengine.details Node Pool Node Source Details Args 
- (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- node_sources Sequence[containerengine.Node Pool Node Source Args] 
- Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.
- nodes
Sequence[containerengine.Node Pool Node Args] 
- The nodes in the node pool.
- quantity_per_ intsubnet 
- (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_ strkey 
- (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.
- Map<String>
- (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"}
- Map<String>
- (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"}
- initialNode List<Property Map>Labels 
- (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.
- nodeConfig Property MapDetails 
- (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- nodeEviction Property MapNode Pool Settings 
- (Updatable) Node Eviction Details configuration
- nodeImage StringId 
- Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.
- nodeImage StringName 
- Deprecated. Use nodeSourceDetailsinstead. 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 whennode_image_idis specified.
- nodeMetadata Map<String>
- (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- nodePool Property MapCycling Details 
- (Updatable) Node Pool Cycling Details
- nodeShape String
- (Updatable) The name of the node shape of the nodes in the node pool.
- nodeShape Property MapConfig 
- (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- nodeSource Property MapDetails 
- (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.
- quantityPer NumberSubnet 
- (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.
- sshPublic StringKey 
- (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          
NodePoolNode, NodePoolNodeArgs      
- AvailabilityDomain string
- The name of the availability domain in which this node is placed.
- Dictionary<string, string>
- (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<NodePool Node Error> 
- An error that may be associated with the node.
- FaultDomain string
- The fault domain of this node.
- Dictionary<string, string>
- (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.
- NodePool stringId 
- 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
- The OCID of the subnet in which this node is placed.
- AvailabilityDomain string
- The name of the availability domain in which this node is placed.
- map[string]string
- (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
[]NodePool Node Error 
- An error that may be associated with the node.
- FaultDomain string
- The fault domain of this node.
- map[string]string
- (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.
- NodePool stringId 
- 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
- The OCID of the subnet in which this node is placed.
- availabilityDomain String
- The name of the availability domain in which this node is placed.
- Map<String,String>
- (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<NodePool Node Error> 
- An error that may be associated with the node.
- faultDomain String
- The fault domain of this node.
- Map<String,String>
- (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.
- nodePool StringId 
- 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
- The OCID of the subnet in which this node is placed.
- availabilityDomain string
- The name of the availability domain in which this node is placed.
- {[key: string]: string}
- (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
NodePool Node Error[] 
- An error that may be associated with the node.
- faultDomain string
- The fault domain of this node.
- {[key: string]: string}
- (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.
- nodePool stringId 
- 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
- The OCID of the subnet in which this node is placed.
- availability_domain str
- The name of the availability domain in which this node is placed.
- Mapping[str, str]
- (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
Sequence[containerengine.Node Pool Node Error] 
- An error that may be associated with the node.
- fault_domain str
- The fault domain of this node.
- Mapping[str, str]
- (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_ strid 
- 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
- The OCID of the subnet in which this node is placed.
- availabilityDomain String
- The name of the availability domain in which this node is placed.
- Map<String>
- (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.
- Map<String>
- (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.
- nodePool StringId 
- 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
- The OCID of the subnet in which this node is placed.
NodePoolNodeConfigDetails, NodePoolNodeConfigDetailsArgs          
- PlacementConfigs List<NodePool Node Config Details Placement Config> 
- (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.
- Dictionary<string, string>
- (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"}
- Dictionary<string, string>
- (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"}
- IsPv boolEncryption In Transit Enabled 
- (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.
- KmsKey stringId 
- (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- NodePool NodePod Network Option Details Pool Node Config Details Node Pool Pod Network Option Details 
- (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 []NodePool Node Config Details Placement Config 
- (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.
- map[string]string
- (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"}
- map[string]string
- (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"}
- IsPv boolEncryption In Transit Enabled 
- (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.
- KmsKey stringId 
- (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- NodePool NodePod Network Option Details Pool Node Config Details Node Pool Pod Network Option Details 
- (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<NodePool Node Config Details Placement Config> 
- (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.
- Map<String,String>
- (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"}
- Map<String,String>
- (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"}
- isPv BooleanEncryption In Transit Enabled 
- (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.
- kmsKey StringId 
- (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- nodePool NodePod Network Option Details Pool Node Config Details Node Pool Pod Network Option Details 
- (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 NodePool Node Config Details Placement Config[] 
- (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.
- {[key: string]: string}
- (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"}
- {[key: string]: string}
- (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"}
- isPv booleanEncryption In Transit Enabled 
- (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.
- kmsKey stringId 
- (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- nodePool NodePod Network Option Details Pool Node Config Details Node Pool Pod Network Option Details 
- (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 Sequence[containerengine.Node Pool Node Config Details Placement Config] 
- (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.
- Mapping[str, str]
- (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"}
- Mapping[str, str]
- (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_ boolencryption_ in_ transit_ enabled 
- (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_ strid 
- (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- node_pool_ containerengine.pod_ network_ option_ details Node Pool Node Config Details Node Pool Pod Network Option Details 
- (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.
- Map<String>
- (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"}
- Map<String>
- (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"}
- isPv BooleanEncryption In Transit Enabled 
- (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.
- kmsKey StringId 
- (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- nodePool Property MapPod Network Option Details 
- (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
- MaxPods intPer Node 
- (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
- PodNsg List<string>Ids 
- (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
- PodSubnet List<string>Ids 
- (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
- MaxPods intPer Node 
- (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
- PodNsg []stringIds 
- (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
- PodSubnet []stringIds 
- (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
- maxPods IntegerPer Node 
- (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
- podNsg List<String>Ids 
- (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
- podSubnet List<String>Ids 
- (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
- maxPods numberPer Node 
- (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
- podNsg string[]Ids 
- (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
- podSubnet string[]Ids 
- (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_ intper_ node 
- (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_ Sequence[str]ids 
- (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_ Sequence[str]ids 
- (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
- maxPods NumberPer Node 
- (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
- podNsg List<String>Ids 
- (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
- podSubnet List<String>Ids 
- (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.
- CapacityReservation stringId 
- (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.
- PreemptibleNode NodeConfig Pool Node Config Details Placement Config Preemptible Node Config 
- (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.
- CapacityReservation stringId 
- (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.
- PreemptibleNode NodeConfig Pool Node Config Details Placement Config Preemptible Node Config 
- (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.
- capacityReservation StringId 
- (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.
- preemptibleNode NodeConfig Pool Node Config Details Placement Config Preemptible Node Config 
- (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.
- capacityReservation stringId 
- (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.
- preemptibleNode NodeConfig Pool Node Config Details Placement Config Preemptible Node Config 
- (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_ strid 
- (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_ containerengine.config Node Pool Node Config Details Placement Config Preemptible Node Config 
- (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.
- capacityReservation StringId 
- (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.
- preemptibleNode Property MapConfig 
- (Updatable) Configuration options for preemptible nodes.
NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig, NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs                    
- PreemptionAction NodePool Node Config Details Placement Config Preemptible Node Config Preemption Action 
- (Updatable) The action to run when the preemptible node is interrupted for eviction.
- PreemptionAction NodePool Node Config Details Placement Config Preemptible Node Config Preemption Action 
- (Updatable) The action to run when the preemptible node is interrupted for eviction.
- preemptionAction NodePool Node Config Details Placement Config Preemptible Node Config Preemption Action 
- (Updatable) The action to run when the preemptible node is interrupted for eviction.
- preemptionAction NodePool Node Config Details Placement Config Preemptible Node Config Preemption Action 
- (Updatable) The action to run when the preemptible node is interrupted for eviction.
- preemption_action containerengine.Node Pool Node Config Details Placement Config Preemptible Node Config Preemption Action 
- (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.
- IsPreserve boolBoot Volume 
- (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.
- IsPreserve boolBoot Volume 
- (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.
- isPreserve BooleanBoot Volume 
- (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.
- isPreserve booleanBoot Volume 
- (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_ boolboot_ volume 
- (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.
- isPreserve BooleanBoot Volume 
- (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              
- EvictionGrace stringDuration 
- (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
- IsForce boolDelete After Grace Duration 
- (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
- EvictionGrace stringDuration 
- (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
- IsForce boolDelete After Grace Duration 
- (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
- evictionGrace StringDuration 
- (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
- isForce BooleanDelete After Grace Duration 
- (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
- evictionGrace stringDuration 
- (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
- isForce booleanDelete After Grace Duration 
- (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
- eviction_grace_ strduration 
- (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_ booldelete_ after_ grace_ duration 
- (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
- evictionGrace StringDuration 
- (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
- isForce BooleanDelete After Grace Duration 
- (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
NodePoolNodePoolCyclingDetails, NodePoolNodePoolCyclingDetailsArgs            
- IsNode boolCycling Enabled 
- (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% to 100%
- 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% to 100%
- IsNode boolCycling Enabled 
- (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% to 100%
- 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% to 100%
- isNode BooleanCycling Enabled 
- (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% to 100%
- 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% to 100%
- isNode booleanCycling Enabled 
- (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% to 100%
- 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% to 100%
- is_node_ boolcycling_ enabled 
- (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% to 100%
- 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% to 100%
- isNode BooleanCycling Enabled 
- (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% to 100%
- 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% to 100%
NodePoolNodeShapeConfig, NodePoolNodeShapeConfigArgs          
- MemoryIn doubleGbs 
- (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.
- MemoryIn float64Gbs 
- (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.
- memoryIn DoubleGbs 
- (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.
- memoryIn numberGbs 
- (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_ floatgbs 
- (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.
- memoryIn NumberGbs 
- (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
- 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
- The source type for the node. Use IMAGEwhen specifying an OCID of an image.
- ImageId string
- 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
- The source type for the node. Use IMAGEwhen specifying an OCID of an image.
- imageId String
- 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
- The source type for the node. Use IMAGEwhen specifying an OCID of an image.
- imageId string
- 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
- The source type for the node. Use IMAGEwhen specifying an OCID of an image.
- image_id str
- 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
- The source type for the node. Use IMAGEwhen specifying an OCID of an image.
- imageId String
- 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
- The source type for the node. Use IMAGEwhen 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 IMAGEwhen specifying an OCID of an image.
- BootVolume stringSize In Gbs 
- (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 IMAGEwhen specifying an OCID of an image.
- BootVolume stringSize In Gbs 
- (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 IMAGEwhen specifying an OCID of an image.
- bootVolume StringSize In Gbs 
- (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 IMAGEwhen specifying an OCID of an image.
- bootVolume stringSize In Gbs 
- (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 IMAGEwhen specifying an OCID of an image.
- boot_volume_ strsize_ in_ gbs 
- (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 IMAGEwhen specifying an OCID of an image.
- bootVolume StringSize In Gbs 
- (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"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.