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=[oci.container_engine.NodePoolInitialNodeLabelArgs(
key=node_pool_initial_node_labels_key,
value=node_pool_initial_node_labels_value,
)],
kubernetes_version=node_pool_kubernetes_version,
node_config_details=oci.container_engine.NodePoolNodeConfigDetailsArgs(
placement_configs=[oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigArgs(
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=oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs(
preemption_action=oci.container_engine.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs(
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=oci.container_engine.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs(
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.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
nsg_ids=node_pool_node_config_details_nsg_ids,
),
node_eviction_node_pool_settings=oci.container_engine.NodePoolNodeEvictionNodePoolSettingsArgs(
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=oci.container_engine.NodePoolNodePoolCyclingDetailsArgs(
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=oci.container_engine.NodePoolNodeShapeConfigArgs(
memory_in_gbs=node_pool_node_shape_config_memory_in_gbs,
ocpus=node_pool_node_shape_config_ocpus,
),
node_source_details=oci.container_engine.NodePoolNodeSourceDetailsArgs(
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/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.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
FreeformTags: pulumi.Map{
"Department": pulumi.Any("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.Map{
"Operations.CostCenter": pulumi.Any("42"),
},
FreeformTags: pulumi.Map{
"Department": pulumi.Any("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, Any]] = None,
node_image_id: Optional[str] = None,
initial_node_labels: Optional[Sequence[_containerengine.NodePoolInitialNodeLabelArgs]] = None,
node_metadata: Optional[Mapping[str, Any]] = None,
node_pool_cycling_details: Optional[_containerengine.NodePoolNodePoolCyclingDetailsArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = 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", "any" },
},
FreeformTags =
{
{ "string", "any" },
},
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", "any" },
},
InitialNodeLabels = new[]
{
new Oci.ContainerEngine.Inputs.NodePoolInitialNodeLabelArgs
{
Key = "string",
Value = "string",
},
},
NodeMetadata =
{
{ "string", "any" },
},
NodePoolCyclingDetails = new Oci.ContainerEngine.Inputs.NodePoolNodePoolCyclingDetailsArgs
{
IsNodeCyclingEnabled = false,
MaximumSurge = "string",
MaximumUnavailable = "string",
},
DefinedTags =
{
{ "string", "any" },
},
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.Map{
"string": pulumi.Any("any"),
},
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
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.Map{
"string": pulumi.Any("any"),
},
InitialNodeLabels: containerengine.NodePoolInitialNodeLabelArray{
&containerengine.NodePoolInitialNodeLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
NodeMetadata: pulumi.Map{
"string": pulumi.Any("any"),
},
NodePoolCyclingDetails: &containerengine.NodePoolNodePoolCyclingDetailsArgs{
IsNodeCyclingEnabled: pulumi.Bool(false),
MaximumSurge: pulumi.String("string"),
MaximumUnavailable: pulumi.String("string"),
},
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
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", "any"))
.freeformTags(Map.of("string", "any"))
.isPvEncryptionInTransitEnabled(false)
.kmsKeyId("string")
.nodePoolPodNetworkOptionDetails(NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs.builder()
.cniType("string")
.maxPodsPerNode(0)
.podNsgIds("string")
.podSubnetIds("string")
.build())
.nsgIds("string")
.build())
.freeformTags(Map.of("string", "any"))
.initialNodeLabels(NodePoolInitialNodeLabelArgs.builder()
.key("string")
.value("string")
.build())
.nodeMetadata(Map.of("string", "any"))
.nodePoolCyclingDetails(NodePoolNodePoolCyclingDetailsArgs.builder()
.isNodeCyclingEnabled(false)
.maximumSurge("string")
.maximumUnavailable("string")
.build())
.definedTags(Map.of("string", "any"))
.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": "any",
},
freeform_tags={
"string": "any",
},
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": "any",
},
initial_node_labels=[oci.container_engine.NodePoolInitialNodeLabelArgs(
key="string",
value="string",
)],
node_metadata={
"string": "any",
},
node_pool_cycling_details=oci.container_engine.NodePoolNodePoolCyclingDetailsArgs(
is_node_cycling_enabled=False,
maximum_surge="string",
maximum_unavailable="string",
),
defined_tags={
"string": "any",
},
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: "any",
},
freeformTags: {
string: "any",
},
isPvEncryptionInTransitEnabled: false,
kmsKeyId: "string",
nodePoolPodNetworkOptionDetails: {
cniType: "string",
maxPodsPerNode: 0,
podNsgIds: ["string"],
podSubnetIds: ["string"],
},
nsgIds: ["string"],
},
freeformTags: {
string: "any",
},
initialNodeLabels: [{
key: "string",
value: "string",
}],
nodeMetadata: {
string: "any",
},
nodePoolCyclingDetails: {
isNodeCyclingEnabled: false,
maximumSurge: "string",
maximumUnavailable: "string",
},
definedTags: {
string: "any",
},
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: any
freeformTags:
string: any
initialNodeLabels:
- key: string
value: string
kubernetesVersion: string
name: string
nodeConfigDetails:
definedTags:
string: any
freeformTags:
string: any
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: any
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:
- Cluster
Id string - The OCID of the cluster to which this node pool is attached.
- Compartment
Id string - The OCID of the compartment in which the node pool exists.
- Node
Shape string - (Updatable) The name of the node shape of the nodes in the node pool.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Node List<NodeLabels Pool Initial Node Label> - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- Kubernetes
Version 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.
- Node
Config 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.
- Node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings - (Updatable) Node Eviction Details configuration
- Node
Image stringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - Node
Image stringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - Node
Metadata Dictionary<string, object> - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- Node
Pool NodeCycling Details Pool Node Pool Cycling Details - (Updatable) Node Pool Cycling Details
- Node
Shape NodeConfig Pool Node Shape Config - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- Node
Source 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.
- 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 stringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- Subnet
Ids 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
- Cluster
Id string - The OCID of the cluster to which this node pool is attached.
- Compartment
Id string - The OCID of the compartment in which the node pool exists.
- Node
Shape string - (Updatable) The name of the node shape of the nodes in the node pool.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Node []NodeLabels Pool Initial Node Label Args - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- Kubernetes
Version 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.
- Node
Config 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.
- Node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings Args - (Updatable) Node Eviction Details configuration
- Node
Image stringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - Node
Image stringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - Node
Metadata map[string]interface{} - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- Node
Pool NodeCycling Details Pool Node Pool Cycling Details Args - (Updatable) Node Pool Cycling Details
- Node
Shape NodeConfig Pool Node Shape Config Args - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- Node
Source 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.
- 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 stringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- Subnet
Ids []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 String - The OCID of the cluster to which this node pool is attached.
- compartment
Id String - The OCID of the compartment in which the node pool exists.
- node
Shape String - (Updatable) The name of the node shape of the nodes in the node pool.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Node List<NodeLabels Pool Initial Node Label> - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- kubernetes
Version 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.
- node
Config 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.
- node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings - (Updatable) Node Eviction Details configuration
- node
Image StringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - node
Image StringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node
Metadata Map<String,Object> - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node
Pool NodeCycling Details Pool Node Pool Cycling Details - (Updatable) Node Pool Cycling Details
- node
Shape NodeConfig Pool Node Shape Config - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node
Source 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.
- quantity
Per 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.
- ssh
Public StringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- subnet
Ids 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
- cluster
Id string - The OCID of the cluster to which this node pool is attached.
- compartment
Id string - The OCID of the compartment in which the node pool exists.
- node
Shape string - (Updatable) The name of the node shape of the nodes in the node pool.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Node NodeLabels Pool Initial Node Label[] - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- kubernetes
Version 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.
- node
Config 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.
- node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings - (Updatable) Node Eviction Details configuration
- node
Image stringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - node
Image stringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node
Metadata {[key: string]: any} - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node
Pool NodeCycling Details Pool Node Pool Cycling Details - (Updatable) Node Pool Cycling Details
- node
Shape NodeConfig Pool Node Shape Config - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node
Source 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.
- quantity
Per 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.
- ssh
Public stringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- subnet
Ids 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, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial_
node_ 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
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node_
metadata Mapping[str, Any] - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node_
pool_ 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
- cluster
Id String - The OCID of the cluster to which this node pool is attached.
- compartment
Id String - The OCID of the compartment in which the node pool exists.
- node
Shape String - (Updatable) The name of the node shape of the nodes in the node pool.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Node List<Property Map>Labels - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- kubernetes
Version 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.
- node
Config Property MapDetails - (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- node
Eviction Property MapNode Pool Settings - (Updatable) Node Eviction Details configuration
- node
Image StringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - node
Image StringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node
Metadata Map<Any> - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node
Pool Property MapCycling Details - (Updatable) Node Pool Cycling Details
- node
Shape Property MapConfig - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node
Source Property MapDetails - (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- quantity
Per 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.
- ssh
Public StringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- subnet
Ids 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.
- Lifecycle
Details string - Details about the state of the node.
- Node
Sources List<NodePool Node Source> - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - Nodes
List<Node
Pool 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.
- Lifecycle
Details string - Details about the state of the node.
- Node
Sources []NodePool Node Source - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - Nodes
[]Node
Pool 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.
- lifecycle
Details String - Details about the state of the node.
- node
Sources List<NodePool Node Source> - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - nodes
List<Node
Pool 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.
- lifecycle
Details string - Details about the state of the node.
- node
Sources NodePool Node Source[] - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - nodes
Node
Pool 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.
- lifecycle
Details String - Details about the state of the node.
- node
Sources List<Property Map> - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - nodes List<Property Map>
- The nodes in the node pool.
- state String
- The state of the nodepool.
Look up Existing NodePool Resource
Get an existing NodePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NodePoolState, opts?: CustomResourceOptions): NodePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
initial_node_labels: Optional[Sequence[_containerengine.NodePoolInitialNodeLabelArgs]] = None,
kubernetes_version: Optional[str] = None,
lifecycle_details: Optional[str] = None,
name: Optional[str] = None,
node_config_details: Optional[_containerengine.NodePoolNodeConfigDetailsArgs] = None,
node_eviction_node_pool_settings: Optional[_containerengine.NodePoolNodeEvictionNodePoolSettingsArgs] = None,
node_image_id: Optional[str] = None,
node_image_name: Optional[str] = None,
node_metadata: Optional[Mapping[str, Any]] = None,
node_pool_cycling_details: Optional[_containerengine.NodePoolNodePoolCyclingDetailsArgs] = None,
node_shape: Optional[str] = None,
node_shape_config: Optional[_containerengine.NodePoolNodeShapeConfigArgs] = None,
node_source_details: Optional[_containerengine.NodePoolNodeSourceDetailsArgs] = None,
node_sources: Optional[Sequence[_containerengine.NodePoolNodeSourceArgs]] = None,
nodes: Optional[Sequence[_containerengine.NodePoolNodeArgs]] = None,
quantity_per_subnet: Optional[int] = None,
ssh_public_key: Optional[str] = None,
state: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None) -> NodePool
func GetNodePool(ctx *Context, name string, id IDInput, state *NodePoolState, opts ...ResourceOption) (*NodePool, error)
public static NodePool Get(string name, Input<string> id, NodePoolState? state, CustomResourceOptions? opts = null)
public static NodePool get(String name, Output<String> id, NodePoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Id string - The OCID of the cluster to which this node pool is attached.
- Compartment
Id string - The OCID of the compartment in which the node pool exists.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Node List<NodeLabels Pool Initial Node Label> - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- Kubernetes
Version string - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the node.
- Name string
- (Updatable) The name of the node pool. Avoid entering confidential information.
- Node
Config 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.
- Node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings - (Updatable) Node Eviction Details configuration
- Node
Image stringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - Node
Image stringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - Node
Metadata Dictionary<string, object> - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- Node
Pool NodeCycling Details Pool Node Pool Cycling Details - (Updatable) Node Pool Cycling Details
- Node
Shape string - (Updatable) The name of the node shape of the nodes in the node pool.
- Node
Shape NodeConfig Pool Node Shape Config - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- Node
Source 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.
- Node
Sources List<NodePool Node Source> - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - Nodes
List<Node
Pool Node> - 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 stringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- State string
- The state of the nodepool.
- Subnet
Ids 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
- Cluster
Id string - The OCID of the cluster to which this node pool is attached.
- Compartment
Id string - The OCID of the compartment in which the node pool exists.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Initial
Node []NodeLabels Pool Initial Node Label Args - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- Kubernetes
Version string - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the node.
- Name string
- (Updatable) The name of the node pool. Avoid entering confidential information.
- Node
Config 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.
- Node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings Args - (Updatable) Node Eviction Details configuration
- Node
Image stringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - Node
Image stringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - Node
Metadata map[string]interface{} - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- Node
Pool NodeCycling Details Pool Node Pool Cycling Details Args - (Updatable) Node Pool Cycling Details
- Node
Shape string - (Updatable) The name of the node shape of the nodes in the node pool.
- Node
Shape NodeConfig Pool Node Shape Config Args - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- Node
Source 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.
- Node
Sources []NodePool Node Source Args - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - Nodes
[]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 stringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- State string
- The state of the nodepool.
- Subnet
Ids []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 String - The OCID of the cluster to which this node pool is attached.
- compartment
Id String - The OCID of the compartment in which the node pool exists.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Node List<NodeLabels Pool Initial Node Label> - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- kubernetes
Version String - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the node.
- name String
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node
Config 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.
- node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings - (Updatable) Node Eviction Details configuration
- node
Image StringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - node
Image StringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node
Metadata Map<String,Object> - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node
Pool NodeCycling Details Pool Node Pool Cycling Details - (Updatable) Node Pool Cycling Details
- node
Shape String - (Updatable) The name of the node shape of the nodes in the node pool.
- node
Shape NodeConfig Pool Node Shape Config - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node
Source 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.
- node
Sources List<NodePool Node Source> - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - nodes
List<Node
Pool Node> - The nodes in the node pool.
- quantity
Per 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.
- ssh
Public StringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- state String
- The state of the nodepool.
- subnet
Ids 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
- cluster
Id string - The OCID of the cluster to which this node pool is attached.
- compartment
Id string - The OCID of the compartment in which the node pool exists.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Node NodeLabels Pool Initial Node Label[] - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- kubernetes
Version string - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle
Details string - Details about the state of the node.
- name string
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node
Config 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.
- node
Eviction NodeNode Pool Settings Pool Node Eviction Node Pool Settings - (Updatable) Node Eviction Details configuration
- node
Image stringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - node
Image stringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node
Metadata {[key: string]: any} - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node
Pool NodeCycling Details Pool Node Pool Cycling Details - (Updatable) Node Pool Cycling Details
- node
Shape string - (Updatable) The name of the node shape of the nodes in the node pool.
- node
Shape NodeConfig Pool Node Shape Config - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node
Source 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.
- node
Sources NodePool Node Source[] - Deprecated. see
nodeSourceDetails
. Source running on the nodes in the node pool. - nodes
Node
Pool Node[] - The nodes in the node pool.
- quantity
Per 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.
- ssh
Public stringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- state string
- The state of the nodepool.
- subnet
Ids 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, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial_
node_ 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
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node_
metadata Mapping[str, Any] - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node_
pool_ 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
- cluster
Id String - The OCID of the cluster to which this node pool is attached.
- compartment
Id String - The OCID of the compartment in which the node pool exists.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- initial
Node List<Property Map>Labels - (Updatable) A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
- kubernetes
Version String - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the node.
- name String
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node
Config Property MapDetails - (Updatable) The configuration of nodes in the node pool. Exactly one of the subnetIds or nodeConfigDetails properties must be specified.
- node
Eviction Property MapNode Pool Settings - (Updatable) Node Eviction Details configuration
- node
Image StringId - Deprecated. see
nodeSource
. The OCID of the image running on the nodes in the node pool. - node
Image StringName - Deprecated. Use
nodeSourceDetails
instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used whennode_image_id
is specified. - node
Metadata Map<Any> - (Updatable) A list of key/value pairs to add to each underlying Oracle Cloud Infrastructure instance in the node pool on launch.
- node
Pool Property MapCycling Details - (Updatable) Node Pool Cycling Details
- node
Shape String - (Updatable) The name of the node shape of the nodes in the node pool.
- node
Shape Property MapConfig - (Updatable) Specify the configuration of the shape to launch nodes in the node pool.
- node
Source Property MapDetails - (Updatable) Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
- node
Sources 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.
- quantity
Per 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.
- ssh
Public StringKey - (Updatable) The SSH public key on each node in the node pool on launch.
- state String
- The state of the nodepool.
- subnet
Ids 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
- Availability
Domain string - The name of the availability domain in which this node is placed.
- Dictionary<string, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Errors
List<Node
Pool Node Error> - An error that may be associated with the node.
- Fault
Domain string - The fault domain of this node.
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the compute instance backing this node.
- Kubernetes
Version string - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the node.
- Name string
- (Updatable) The name of the node pool. Avoid entering confidential information.
- Node
Pool stringId - The OCID of the node pool to which this node belongs.
- Private
Ip string - The private IP address of this node.
- Public
Ip string - The public IP address of this node.
- State string
- The state of the nodepool.
- Subnet
Id string - The OCID of the subnet in which this node is placed.
- Availability
Domain string - The name of the availability domain in which this node is placed.
- map[string]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Errors
[]Node
Pool Node Error - An error that may be associated with the node.
- Fault
Domain string - The fault domain of this node.
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the compute instance backing this node.
- Kubernetes
Version string - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- Lifecycle
Details string - Details about the state of the node.
- Name string
- (Updatable) The name of the node pool. Avoid entering confidential information.
- Node
Pool stringId - The OCID of the node pool to which this node belongs.
- Private
Ip string - The private IP address of this node.
- Public
Ip string - The public IP address of this node.
- State string
- The state of the nodepool.
- Subnet
Id string - The OCID of the subnet in which this node is placed.
- availability
Domain String - The name of the availability domain in which this node is placed.
- Map<String,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- errors
List<Node
Pool Node Error> - An error that may be associated with the node.
- fault
Domain String - The fault domain of this node.
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the compute instance backing this node.
- kubernetes
Version String - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the node.
- name String
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node
Pool StringId - The OCID of the node pool to which this node belongs.
- private
Ip String - The private IP address of this node.
- public
Ip String - The public IP address of this node.
- state String
- The state of the nodepool.
- subnet
Id String - The OCID of the subnet in which this node is placed.
- availability
Domain string - The name of the availability domain in which this node is placed.
- {[key: string]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- errors
Node
Pool Node Error[] - An error that may be associated with the node.
- fault
Domain string - The fault domain of this node.
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id string
- The OCID of the compute instance backing this node.
- kubernetes
Version string - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle
Details string - Details about the state of the node.
- name string
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node
Pool stringId - The OCID of the node pool to which this node belongs.
- private
Ip string - The private IP address of this node.
- public
Ip string - The public IP address of this node.
- state string
- The state of the nodepool.
- subnet
Id 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, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- errors
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, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id str
- The OCID of the compute instance backing this node.
- kubernetes_
version str - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle_
details str - Details about the state of the node.
- name str
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node_
pool_ 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.
- availability
Domain String - The name of the availability domain in which this node is placed.
- Map<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- errors List<Property Map>
- An error that may be associated with the node.
- fault
Domain String - The fault domain of this node.
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the compute instance backing this node.
- kubernetes
Version String - (Updatable) The version of Kubernetes to install on the nodes in the node pool.
- lifecycle
Details String - Details about the state of the node.
- name String
- (Updatable) The name of the node pool. Avoid entering confidential information.
- node
Pool StringId - The OCID of the node pool to which this node belongs.
- private
Ip String - The private IP address of this node.
- public
Ip String - The public IP address of this node.
- state String
- The state of the nodepool.
- subnet
Id String - The OCID of the subnet in which this node is placed.
NodePoolNodeConfigDetails, NodePoolNodeConfigDetailsArgs
- Placement
Configs 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, object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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 stringId - (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- Node
Pool 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.
- Nsg
Ids 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.
- Placement
Configs []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]interface{}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]interface{}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- 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 stringId - (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- Node
Pool 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.
- Nsg
Ids []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 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,Object>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,Object>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Pv 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.
- kms
Key StringId - (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- node
Pool 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.
- nsg
Ids 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.
- placement
Configs 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]: any}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: any}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Pv 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.
- kms
Key stringId - (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- node
Pool 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.
- nsg
Ids 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, Any]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, Any]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
pv_ 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.
- placement
Configs 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<Any>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<Any>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Pv 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.
- kms
Key StringId - (Updatable) The OCID of the Key Management Service key assigned to the boot volume.
- node
Pool Property MapPod Network Option Details - (Updatable) The CNI related configuration of pods in the node pool.
- nsg
Ids 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
- Cni
Type string - (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 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.
- Pod
Subnet 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
- Cni
Type string - (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 []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.
- Pod
Subnet []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
- cni
Type String - (Updatable) The CNI plugin used by this node pool
- max
Pods 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
- pod
Nsg 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.
- pod
Subnet 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
- cni
Type string - (Updatable) The CNI plugin used by this node pool
- max
Pods 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
- pod
Nsg 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.
- pod
Subnet 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
- cni
Type String - (Updatable) The CNI plugin used by this node pool
- max
Pods 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
- pod
Nsg 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.
- pod
Subnet 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
- Availability
Domain string - (Updatable) The availability domain in which to place nodes. Example:
Uocm:PHX-AD-1
- Subnet
Id string - (Updatable) The OCID of the subnet in which to place nodes.
- Capacity
Reservation stringId - (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
- Fault
Domains List<string> - (Updatable) A list of fault domains in which to place nodes.
- Preemptible
Node NodeConfig Pool Node Config Details Placement Config Preemptible Node Config - (Updatable) Configuration options for preemptible nodes.
- Availability
Domain string - (Updatable) The availability domain in which to place nodes. Example:
Uocm:PHX-AD-1
- Subnet
Id string - (Updatable) The OCID of the subnet in which to place nodes.
- Capacity
Reservation stringId - (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
- Fault
Domains []string - (Updatable) A list of fault domains in which to place nodes.
- Preemptible
Node NodeConfig Pool Node Config Details Placement Config Preemptible Node Config - (Updatable) Configuration options for preemptible nodes.
- availability
Domain String - (Updatable) The availability domain in which to place nodes. Example:
Uocm:PHX-AD-1
- subnet
Id String - (Updatable) The OCID of the subnet in which to place nodes.
- capacity
Reservation StringId - (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
- fault
Domains List<String> - (Updatable) A list of fault domains in which to place nodes.
- preemptible
Node NodeConfig Pool Node Config Details Placement Config Preemptible Node Config - (Updatable) Configuration options for preemptible nodes.
- availability
Domain string - (Updatable) The availability domain in which to place nodes. Example:
Uocm:PHX-AD-1
- subnet
Id string - (Updatable) The OCID of the subnet in which to place nodes.
- capacity
Reservation stringId - (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
- fault
Domains string[] - (Updatable) A list of fault domains in which to place nodes.
- preemptible
Node 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.
- availability
Domain String - (Updatable) The availability domain in which to place nodes. Example:
Uocm:PHX-AD-1
- subnet
Id String - (Updatable) The OCID of the subnet in which to place nodes.
- capacity
Reservation StringId - (Updatable) The OCID of the compute capacity reservation in which to place the compute instance.
- fault
Domains List<String> - (Updatable) A list of fault domains in which to place nodes.
- preemptible
Node Property MapConfig - (Updatable) Configuration options for preemptible nodes.
NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig, NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs
- Preemption
Action 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 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 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 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.
- preemption
Action 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.
- 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.
- 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.
- is
Preserve 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.
- is
Preserve 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.
- is
Preserve 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
- Eviction
Grace 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
- 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
- Eviction
Grace 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
- 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
- eviction
Grace 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
- is
Force 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 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
- is
Force 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
- eviction
Grace 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
- is
Force 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
- Is
Node boolCycling Enabled - (Updatable) If nodes in the nodepool will be cycled to have new changes.
- Maximum
Surge 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 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 BooleanCycling Enabled - (Updatable) If nodes in the nodepool will be cycled to have new changes.
- maximum
Surge 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 booleanCycling Enabled - (Updatable) If nodes in the nodepool will be cycled to have new changes.
- maximum
Surge 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%
- is
Node BooleanCycling Enabled - (Updatable) If nodes in the nodepool will be cycled to have new changes.
- maximum
Surge 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
- Memory
In 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.
- Memory
In 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.
- memory
In 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.
- memory
In 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.
- memory
In 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
- Image
Id string - The OCID of the image used to boot the node.
- Source
Name string - The user-friendly name of the entity corresponding to the OCID.
- Source
Type string - The source type for the node. Use
IMAGE
when specifying an OCID of an image.
- Image
Id string - The OCID of the image used to boot the node.
- Source
Name string - The user-friendly name of the entity corresponding to the OCID.
- Source
Type string - The source type for the node. Use
IMAGE
when specifying an OCID of an image.
- image
Id String - The OCID of the image used to boot the node.
- source
Name String - The user-friendly name of the entity corresponding to the OCID.
- source
Type String - The source type for the node. Use
IMAGE
when specifying an OCID of an image.
- image
Id string - The OCID of the image used to boot the node.
- source
Name string - The user-friendly name of the entity corresponding to the OCID.
- source
Type string - The source type for the node. Use
IMAGE
when 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
IMAGE
when specifying an OCID of an image.
- image
Id String - The OCID of the image used to boot the node.
- source
Name String - The user-friendly name of the entity corresponding to the OCID.
- source
Type String - The source type for the node. Use
IMAGE
when specifying an OCID of an image.
NodePoolNodeSourceDetails, NodePoolNodeSourceDetailsArgs
- Image
Id string - (Updatable) The OCID of the image used to boot the node.
- Source
Type string - (Updatable) The source type for the node. Use
IMAGE
when specifying an OCID of an image. - Boot
Volume 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 string - (Updatable) The OCID of the image used to boot the node.
- Source
Type string - (Updatable) The source type for the node. Use
IMAGE
when specifying an OCID of an image. - Boot
Volume 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 String - (Updatable) The OCID of the image used to boot the node.
- source
Type String - (Updatable) The source type for the node. Use
IMAGE
when specifying an OCID of an image. - boot
Volume 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 string - (Updatable) The OCID of the image used to boot the node.
- source
Type string - (Updatable) The source type for the node. Use
IMAGE
when specifying an OCID of an image. - boot
Volume 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
IMAGE
when 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.
- image
Id String - (Updatable) The OCID of the image used to boot the node.
- source
Type String - (Updatable) The source type for the node. Use
IMAGE
when specifying an OCID of an image. - boot
Volume 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
oci
Terraform Provider.