1. Packages
  2. Nutanix
  3. API Docs
  4. KarbonCluster
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

nutanix.KarbonCluster

Explore with Pulumi AI

nutanix logo
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    Provides a Nutanix Karbon Cluster resource to Create a k8s cluster.

    Note: Minimum tested version is Karbon 2.2

    Note: Kubernetes and Node OS upgrades are not supported using this provider.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const exampleCluster = new nutanix.KarbonCluster("exampleCluster", {
        cniConfig: {
            nodeCidrMaskSize: 24,
            podIpv4Cidr: "172.20.0.0/16",
            serviceIpv4Cidr: "172.19.0.0/16",
        },
        etcdNodePool: {
            ahvConfig: {
                networkUuid: "my_subnet_id",
                prismElementClusterUuid: "my_pe_cluster_uuid",
            },
            nodeOsVersion: "ntnx-1.0",
            numInstances: 1,
        },
        masterNodePool: {
            ahvConfig: {
                networkUuid: "my_subnet_id",
                prismElementClusterUuid: "my_pe_cluster_uuid",
            },
            nodeOsVersion: "ntnx-1.0",
            numInstances: 1,
        },
        storageClassConfig: {
            reclaimPolicy: "Delete",
            volumesConfig: {
                fileSystem: "ext4",
                flashMode: false,
                password: "my_pe_pw",
                prismElementClusterUuid: "my_pe_cluster_uuid",
                storageContainer: "my_storage_container_name",
                username: "my_pe_username",
            },
        },
        version: "1.18.15-1",
        workerNodePool: {
            ahvConfig: {
                networkUuid: "my_subnet_id",
                prismElementClusterUuid: "my_pe_cluster_uuid",
            },
            nodeOsVersion: "ntnx-1.0",
            numInstances: 1,
        },
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    example_cluster = nutanix.KarbonCluster("exampleCluster",
        cni_config={
            "node_cidr_mask_size": 24,
            "pod_ipv4_cidr": "172.20.0.0/16",
            "service_ipv4_cidr": "172.19.0.0/16",
        },
        etcd_node_pool={
            "ahv_config": {
                "network_uuid": "my_subnet_id",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
            },
            "node_os_version": "ntnx-1.0",
            "num_instances": 1,
        },
        master_node_pool={
            "ahv_config": {
                "network_uuid": "my_subnet_id",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
            },
            "node_os_version": "ntnx-1.0",
            "num_instances": 1,
        },
        storage_class_config={
            "reclaim_policy": "Delete",
            "volumes_config": {
                "file_system": "ext4",
                "flash_mode": False,
                "password": "my_pe_pw",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
                "storage_container": "my_storage_container_name",
                "username": "my_pe_username",
            },
        },
        version="1.18.15-1",
        worker_node_pool={
            "ahv_config": {
                "network_uuid": "my_subnet_id",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
            },
            "node_os_version": "ntnx-1.0",
            "num_instances": 1,
        })
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewKarbonCluster(ctx, "exampleCluster", &nutanix.KarbonClusterArgs{
    			CniConfig: &nutanix.KarbonClusterCniConfigArgs{
    				NodeCidrMaskSize: pulumi.Int(24),
    				PodIpv4Cidr:      pulumi.String("172.20.0.0/16"),
    				ServiceIpv4Cidr:  pulumi.String("172.19.0.0/16"),
    			},
    			EtcdNodePool: &nutanix.KarbonClusterEtcdNodePoolArgs{
    				AhvConfig: &nutanix.KarbonClusterEtcdNodePoolAhvConfigArgs{
    					NetworkUuid:             pulumi.String("my_subnet_id"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    				},
    				NodeOsVersion: pulumi.String("ntnx-1.0"),
    				NumInstances:  pulumi.Int(1),
    			},
    			MasterNodePool: &nutanix.KarbonClusterMasterNodePoolArgs{
    				AhvConfig: &nutanix.KarbonClusterMasterNodePoolAhvConfigArgs{
    					NetworkUuid:             pulumi.String("my_subnet_id"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    				},
    				NodeOsVersion: pulumi.String("ntnx-1.0"),
    				NumInstances:  pulumi.Int(1),
    			},
    			StorageClassConfig: &nutanix.KarbonClusterStorageClassConfigArgs{
    				ReclaimPolicy: pulumi.String("Delete"),
    				VolumesConfig: &nutanix.KarbonClusterStorageClassConfigVolumesConfigArgs{
    					FileSystem:              pulumi.String("ext4"),
    					FlashMode:               pulumi.Bool(false),
    					Password:                pulumi.String("my_pe_pw"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    					StorageContainer:        pulumi.String("my_storage_container_name"),
    					Username:                pulumi.String("my_pe_username"),
    				},
    			},
    			Version: pulumi.String("1.18.15-1"),
    			WorkerNodePool: &nutanix.KarbonClusterWorkerNodePoolArgs{
    				AhvConfig: &nutanix.KarbonClusterWorkerNodePoolAhvConfigArgs{
    					NetworkUuid:             pulumi.String("my_subnet_id"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    				},
    				NodeOsVersion: pulumi.String("ntnx-1.0"),
    				NumInstances:  pulumi.Int(1),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCluster = new Nutanix.KarbonCluster("exampleCluster", new()
        {
            CniConfig = new Nutanix.Inputs.KarbonClusterCniConfigArgs
            {
                NodeCidrMaskSize = 24,
                PodIpv4Cidr = "172.20.0.0/16",
                ServiceIpv4Cidr = "172.19.0.0/16",
            },
            EtcdNodePool = new Nutanix.Inputs.KarbonClusterEtcdNodePoolArgs
            {
                AhvConfig = new Nutanix.Inputs.KarbonClusterEtcdNodePoolAhvConfigArgs
                {
                    NetworkUuid = "my_subnet_id",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                },
                NodeOsVersion = "ntnx-1.0",
                NumInstances = 1,
            },
            MasterNodePool = new Nutanix.Inputs.KarbonClusterMasterNodePoolArgs
            {
                AhvConfig = new Nutanix.Inputs.KarbonClusterMasterNodePoolAhvConfigArgs
                {
                    NetworkUuid = "my_subnet_id",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                },
                NodeOsVersion = "ntnx-1.0",
                NumInstances = 1,
            },
            StorageClassConfig = new Nutanix.Inputs.KarbonClusterStorageClassConfigArgs
            {
                ReclaimPolicy = "Delete",
                VolumesConfig = new Nutanix.Inputs.KarbonClusterStorageClassConfigVolumesConfigArgs
                {
                    FileSystem = "ext4",
                    FlashMode = false,
                    Password = "my_pe_pw",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                    StorageContainer = "my_storage_container_name",
                    Username = "my_pe_username",
                },
            },
            Version = "1.18.15-1",
            WorkerNodePool = new Nutanix.Inputs.KarbonClusterWorkerNodePoolArgs
            {
                AhvConfig = new Nutanix.Inputs.KarbonClusterWorkerNodePoolAhvConfigArgs
                {
                    NetworkUuid = "my_subnet_id",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                },
                NodeOsVersion = "ntnx-1.0",
                NumInstances = 1,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.KarbonCluster;
    import com.pulumi.nutanix.KarbonClusterArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterCniConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterEtcdNodePoolArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterEtcdNodePoolAhvConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterMasterNodePoolArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterMasterNodePoolAhvConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterStorageClassConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterStorageClassConfigVolumesConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterWorkerNodePoolArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterWorkerNodePoolAhvConfigArgs;
    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 exampleCluster = new KarbonCluster("exampleCluster", KarbonClusterArgs.builder()
                .cniConfig(KarbonClusterCniConfigArgs.builder()
                    .nodeCidrMaskSize(24)
                    .podIpv4Cidr("172.20.0.0/16")
                    .serviceIpv4Cidr("172.19.0.0/16")
                    .build())
                .etcdNodePool(KarbonClusterEtcdNodePoolArgs.builder()
                    .ahvConfig(KarbonClusterEtcdNodePoolAhvConfigArgs.builder()
                        .networkUuid("my_subnet_id")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .build())
                    .nodeOsVersion("ntnx-1.0")
                    .numInstances(1)
                    .build())
                .masterNodePool(KarbonClusterMasterNodePoolArgs.builder()
                    .ahvConfig(KarbonClusterMasterNodePoolAhvConfigArgs.builder()
                        .networkUuid("my_subnet_id")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .build())
                    .nodeOsVersion("ntnx-1.0")
                    .numInstances(1)
                    .build())
                .storageClassConfig(KarbonClusterStorageClassConfigArgs.builder()
                    .reclaimPolicy("Delete")
                    .volumesConfig(KarbonClusterStorageClassConfigVolumesConfigArgs.builder()
                        .fileSystem("ext4")
                        .flashMode(false)
                        .password("my_pe_pw")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .storageContainer("my_storage_container_name")
                        .username("my_pe_username")
                        .build())
                    .build())
                .version("1.18.15-1")
                .workerNodePool(KarbonClusterWorkerNodePoolArgs.builder()
                    .ahvConfig(KarbonClusterWorkerNodePoolAhvConfigArgs.builder()
                        .networkUuid("my_subnet_id")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .build())
                    .nodeOsVersion("ntnx-1.0")
                    .numInstances(1)
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleCluster:
        type: nutanix:KarbonCluster
        properties:
          cniConfig:
            nodeCidrMaskSize: 24
            podIpv4Cidr: 172.20.0.0/16
            serviceIpv4Cidr: 172.19.0.0/16
          etcdNodePool:
            ahvConfig:
              networkUuid: my_subnet_id
              prismElementClusterUuid: my_pe_cluster_uuid
            nodeOsVersion: ntnx-1.0
            numInstances: 1
          masterNodePool:
            ahvConfig:
              networkUuid: my_subnet_id
              prismElementClusterUuid: my_pe_cluster_uuid
            nodeOsVersion: ntnx-1.0
            numInstances: 1
          storageClassConfig:
            reclaimPolicy: Delete
            volumesConfig:
              fileSystem: ext4
              flashMode: false
              password: my_pe_pw
              prismElementClusterUuid: my_pe_cluster_uuid
              storageContainer: my_storage_container_name
              username: my_pe_username
          version: 1.18.15-1
          workerNodePool:
            ahvConfig:
              networkUuid: my_subnet_id
              prismElementClusterUuid: my_pe_cluster_uuid
            nodeOsVersion: ntnx-1.0
            numInstances: 1
    

    resource to create karbon cluster with timeouts

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const exampleCluster = new nutanix.KarbonCluster("exampleCluster", {
        cniConfig: {
            nodeCidrMaskSize: 24,
            podIpv4Cidr: "172.20.0.0/16",
            serviceIpv4Cidr: "172.19.0.0/16",
        },
        etcdNodePool: {
            ahvConfig: {
                networkUuid: "my_subnet_id",
                prismElementClusterUuid: "my_pe_cluster_uuid",
            },
            nodeOsVersion: "ntnx-1.0",
            numInstances: 1,
        },
        masterNodePool: {
            ahvConfig: {
                networkUuid: "my_subnet_id",
                prismElementClusterUuid: "my_pe_cluster_uuid",
            },
            nodeOsVersion: "ntnx-1.0",
            numInstances: 1,
        },
        storageClassConfig: {
            reclaimPolicy: "Delete",
            volumesConfig: {
                fileSystem: "ext4",
                flashMode: false,
                password: "my_pe_pw",
                prismElementClusterUuid: "my_pe_cluster_uuid",
                storageContainer: "my_storage_container_name",
                username: "my_pe_username",
            },
        },
        version: "1.18.15-1",
        workerNodePool: {
            ahvConfig: {
                networkUuid: "my_subnet_id",
                prismElementClusterUuid: "my_pe_cluster_uuid",
            },
            nodeOsVersion: "ntnx-1.0",
            numInstances: 1,
        },
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    example_cluster = nutanix.KarbonCluster("exampleCluster",
        cni_config={
            "node_cidr_mask_size": 24,
            "pod_ipv4_cidr": "172.20.0.0/16",
            "service_ipv4_cidr": "172.19.0.0/16",
        },
        etcd_node_pool={
            "ahv_config": {
                "network_uuid": "my_subnet_id",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
            },
            "node_os_version": "ntnx-1.0",
            "num_instances": 1,
        },
        master_node_pool={
            "ahv_config": {
                "network_uuid": "my_subnet_id",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
            },
            "node_os_version": "ntnx-1.0",
            "num_instances": 1,
        },
        storage_class_config={
            "reclaim_policy": "Delete",
            "volumes_config": {
                "file_system": "ext4",
                "flash_mode": False,
                "password": "my_pe_pw",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
                "storage_container": "my_storage_container_name",
                "username": "my_pe_username",
            },
        },
        version="1.18.15-1",
        worker_node_pool={
            "ahv_config": {
                "network_uuid": "my_subnet_id",
                "prism_element_cluster_uuid": "my_pe_cluster_uuid",
            },
            "node_os_version": "ntnx-1.0",
            "num_instances": 1,
        })
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewKarbonCluster(ctx, "exampleCluster", &nutanix.KarbonClusterArgs{
    			CniConfig: &nutanix.KarbonClusterCniConfigArgs{
    				NodeCidrMaskSize: pulumi.Int(24),
    				PodIpv4Cidr:      pulumi.String("172.20.0.0/16"),
    				ServiceIpv4Cidr:  pulumi.String("172.19.0.0/16"),
    			},
    			EtcdNodePool: &nutanix.KarbonClusterEtcdNodePoolArgs{
    				AhvConfig: &nutanix.KarbonClusterEtcdNodePoolAhvConfigArgs{
    					NetworkUuid:             pulumi.String("my_subnet_id"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    				},
    				NodeOsVersion: pulumi.String("ntnx-1.0"),
    				NumInstances:  pulumi.Int(1),
    			},
    			MasterNodePool: &nutanix.KarbonClusterMasterNodePoolArgs{
    				AhvConfig: &nutanix.KarbonClusterMasterNodePoolAhvConfigArgs{
    					NetworkUuid:             pulumi.String("my_subnet_id"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    				},
    				NodeOsVersion: pulumi.String("ntnx-1.0"),
    				NumInstances:  pulumi.Int(1),
    			},
    			StorageClassConfig: &nutanix.KarbonClusterStorageClassConfigArgs{
    				ReclaimPolicy: pulumi.String("Delete"),
    				VolumesConfig: &nutanix.KarbonClusterStorageClassConfigVolumesConfigArgs{
    					FileSystem:              pulumi.String("ext4"),
    					FlashMode:               pulumi.Bool(false),
    					Password:                pulumi.String("my_pe_pw"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    					StorageContainer:        pulumi.String("my_storage_container_name"),
    					Username:                pulumi.String("my_pe_username"),
    				},
    			},
    			Version: pulumi.String("1.18.15-1"),
    			WorkerNodePool: &nutanix.KarbonClusterWorkerNodePoolArgs{
    				AhvConfig: &nutanix.KarbonClusterWorkerNodePoolAhvConfigArgs{
    					NetworkUuid:             pulumi.String("my_subnet_id"),
    					PrismElementClusterUuid: pulumi.String("my_pe_cluster_uuid"),
    				},
    				NodeOsVersion: pulumi.String("ntnx-1.0"),
    				NumInstances:  pulumi.Int(1),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleCluster = new Nutanix.KarbonCluster("exampleCluster", new()
        {
            CniConfig = new Nutanix.Inputs.KarbonClusterCniConfigArgs
            {
                NodeCidrMaskSize = 24,
                PodIpv4Cidr = "172.20.0.0/16",
                ServiceIpv4Cidr = "172.19.0.0/16",
            },
            EtcdNodePool = new Nutanix.Inputs.KarbonClusterEtcdNodePoolArgs
            {
                AhvConfig = new Nutanix.Inputs.KarbonClusterEtcdNodePoolAhvConfigArgs
                {
                    NetworkUuid = "my_subnet_id",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                },
                NodeOsVersion = "ntnx-1.0",
                NumInstances = 1,
            },
            MasterNodePool = new Nutanix.Inputs.KarbonClusterMasterNodePoolArgs
            {
                AhvConfig = new Nutanix.Inputs.KarbonClusterMasterNodePoolAhvConfigArgs
                {
                    NetworkUuid = "my_subnet_id",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                },
                NodeOsVersion = "ntnx-1.0",
                NumInstances = 1,
            },
            StorageClassConfig = new Nutanix.Inputs.KarbonClusterStorageClassConfigArgs
            {
                ReclaimPolicy = "Delete",
                VolumesConfig = new Nutanix.Inputs.KarbonClusterStorageClassConfigVolumesConfigArgs
                {
                    FileSystem = "ext4",
                    FlashMode = false,
                    Password = "my_pe_pw",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                    StorageContainer = "my_storage_container_name",
                    Username = "my_pe_username",
                },
            },
            Version = "1.18.15-1",
            WorkerNodePool = new Nutanix.Inputs.KarbonClusterWorkerNodePoolArgs
            {
                AhvConfig = new Nutanix.Inputs.KarbonClusterWorkerNodePoolAhvConfigArgs
                {
                    NetworkUuid = "my_subnet_id",
                    PrismElementClusterUuid = "my_pe_cluster_uuid",
                },
                NodeOsVersion = "ntnx-1.0",
                NumInstances = 1,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.KarbonCluster;
    import com.pulumi.nutanix.KarbonClusterArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterCniConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterEtcdNodePoolArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterEtcdNodePoolAhvConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterMasterNodePoolArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterMasterNodePoolAhvConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterStorageClassConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterStorageClassConfigVolumesConfigArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterWorkerNodePoolArgs;
    import com.pulumi.nutanix.inputs.KarbonClusterWorkerNodePoolAhvConfigArgs;
    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 exampleCluster = new KarbonCluster("exampleCluster", KarbonClusterArgs.builder()
                .cniConfig(KarbonClusterCniConfigArgs.builder()
                    .nodeCidrMaskSize(24)
                    .podIpv4Cidr("172.20.0.0/16")
                    .serviceIpv4Cidr("172.19.0.0/16")
                    .build())
                .etcdNodePool(KarbonClusterEtcdNodePoolArgs.builder()
                    .ahvConfig(KarbonClusterEtcdNodePoolAhvConfigArgs.builder()
                        .networkUuid("my_subnet_id")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .build())
                    .nodeOsVersion("ntnx-1.0")
                    .numInstances(1)
                    .build())
                .masterNodePool(KarbonClusterMasterNodePoolArgs.builder()
                    .ahvConfig(KarbonClusterMasterNodePoolAhvConfigArgs.builder()
                        .networkUuid("my_subnet_id")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .build())
                    .nodeOsVersion("ntnx-1.0")
                    .numInstances(1)
                    .build())
                .storageClassConfig(KarbonClusterStorageClassConfigArgs.builder()
                    .reclaimPolicy("Delete")
                    .volumesConfig(KarbonClusterStorageClassConfigVolumesConfigArgs.builder()
                        .fileSystem("ext4")
                        .flashMode(false)
                        .password("my_pe_pw")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .storageContainer("my_storage_container_name")
                        .username("my_pe_username")
                        .build())
                    .build())
                .version("1.18.15-1")
                .workerNodePool(KarbonClusterWorkerNodePoolArgs.builder()
                    .ahvConfig(KarbonClusterWorkerNodePoolAhvConfigArgs.builder()
                        .networkUuid("my_subnet_id")
                        .prismElementClusterUuid("my_pe_cluster_uuid")
                        .build())
                    .nodeOsVersion("ntnx-1.0")
                    .numInstances(1)
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleCluster:
        type: nutanix:KarbonCluster
        properties:
          cniConfig:
            nodeCidrMaskSize: 24
            podIpv4Cidr: 172.20.0.0/16
            serviceIpv4Cidr: 172.19.0.0/16
          etcdNodePool:
            ahvConfig:
              networkUuid: my_subnet_id
              prismElementClusterUuid: my_pe_cluster_uuid
            nodeOsVersion: ntnx-1.0
            numInstances: 1
          masterNodePool:
            ahvConfig:
              networkUuid: my_subnet_id
              prismElementClusterUuid: my_pe_cluster_uuid
            nodeOsVersion: ntnx-1.0
            numInstances: 1
          storageClassConfig:
            reclaimPolicy: Delete
            volumesConfig:
              fileSystem: ext4
              flashMode: false
              password: my_pe_pw
              prismElementClusterUuid: my_pe_cluster_uuid
              storageContainer: my_storage_container_name
              username: my_pe_username
          version: 1.18.15-1
          workerNodePool:
            ahvConfig:
              networkUuid: my_subnet_id
              prismElementClusterUuid: my_pe_cluster_uuid
            nodeOsVersion: ntnx-1.0
            numInstances: 1
    

    Create KarbonCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KarbonCluster(name: string, args: KarbonClusterArgs, opts?: CustomResourceOptions);
    @overload
    def KarbonCluster(resource_name: str,
                      args: KarbonClusterArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def KarbonCluster(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cni_config: Optional[KarbonClusterCniConfigArgs] = None,
                      etcd_node_pool: Optional[KarbonClusterEtcdNodePoolArgs] = None,
                      master_node_pool: Optional[KarbonClusterMasterNodePoolArgs] = None,
                      storage_class_config: Optional[KarbonClusterStorageClassConfigArgs] = None,
                      version: Optional[str] = None,
                      worker_node_pool: Optional[KarbonClusterWorkerNodePoolArgs] = None,
                      active_passive_config: Optional[KarbonClusterActivePassiveConfigArgs] = None,
                      external_lb_config: Optional[KarbonClusterExternalLbConfigArgs] = None,
                      name: Optional[str] = None,
                      private_registries: Optional[Sequence[KarbonClusterPrivateRegistryArgs]] = None,
                      single_master_config: Optional[KarbonClusterSingleMasterConfigArgs] = None,
                      wait_timeout_minutes: Optional[int] = None)
    func NewKarbonCluster(ctx *Context, name string, args KarbonClusterArgs, opts ...ResourceOption) (*KarbonCluster, error)
    public KarbonCluster(string name, KarbonClusterArgs args, CustomResourceOptions? opts = null)
    public KarbonCluster(String name, KarbonClusterArgs args)
    public KarbonCluster(String name, KarbonClusterArgs args, CustomResourceOptions options)
    
    type: nutanix:KarbonCluster
    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 KarbonClusterArgs
    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 KarbonClusterArgs
    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 KarbonClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KarbonClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KarbonClusterArgs
    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 karbonClusterResource = new Nutanix.KarbonCluster("karbonClusterResource", new()
    {
        CniConfig = new Nutanix.Inputs.KarbonClusterCniConfigArgs
        {
            CalicoConfig = new Nutanix.Inputs.KarbonClusterCniConfigCalicoConfigArgs
            {
                IpPoolConfigs = new[]
                {
                    new Nutanix.Inputs.KarbonClusterCniConfigCalicoConfigIpPoolConfigArgs
                    {
                        Cidr = "string",
                    },
                },
            },
            FlannelConfigs = new[]
            {
                null,
            },
            NodeCidrMaskSize = 0,
            PodIpv4Cidr = "string",
            ServiceIpv4Cidr = "string",
        },
        EtcdNodePool = new Nutanix.Inputs.KarbonClusterEtcdNodePoolArgs
        {
            NodeOsVersion = "string",
            NumInstances = 0,
            AhvConfig = new Nutanix.Inputs.KarbonClusterEtcdNodePoolAhvConfigArgs
            {
                NetworkUuid = "string",
                PrismElementClusterUuid = "string",
                Cpu = 0,
                DiskMib = 0,
                MemoryMib = 0,
            },
            Name = "string",
            Nodes = new[]
            {
                new Nutanix.Inputs.KarbonClusterEtcdNodePoolNodeArgs
                {
                    Hostname = "string",
                    Ipv4Address = "string",
                },
            },
        },
        MasterNodePool = new Nutanix.Inputs.KarbonClusterMasterNodePoolArgs
        {
            NodeOsVersion = "string",
            NumInstances = 0,
            AhvConfig = new Nutanix.Inputs.KarbonClusterMasterNodePoolAhvConfigArgs
            {
                NetworkUuid = "string",
                PrismElementClusterUuid = "string",
                Cpu = 0,
                DiskMib = 0,
                MemoryMib = 0,
            },
            Name = "string",
            Nodes = new[]
            {
                new Nutanix.Inputs.KarbonClusterMasterNodePoolNodeArgs
                {
                    Hostname = "string",
                    Ipv4Address = "string",
                },
            },
        },
        StorageClassConfig = new Nutanix.Inputs.KarbonClusterStorageClassConfigArgs
        {
            VolumesConfig = new Nutanix.Inputs.KarbonClusterStorageClassConfigVolumesConfigArgs
            {
                Password = "string",
                PrismElementClusterUuid = "string",
                StorageContainer = "string",
                Username = "string",
                FileSystem = "string",
                FlashMode = false,
            },
            Name = "string",
            ReclaimPolicy = "string",
        },
        Version = "string",
        WorkerNodePool = new Nutanix.Inputs.KarbonClusterWorkerNodePoolArgs
        {
            NodeOsVersion = "string",
            NumInstances = 0,
            AhvConfig = new Nutanix.Inputs.KarbonClusterWorkerNodePoolAhvConfigArgs
            {
                NetworkUuid = "string",
                PrismElementClusterUuid = "string",
                Cpu = 0,
                DiskMib = 0,
                MemoryMib = 0,
            },
            Name = "string",
            Nodes = new[]
            {
                new Nutanix.Inputs.KarbonClusterWorkerNodePoolNodeArgs
                {
                    Hostname = "string",
                    Ipv4Address = "string",
                },
            },
        },
        ActivePassiveConfig = new Nutanix.Inputs.KarbonClusterActivePassiveConfigArgs
        {
            ExternalIpv4Address = "string",
        },
        ExternalLbConfig = new Nutanix.Inputs.KarbonClusterExternalLbConfigArgs
        {
            ExternalIpv4Address = "string",
            MasterNodesConfigs = new[]
            {
                new Nutanix.Inputs.KarbonClusterExternalLbConfigMasterNodesConfigArgs
                {
                    Ipv4Address = "string",
                    NodePoolName = "string",
                },
            },
        },
        Name = "string",
        PrivateRegistries = new[]
        {
            new Nutanix.Inputs.KarbonClusterPrivateRegistryArgs
            {
                RegistryName = "string",
            },
        },
        SingleMasterConfig = null,
    });
    
    example, err := nutanix.NewKarbonCluster(ctx, "karbonClusterResource", &nutanix.KarbonClusterArgs{
    	CniConfig: &nutanix.KarbonClusterCniConfigArgs{
    		CalicoConfig: &nutanix.KarbonClusterCniConfigCalicoConfigArgs{
    			IpPoolConfigs: nutanix.KarbonClusterCniConfigCalicoConfigIpPoolConfigArray{
    				&nutanix.KarbonClusterCniConfigCalicoConfigIpPoolConfigArgs{
    					Cidr: pulumi.String("string"),
    				},
    			},
    		},
    		FlannelConfigs: nutanix.KarbonClusterCniConfigFlannelConfigArray{
    			&nutanix.KarbonClusterCniConfigFlannelConfigArgs{},
    		},
    		NodeCidrMaskSize: pulumi.Int(0),
    		PodIpv4Cidr:      pulumi.String("string"),
    		ServiceIpv4Cidr:  pulumi.String("string"),
    	},
    	EtcdNodePool: &nutanix.KarbonClusterEtcdNodePoolArgs{
    		NodeOsVersion: pulumi.String("string"),
    		NumInstances:  pulumi.Int(0),
    		AhvConfig: &nutanix.KarbonClusterEtcdNodePoolAhvConfigArgs{
    			NetworkUuid:             pulumi.String("string"),
    			PrismElementClusterUuid: pulumi.String("string"),
    			Cpu:                     pulumi.Int(0),
    			DiskMib:                 pulumi.Int(0),
    			MemoryMib:               pulumi.Int(0),
    		},
    		Name: pulumi.String("string"),
    		Nodes: nutanix.KarbonClusterEtcdNodePoolNodeArray{
    			&nutanix.KarbonClusterEtcdNodePoolNodeArgs{
    				Hostname:    pulumi.String("string"),
    				Ipv4Address: pulumi.String("string"),
    			},
    		},
    	},
    	MasterNodePool: &nutanix.KarbonClusterMasterNodePoolArgs{
    		NodeOsVersion: pulumi.String("string"),
    		NumInstances:  pulumi.Int(0),
    		AhvConfig: &nutanix.KarbonClusterMasterNodePoolAhvConfigArgs{
    			NetworkUuid:             pulumi.String("string"),
    			PrismElementClusterUuid: pulumi.String("string"),
    			Cpu:                     pulumi.Int(0),
    			DiskMib:                 pulumi.Int(0),
    			MemoryMib:               pulumi.Int(0),
    		},
    		Name: pulumi.String("string"),
    		Nodes: nutanix.KarbonClusterMasterNodePoolNodeArray{
    			&nutanix.KarbonClusterMasterNodePoolNodeArgs{
    				Hostname:    pulumi.String("string"),
    				Ipv4Address: pulumi.String("string"),
    			},
    		},
    	},
    	StorageClassConfig: &nutanix.KarbonClusterStorageClassConfigArgs{
    		VolumesConfig: &nutanix.KarbonClusterStorageClassConfigVolumesConfigArgs{
    			Password:                pulumi.String("string"),
    			PrismElementClusterUuid: pulumi.String("string"),
    			StorageContainer:        pulumi.String("string"),
    			Username:                pulumi.String("string"),
    			FileSystem:              pulumi.String("string"),
    			FlashMode:               pulumi.Bool(false),
    		},
    		Name:          pulumi.String("string"),
    		ReclaimPolicy: pulumi.String("string"),
    	},
    	Version: pulumi.String("string"),
    	WorkerNodePool: &nutanix.KarbonClusterWorkerNodePoolArgs{
    		NodeOsVersion: pulumi.String("string"),
    		NumInstances:  pulumi.Int(0),
    		AhvConfig: &nutanix.KarbonClusterWorkerNodePoolAhvConfigArgs{
    			NetworkUuid:             pulumi.String("string"),
    			PrismElementClusterUuid: pulumi.String("string"),
    			Cpu:                     pulumi.Int(0),
    			DiskMib:                 pulumi.Int(0),
    			MemoryMib:               pulumi.Int(0),
    		},
    		Name: pulumi.String("string"),
    		Nodes: nutanix.KarbonClusterWorkerNodePoolNodeArray{
    			&nutanix.KarbonClusterWorkerNodePoolNodeArgs{
    				Hostname:    pulumi.String("string"),
    				Ipv4Address: pulumi.String("string"),
    			},
    		},
    	},
    	ActivePassiveConfig: &nutanix.KarbonClusterActivePassiveConfigArgs{
    		ExternalIpv4Address: pulumi.String("string"),
    	},
    	ExternalLbConfig: &nutanix.KarbonClusterExternalLbConfigArgs{
    		ExternalIpv4Address: pulumi.String("string"),
    		MasterNodesConfigs: nutanix.KarbonClusterExternalLbConfigMasterNodesConfigArray{
    			&nutanix.KarbonClusterExternalLbConfigMasterNodesConfigArgs{
    				Ipv4Address:  pulumi.String("string"),
    				NodePoolName: pulumi.String("string"),
    			},
    		},
    	},
    	Name: pulumi.String("string"),
    	PrivateRegistries: nutanix.KarbonClusterPrivateRegistryArray{
    		&nutanix.KarbonClusterPrivateRegistryArgs{
    			RegistryName: pulumi.String("string"),
    		},
    	},
    	SingleMasterConfig: &nutanix.KarbonClusterSingleMasterConfigArgs{},
    })
    
    var karbonClusterResource = new KarbonCluster("karbonClusterResource", KarbonClusterArgs.builder()
        .cniConfig(KarbonClusterCniConfigArgs.builder()
            .calicoConfig(KarbonClusterCniConfigCalicoConfigArgs.builder()
                .ipPoolConfigs(KarbonClusterCniConfigCalicoConfigIpPoolConfigArgs.builder()
                    .cidr("string")
                    .build())
                .build())
            .flannelConfigs()
            .nodeCidrMaskSize(0)
            .podIpv4Cidr("string")
            .serviceIpv4Cidr("string")
            .build())
        .etcdNodePool(KarbonClusterEtcdNodePoolArgs.builder()
            .nodeOsVersion("string")
            .numInstances(0)
            .ahvConfig(KarbonClusterEtcdNodePoolAhvConfigArgs.builder()
                .networkUuid("string")
                .prismElementClusterUuid("string")
                .cpu(0)
                .diskMib(0)
                .memoryMib(0)
                .build())
            .name("string")
            .nodes(KarbonClusterEtcdNodePoolNodeArgs.builder()
                .hostname("string")
                .ipv4Address("string")
                .build())
            .build())
        .masterNodePool(KarbonClusterMasterNodePoolArgs.builder()
            .nodeOsVersion("string")
            .numInstances(0)
            .ahvConfig(KarbonClusterMasterNodePoolAhvConfigArgs.builder()
                .networkUuid("string")
                .prismElementClusterUuid("string")
                .cpu(0)
                .diskMib(0)
                .memoryMib(0)
                .build())
            .name("string")
            .nodes(KarbonClusterMasterNodePoolNodeArgs.builder()
                .hostname("string")
                .ipv4Address("string")
                .build())
            .build())
        .storageClassConfig(KarbonClusterStorageClassConfigArgs.builder()
            .volumesConfig(KarbonClusterStorageClassConfigVolumesConfigArgs.builder()
                .password("string")
                .prismElementClusterUuid("string")
                .storageContainer("string")
                .username("string")
                .fileSystem("string")
                .flashMode(false)
                .build())
            .name("string")
            .reclaimPolicy("string")
            .build())
        .version("string")
        .workerNodePool(KarbonClusterWorkerNodePoolArgs.builder()
            .nodeOsVersion("string")
            .numInstances(0)
            .ahvConfig(KarbonClusterWorkerNodePoolAhvConfigArgs.builder()
                .networkUuid("string")
                .prismElementClusterUuid("string")
                .cpu(0)
                .diskMib(0)
                .memoryMib(0)
                .build())
            .name("string")
            .nodes(KarbonClusterWorkerNodePoolNodeArgs.builder()
                .hostname("string")
                .ipv4Address("string")
                .build())
            .build())
        .activePassiveConfig(KarbonClusterActivePassiveConfigArgs.builder()
            .externalIpv4Address("string")
            .build())
        .externalLbConfig(KarbonClusterExternalLbConfigArgs.builder()
            .externalIpv4Address("string")
            .masterNodesConfigs(KarbonClusterExternalLbConfigMasterNodesConfigArgs.builder()
                .ipv4Address("string")
                .nodePoolName("string")
                .build())
            .build())
        .name("string")
        .privateRegistries(KarbonClusterPrivateRegistryArgs.builder()
            .registryName("string")
            .build())
        .singleMasterConfig()
        .build());
    
    karbon_cluster_resource = nutanix.KarbonCluster("karbonClusterResource",
        cni_config={
            "calico_config": {
                "ip_pool_configs": [{
                    "cidr": "string",
                }],
            },
            "flannel_configs": [{}],
            "node_cidr_mask_size": 0,
            "pod_ipv4_cidr": "string",
            "service_ipv4_cidr": "string",
        },
        etcd_node_pool={
            "node_os_version": "string",
            "num_instances": 0,
            "ahv_config": {
                "network_uuid": "string",
                "prism_element_cluster_uuid": "string",
                "cpu": 0,
                "disk_mib": 0,
                "memory_mib": 0,
            },
            "name": "string",
            "nodes": [{
                "hostname": "string",
                "ipv4_address": "string",
            }],
        },
        master_node_pool={
            "node_os_version": "string",
            "num_instances": 0,
            "ahv_config": {
                "network_uuid": "string",
                "prism_element_cluster_uuid": "string",
                "cpu": 0,
                "disk_mib": 0,
                "memory_mib": 0,
            },
            "name": "string",
            "nodes": [{
                "hostname": "string",
                "ipv4_address": "string",
            }],
        },
        storage_class_config={
            "volumes_config": {
                "password": "string",
                "prism_element_cluster_uuid": "string",
                "storage_container": "string",
                "username": "string",
                "file_system": "string",
                "flash_mode": False,
            },
            "name": "string",
            "reclaim_policy": "string",
        },
        version="string",
        worker_node_pool={
            "node_os_version": "string",
            "num_instances": 0,
            "ahv_config": {
                "network_uuid": "string",
                "prism_element_cluster_uuid": "string",
                "cpu": 0,
                "disk_mib": 0,
                "memory_mib": 0,
            },
            "name": "string",
            "nodes": [{
                "hostname": "string",
                "ipv4_address": "string",
            }],
        },
        active_passive_config={
            "external_ipv4_address": "string",
        },
        external_lb_config={
            "external_ipv4_address": "string",
            "master_nodes_configs": [{
                "ipv4_address": "string",
                "node_pool_name": "string",
            }],
        },
        name="string",
        private_registries=[{
            "registry_name": "string",
        }],
        single_master_config={})
    
    const karbonClusterResource = new nutanix.KarbonCluster("karbonClusterResource", {
        cniConfig: {
            calicoConfig: {
                ipPoolConfigs: [{
                    cidr: "string",
                }],
            },
            flannelConfigs: [{}],
            nodeCidrMaskSize: 0,
            podIpv4Cidr: "string",
            serviceIpv4Cidr: "string",
        },
        etcdNodePool: {
            nodeOsVersion: "string",
            numInstances: 0,
            ahvConfig: {
                networkUuid: "string",
                prismElementClusterUuid: "string",
                cpu: 0,
                diskMib: 0,
                memoryMib: 0,
            },
            name: "string",
            nodes: [{
                hostname: "string",
                ipv4Address: "string",
            }],
        },
        masterNodePool: {
            nodeOsVersion: "string",
            numInstances: 0,
            ahvConfig: {
                networkUuid: "string",
                prismElementClusterUuid: "string",
                cpu: 0,
                diskMib: 0,
                memoryMib: 0,
            },
            name: "string",
            nodes: [{
                hostname: "string",
                ipv4Address: "string",
            }],
        },
        storageClassConfig: {
            volumesConfig: {
                password: "string",
                prismElementClusterUuid: "string",
                storageContainer: "string",
                username: "string",
                fileSystem: "string",
                flashMode: false,
            },
            name: "string",
            reclaimPolicy: "string",
        },
        version: "string",
        workerNodePool: {
            nodeOsVersion: "string",
            numInstances: 0,
            ahvConfig: {
                networkUuid: "string",
                prismElementClusterUuid: "string",
                cpu: 0,
                diskMib: 0,
                memoryMib: 0,
            },
            name: "string",
            nodes: [{
                hostname: "string",
                ipv4Address: "string",
            }],
        },
        activePassiveConfig: {
            externalIpv4Address: "string",
        },
        externalLbConfig: {
            externalIpv4Address: "string",
            masterNodesConfigs: [{
                ipv4Address: "string",
                nodePoolName: "string",
            }],
        },
        name: "string",
        privateRegistries: [{
            registryName: "string",
        }],
        singleMasterConfig: {},
    });
    
    type: nutanix:KarbonCluster
    properties:
        activePassiveConfig:
            externalIpv4Address: string
        cniConfig:
            calicoConfig:
                ipPoolConfigs:
                    - cidr: string
            flannelConfigs:
                - {}
            nodeCidrMaskSize: 0
            podIpv4Cidr: string
            serviceIpv4Cidr: string
        etcdNodePool:
            ahvConfig:
                cpu: 0
                diskMib: 0
                memoryMib: 0
                networkUuid: string
                prismElementClusterUuid: string
            name: string
            nodeOsVersion: string
            nodes:
                - hostname: string
                  ipv4Address: string
            numInstances: 0
        externalLbConfig:
            externalIpv4Address: string
            masterNodesConfigs:
                - ipv4Address: string
                  nodePoolName: string
        masterNodePool:
            ahvConfig:
                cpu: 0
                diskMib: 0
                memoryMib: 0
                networkUuid: string
                prismElementClusterUuid: string
            name: string
            nodeOsVersion: string
            nodes:
                - hostname: string
                  ipv4Address: string
            numInstances: 0
        name: string
        privateRegistries:
            - registryName: string
        singleMasterConfig: {}
        storageClassConfig:
            name: string
            reclaimPolicy: string
            volumesConfig:
                fileSystem: string
                flashMode: false
                password: string
                prismElementClusterUuid: string
                storageContainer: string
                username: string
        version: string
        workerNodePool:
            ahvConfig:
                cpu: 0
                diskMib: 0
                memoryMib: 0
                networkUuid: string
                prismElementClusterUuid: string
            name: string
            nodeOsVersion: string
            nodes:
                - hostname: string
                  ipv4Address: string
            numInstances: 0
    

    KarbonCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The KarbonCluster resource accepts the following input properties:

    CniConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterCniConfig
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    EtcdNodePool PiersKarsenbarg.Nutanix.Inputs.KarbonClusterEtcdNodePool
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    MasterNodePool PiersKarsenbarg.Nutanix.Inputs.KarbonClusterMasterNodePool
    • (Required) Configuration of the master node pools.
    StorageClassConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterStorageClassConfig
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    Version string
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    WorkerNodePool PiersKarsenbarg.Nutanix.Inputs.KarbonClusterWorkerNodePool
    ActivePassiveConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterActivePassiveConfig
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    ExternalLbConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterExternalLbConfig
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    Name string
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    PrivateRegistries List<PiersKarsenbarg.Nutanix.Inputs.KarbonClusterPrivateRegistry>
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    SingleMasterConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterSingleMasterConfig
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    WaitTimeoutMinutes int
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    CniConfig KarbonClusterCniConfigArgs
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    EtcdNodePool KarbonClusterEtcdNodePoolArgs
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    MasterNodePool KarbonClusterMasterNodePoolArgs
    • (Required) Configuration of the master node pools.
    StorageClassConfig KarbonClusterStorageClassConfigArgs
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    Version string
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    WorkerNodePool KarbonClusterWorkerNodePoolArgs
    ActivePassiveConfig KarbonClusterActivePassiveConfigArgs
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    ExternalLbConfig KarbonClusterExternalLbConfigArgs
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    Name string
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    PrivateRegistries []KarbonClusterPrivateRegistryArgs
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    SingleMasterConfig KarbonClusterSingleMasterConfigArgs
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    WaitTimeoutMinutes int
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    cniConfig KarbonClusterCniConfig
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    etcdNodePool KarbonClusterEtcdNodePool
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    masterNodePool KarbonClusterMasterNodePool
    • (Required) Configuration of the master node pools.
    storageClassConfig KarbonClusterStorageClassConfig
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version String
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    workerNodePool KarbonClusterWorkerNodePool
    activePassiveConfig KarbonClusterActivePassiveConfig
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    externalLbConfig KarbonClusterExternalLbConfig
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    name String
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    privateRegistries List<KarbonClusterPrivateRegistry>
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    singleMasterConfig KarbonClusterSingleMasterConfig
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    waitTimeoutMinutes Integer
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    cniConfig KarbonClusterCniConfig
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    etcdNodePool KarbonClusterEtcdNodePool
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    masterNodePool KarbonClusterMasterNodePool
    • (Required) Configuration of the master node pools.
    storageClassConfig KarbonClusterStorageClassConfig
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version string
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    workerNodePool KarbonClusterWorkerNodePool
    activePassiveConfig KarbonClusterActivePassiveConfig
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    externalLbConfig KarbonClusterExternalLbConfig
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    name string
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    privateRegistries KarbonClusterPrivateRegistry[]
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    singleMasterConfig KarbonClusterSingleMasterConfig
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    waitTimeoutMinutes number
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    cni_config KarbonClusterCniConfigArgs
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    etcd_node_pool KarbonClusterEtcdNodePoolArgs
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    master_node_pool KarbonClusterMasterNodePoolArgs
    • (Required) Configuration of the master node pools.
    storage_class_config KarbonClusterStorageClassConfigArgs
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version str
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    worker_node_pool KarbonClusterWorkerNodePoolArgs
    active_passive_config KarbonClusterActivePassiveConfigArgs
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    external_lb_config KarbonClusterExternalLbConfigArgs
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    name str
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    private_registries Sequence[KarbonClusterPrivateRegistryArgs]
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    single_master_config KarbonClusterSingleMasterConfigArgs
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    wait_timeout_minutes int
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    cniConfig Property Map
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    etcdNodePool Property Map
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    masterNodePool Property Map
    • (Required) Configuration of the master node pools.
    storageClassConfig Property Map
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version String
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    workerNodePool Property Map
    activePassiveConfig Property Map
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    externalLbConfig Property Map
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    name String
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    privateRegistries List<Property Map>
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    singleMasterConfig Property Map
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    waitTimeoutMinutes Number
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    Outputs

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

    DeploymentType string
    Id string
    The provider-assigned unique ID for this managed resource.
    KubeapiServerIpv4Address string
    Status string
    DeploymentType string
    Id string
    The provider-assigned unique ID for this managed resource.
    KubeapiServerIpv4Address string
    Status string
    deploymentType String
    id String
    The provider-assigned unique ID for this managed resource.
    kubeapiServerIpv4Address String
    status String
    deploymentType string
    id string
    The provider-assigned unique ID for this managed resource.
    kubeapiServerIpv4Address string
    status string
    deployment_type str
    id str
    The provider-assigned unique ID for this managed resource.
    kubeapi_server_ipv4_address str
    status str
    deploymentType String
    id String
    The provider-assigned unique ID for this managed resource.
    kubeapiServerIpv4Address String
    status String

    Look up Existing KarbonCluster Resource

    Get an existing KarbonCluster 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?: KarbonClusterState, opts?: CustomResourceOptions): KarbonCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active_passive_config: Optional[KarbonClusterActivePassiveConfigArgs] = None,
            cni_config: Optional[KarbonClusterCniConfigArgs] = None,
            deployment_type: Optional[str] = None,
            etcd_node_pool: Optional[KarbonClusterEtcdNodePoolArgs] = None,
            external_lb_config: Optional[KarbonClusterExternalLbConfigArgs] = None,
            kubeapi_server_ipv4_address: Optional[str] = None,
            master_node_pool: Optional[KarbonClusterMasterNodePoolArgs] = None,
            name: Optional[str] = None,
            private_registries: Optional[Sequence[KarbonClusterPrivateRegistryArgs]] = None,
            single_master_config: Optional[KarbonClusterSingleMasterConfigArgs] = None,
            status: Optional[str] = None,
            storage_class_config: Optional[KarbonClusterStorageClassConfigArgs] = None,
            version: Optional[str] = None,
            wait_timeout_minutes: Optional[int] = None,
            worker_node_pool: Optional[KarbonClusterWorkerNodePoolArgs] = None) -> KarbonCluster
    func GetKarbonCluster(ctx *Context, name string, id IDInput, state *KarbonClusterState, opts ...ResourceOption) (*KarbonCluster, error)
    public static KarbonCluster Get(string name, Input<string> id, KarbonClusterState? state, CustomResourceOptions? opts = null)
    public static KarbonCluster get(String name, Output<String> id, KarbonClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActivePassiveConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterActivePassiveConfig
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    CniConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterCniConfig
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    DeploymentType string
    EtcdNodePool PiersKarsenbarg.Nutanix.Inputs.KarbonClusterEtcdNodePool
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    ExternalLbConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterExternalLbConfig
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    KubeapiServerIpv4Address string
    MasterNodePool PiersKarsenbarg.Nutanix.Inputs.KarbonClusterMasterNodePool
    • (Required) Configuration of the master node pools.
    Name string
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    PrivateRegistries List<PiersKarsenbarg.Nutanix.Inputs.KarbonClusterPrivateRegistry>
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    SingleMasterConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterSingleMasterConfig
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    Status string
    StorageClassConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterStorageClassConfig
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    Version string
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    WaitTimeoutMinutes int
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    WorkerNodePool PiersKarsenbarg.Nutanix.Inputs.KarbonClusterWorkerNodePool
    ActivePassiveConfig KarbonClusterActivePassiveConfigArgs
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    CniConfig KarbonClusterCniConfigArgs
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    DeploymentType string
    EtcdNodePool KarbonClusterEtcdNodePoolArgs
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    ExternalLbConfig KarbonClusterExternalLbConfigArgs
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    KubeapiServerIpv4Address string
    MasterNodePool KarbonClusterMasterNodePoolArgs
    • (Required) Configuration of the master node pools.
    Name string
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    PrivateRegistries []KarbonClusterPrivateRegistryArgs
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    SingleMasterConfig KarbonClusterSingleMasterConfigArgs
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    Status string
    StorageClassConfig KarbonClusterStorageClassConfigArgs
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    Version string
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    WaitTimeoutMinutes int
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    WorkerNodePool KarbonClusterWorkerNodePoolArgs
    activePassiveConfig KarbonClusterActivePassiveConfig
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    cniConfig KarbonClusterCniConfig
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    deploymentType String
    etcdNodePool KarbonClusterEtcdNodePool
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    externalLbConfig KarbonClusterExternalLbConfig
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    kubeapiServerIpv4Address String
    masterNodePool KarbonClusterMasterNodePool
    • (Required) Configuration of the master node pools.
    name String
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    privateRegistries List<KarbonClusterPrivateRegistry>
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    singleMasterConfig KarbonClusterSingleMasterConfig
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    status String
    storageClassConfig KarbonClusterStorageClassConfig
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version String
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    waitTimeoutMinutes Integer
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    workerNodePool KarbonClusterWorkerNodePool
    activePassiveConfig KarbonClusterActivePassiveConfig
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    cniConfig KarbonClusterCniConfig
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    deploymentType string
    etcdNodePool KarbonClusterEtcdNodePool
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    externalLbConfig KarbonClusterExternalLbConfig
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    kubeapiServerIpv4Address string
    masterNodePool KarbonClusterMasterNodePool
    • (Required) Configuration of the master node pools.
    name string
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    privateRegistries KarbonClusterPrivateRegistry[]
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    singleMasterConfig KarbonClusterSingleMasterConfig
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    status string
    storageClassConfig KarbonClusterStorageClassConfig
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version string
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    waitTimeoutMinutes number
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    workerNodePool KarbonClusterWorkerNodePool
    active_passive_config KarbonClusterActivePassiveConfigArgs
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    cni_config KarbonClusterCniConfigArgs
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    deployment_type str
    etcd_node_pool KarbonClusterEtcdNodePoolArgs
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    external_lb_config KarbonClusterExternalLbConfigArgs
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    kubeapi_server_ipv4_address str
    master_node_pool KarbonClusterMasterNodePoolArgs
    • (Required) Configuration of the master node pools.
    name str
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    private_registries Sequence[KarbonClusterPrivateRegistryArgs]
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    single_master_config KarbonClusterSingleMasterConfigArgs
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    status str
    storage_class_config KarbonClusterStorageClassConfigArgs
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version str
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    wait_timeout_minutes int
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    worker_node_pool KarbonClusterWorkerNodePoolArgs
    activePassiveConfig Property Map
    • (Optional) The active passive mode uses the Virtual Router Redundancy Protocol (VRRP) protocol to provide high availability of the master. Note: Updates to this attribute forces new resource creation.
    cniConfig Property Map
    • (Required) K8s cluster networking configuration. The flannel or the calico configuration needs to be provided. Note: Updates to this attribute forces new resource creation.
    deploymentType String
    etcdNodePool Property Map
    • (Required) Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    externalLbConfig Property Map
    • (Optional) The external load balancer configuration in the case of a multi-master-external-load-balancer type master deployment. Note: Updates to this attribute forces new resource creation.
    kubeapiServerIpv4Address String
    masterNodePool Property Map
    • (Required) Configuration of the master node pools.
    name String
    • (Required) The name for the k8s cluster. Note: Updates to this attribute forces new resource creation.
    privateRegistries List<Property Map>
    • (Optional) Allows the Karbon cluster to pull images of a list of private registries.
    singleMasterConfig Property Map
    • (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
    status String
    storageClassConfig Property Map
    • (Required) Storage class configuration attribute for defining the persistent volume attributes. Note: Updates to this attribute forces new resource creation.
    version String
    • (Required) K8s version of the cluster. Note: Updates to this attribute forces new resource creation.
    waitTimeoutMinutes Number
    • (Optional) Maximum wait time for the Karbon cluster to provision.

    Deprecated: use timeouts instead

    workerNodePool Property Map

    Supporting Types

    KarbonClusterActivePassiveConfig, KarbonClusterActivePassiveConfigArgs

    KarbonClusterCniConfig, KarbonClusterCniConfigArgs

    CalicoConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterCniConfigCalicoConfig
    • (Optional) Configuration of the calico CNI provider.
    • calico_config.ip_pool_config: - (Optional) List of IP pools to be configured/managed by calico.
    • calico_config.ip_pool_config.cidr: - (Optional) IP range to use for this pool, it should fall within pod cidr.
    FlannelConfigs List<PiersKarsenbarg.Nutanix.Inputs.KarbonClusterCniConfigFlannelConfig>
    • (Optional) Configuration of the flannel container network interface (CNI) provider.
    NodeCidrMaskSize int
    • (Optional) The size of the subnet from the pod_ipv4_cidr assigned to each host. A value of 24 would allow up to 255 pods per node.
    PodIpv4Cidr string
    • (Optional) CIDR for pods in the cluster.
    ServiceIpv4Cidr string
    • (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
    CalicoConfig KarbonClusterCniConfigCalicoConfig
    • (Optional) Configuration of the calico CNI provider.
    • calico_config.ip_pool_config: - (Optional) List of IP pools to be configured/managed by calico.
    • calico_config.ip_pool_config.cidr: - (Optional) IP range to use for this pool, it should fall within pod cidr.
    FlannelConfigs []KarbonClusterCniConfigFlannelConfig
    • (Optional) Configuration of the flannel container network interface (CNI) provider.
    NodeCidrMaskSize int
    • (Optional) The size of the subnet from the pod_ipv4_cidr assigned to each host. A value of 24 would allow up to 255 pods per node.
    PodIpv4Cidr string
    • (Optional) CIDR for pods in the cluster.
    ServiceIpv4Cidr string
    • (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
    calicoConfig KarbonClusterCniConfigCalicoConfig
    • (Optional) Configuration of the calico CNI provider.
    • calico_config.ip_pool_config: - (Optional) List of IP pools to be configured/managed by calico.
    • calico_config.ip_pool_config.cidr: - (Optional) IP range to use for this pool, it should fall within pod cidr.
    flannelConfigs List<KarbonClusterCniConfigFlannelConfig>
    • (Optional) Configuration of the flannel container network interface (CNI) provider.
    nodeCidrMaskSize Integer
    • (Optional) The size of the subnet from the pod_ipv4_cidr assigned to each host. A value of 24 would allow up to 255 pods per node.
    podIpv4Cidr String
    • (Optional) CIDR for pods in the cluster.
    serviceIpv4Cidr String
    • (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
    calicoConfig KarbonClusterCniConfigCalicoConfig
    • (Optional) Configuration of the calico CNI provider.
    • calico_config.ip_pool_config: - (Optional) List of IP pools to be configured/managed by calico.
    • calico_config.ip_pool_config.cidr: - (Optional) IP range to use for this pool, it should fall within pod cidr.
    flannelConfigs KarbonClusterCniConfigFlannelConfig[]
    • (Optional) Configuration of the flannel container network interface (CNI) provider.
    nodeCidrMaskSize number
    • (Optional) The size of the subnet from the pod_ipv4_cidr assigned to each host. A value of 24 would allow up to 255 pods per node.
    podIpv4Cidr string
    • (Optional) CIDR for pods in the cluster.
    serviceIpv4Cidr string
    • (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
    calico_config KarbonClusterCniConfigCalicoConfig
    • (Optional) Configuration of the calico CNI provider.
    • calico_config.ip_pool_config: - (Optional) List of IP pools to be configured/managed by calico.
    • calico_config.ip_pool_config.cidr: - (Optional) IP range to use for this pool, it should fall within pod cidr.
    flannel_configs Sequence[KarbonClusterCniConfigFlannelConfig]
    • (Optional) Configuration of the flannel container network interface (CNI) provider.
    node_cidr_mask_size int
    • (Optional) The size of the subnet from the pod_ipv4_cidr assigned to each host. A value of 24 would allow up to 255 pods per node.
    pod_ipv4_cidr str
    • (Optional) CIDR for pods in the cluster.
    service_ipv4_cidr str
    • (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
    calicoConfig Property Map
    • (Optional) Configuration of the calico CNI provider.
    • calico_config.ip_pool_config: - (Optional) List of IP pools to be configured/managed by calico.
    • calico_config.ip_pool_config.cidr: - (Optional) IP range to use for this pool, it should fall within pod cidr.
    flannelConfigs List<Property Map>
    • (Optional) Configuration of the flannel container network interface (CNI) provider.
    nodeCidrMaskSize Number
    • (Optional) The size of the subnet from the pod_ipv4_cidr assigned to each host. A value of 24 would allow up to 255 pods per node.
    podIpv4Cidr String
    • (Optional) CIDR for pods in the cluster.
    serviceIpv4Cidr String
    • (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.

    KarbonClusterCniConfigCalicoConfig, KarbonClusterCniConfigCalicoConfigArgs

    KarbonClusterCniConfigCalicoConfigIpPoolConfig, KarbonClusterCniConfigCalicoConfigIpPoolConfigArgs

    Cidr string
    Cidr string
    cidr String
    cidr string
    cidr str
    cidr String

    KarbonClusterEtcdNodePool, KarbonClusterEtcdNodePoolArgs

    NodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    NumInstances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    AhvConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterEtcdNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    Nodes List<PiersKarsenbarg.Nutanix.Inputs.KarbonClusterEtcdNodePoolNode>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    NodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    NumInstances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    AhvConfig KarbonClusterEtcdNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    Nodes []KarbonClusterEtcdNodePoolNode
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion String
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances Integer
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig KarbonClusterEtcdNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name String
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes List<KarbonClusterEtcdNodePoolNode>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances number
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig KarbonClusterEtcdNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes KarbonClusterEtcdNodePoolNode[]
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    node_os_version str
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    num_instances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahv_config KarbonClusterEtcdNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name str
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes Sequence[KarbonClusterEtcdNodePoolNode]
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion String
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances Number
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig Property Map
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name String
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes List<Property Map>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.

    KarbonClusterEtcdNodePoolAhvConfig, KarbonClusterEtcdNodePoolAhvConfigArgs

    networkUuid String
    prismElementClusterUuid String
    cpu Integer
    diskMib Integer
    memoryMib Integer

    KarbonClusterEtcdNodePoolNode, KarbonClusterEtcdNodePoolNodeArgs

    Hostname string
    Ipv4Address string
    Hostname string
    Ipv4Address string
    hostname String
    ipv4Address String
    hostname string
    ipv4Address string
    hostname String
    ipv4Address String

    KarbonClusterExternalLbConfig, KarbonClusterExternalLbConfigArgs

    KarbonClusterExternalLbConfigMasterNodesConfig, KarbonClusterExternalLbConfigMasterNodesConfigArgs

    KarbonClusterMasterNodePool, KarbonClusterMasterNodePoolArgs

    NodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    NumInstances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    AhvConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterMasterNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    Nodes List<PiersKarsenbarg.Nutanix.Inputs.KarbonClusterMasterNodePoolNode>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    NodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    NumInstances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    AhvConfig KarbonClusterMasterNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    Nodes []KarbonClusterMasterNodePoolNode
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion String
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances Integer
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig KarbonClusterMasterNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name String
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes List<KarbonClusterMasterNodePoolNode>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances number
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig KarbonClusterMasterNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes KarbonClusterMasterNodePoolNode[]
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    node_os_version str
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    num_instances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahv_config KarbonClusterMasterNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name str
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes Sequence[KarbonClusterMasterNodePoolNode]
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion String
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances Number
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig Property Map
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name String
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes List<Property Map>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.

    KarbonClusterMasterNodePoolAhvConfig, KarbonClusterMasterNodePoolAhvConfigArgs

    networkUuid String
    prismElementClusterUuid String
    cpu Integer
    diskMib Integer
    memoryMib Integer

    KarbonClusterMasterNodePoolNode, KarbonClusterMasterNodePoolNodeArgs

    Hostname string
    Ipv4Address string
    Hostname string
    Ipv4Address string
    hostname String
    ipv4Address String
    hostname string
    ipv4Address string
    hostname String
    ipv4Address String

    KarbonClusterPrivateRegistry, KarbonClusterPrivateRegistryArgs

    KarbonClusterStorageClassConfig, KarbonClusterStorageClassConfigArgs

    VolumesConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterStorageClassConfigVolumesConfig
    Name string
    • (Required) The name of the storage class.
    ReclaimPolicy string

    Reclaim policy for persistent volumes provisioned using the specified storage class.

    • volumes_config.#.file_system - (Optional) Karbon uses either the ext4 or xfs file-system on the volume disk.
    • volumes_config.#.flash_mode - (Optional) Pins the persistent volumes to the flash tier in case of a true value.
    • volumes_config.#.password - (Required) The password of the Prism Element user that the API calls use to provision volumes.
    • volumes_config.#.prism_element_cluster_uuid - (Required) The universally unique identifier (UUID) of the Prism Element cluster.
    • volumes_config.#.storage_container - (Required) Name of the storage container the storage container uses to provision volumes.
    • volumes_config.#.username - (Required) Username of the Prism Element user that the API calls use to provision volumes.

    Note: Updates to this attribute forces new resource creation.

    VolumesConfig KarbonClusterStorageClassConfigVolumesConfig
    Name string
    • (Required) The name of the storage class.
    ReclaimPolicy string

    Reclaim policy for persistent volumes provisioned using the specified storage class.

    • volumes_config.#.file_system - (Optional) Karbon uses either the ext4 or xfs file-system on the volume disk.
    • volumes_config.#.flash_mode - (Optional) Pins the persistent volumes to the flash tier in case of a true value.
    • volumes_config.#.password - (Required) The password of the Prism Element user that the API calls use to provision volumes.
    • volumes_config.#.prism_element_cluster_uuid - (Required) The universally unique identifier (UUID) of the Prism Element cluster.
    • volumes_config.#.storage_container - (Required) Name of the storage container the storage container uses to provision volumes.
    • volumes_config.#.username - (Required) Username of the Prism Element user that the API calls use to provision volumes.

    Note: Updates to this attribute forces new resource creation.

    volumesConfig KarbonClusterStorageClassConfigVolumesConfig
    name String
    • (Required) The name of the storage class.
    reclaimPolicy String

    Reclaim policy for persistent volumes provisioned using the specified storage class.

    • volumes_config.#.file_system - (Optional) Karbon uses either the ext4 or xfs file-system on the volume disk.
    • volumes_config.#.flash_mode - (Optional) Pins the persistent volumes to the flash tier in case of a true value.
    • volumes_config.#.password - (Required) The password of the Prism Element user that the API calls use to provision volumes.
    • volumes_config.#.prism_element_cluster_uuid - (Required) The universally unique identifier (UUID) of the Prism Element cluster.
    • volumes_config.#.storage_container - (Required) Name of the storage container the storage container uses to provision volumes.
    • volumes_config.#.username - (Required) Username of the Prism Element user that the API calls use to provision volumes.

    Note: Updates to this attribute forces new resource creation.

    volumesConfig KarbonClusterStorageClassConfigVolumesConfig
    name string
    • (Required) The name of the storage class.
    reclaimPolicy string

    Reclaim policy for persistent volumes provisioned using the specified storage class.

    • volumes_config.#.file_system - (Optional) Karbon uses either the ext4 or xfs file-system on the volume disk.
    • volumes_config.#.flash_mode - (Optional) Pins the persistent volumes to the flash tier in case of a true value.
    • volumes_config.#.password - (Required) The password of the Prism Element user that the API calls use to provision volumes.
    • volumes_config.#.prism_element_cluster_uuid - (Required) The universally unique identifier (UUID) of the Prism Element cluster.
    • volumes_config.#.storage_container - (Required) Name of the storage container the storage container uses to provision volumes.
    • volumes_config.#.username - (Required) Username of the Prism Element user that the API calls use to provision volumes.

    Note: Updates to this attribute forces new resource creation.

    volumes_config KarbonClusterStorageClassConfigVolumesConfig
    name str
    • (Required) The name of the storage class.
    reclaim_policy str

    Reclaim policy for persistent volumes provisioned using the specified storage class.

    • volumes_config.#.file_system - (Optional) Karbon uses either the ext4 or xfs file-system on the volume disk.
    • volumes_config.#.flash_mode - (Optional) Pins the persistent volumes to the flash tier in case of a true value.
    • volumes_config.#.password - (Required) The password of the Prism Element user that the API calls use to provision volumes.
    • volumes_config.#.prism_element_cluster_uuid - (Required) The universally unique identifier (UUID) of the Prism Element cluster.
    • volumes_config.#.storage_container - (Required) Name of the storage container the storage container uses to provision volumes.
    • volumes_config.#.username - (Required) Username of the Prism Element user that the API calls use to provision volumes.

    Note: Updates to this attribute forces new resource creation.

    volumesConfig Property Map
    name String
    • (Required) The name of the storage class.
    reclaimPolicy String

    Reclaim policy for persistent volumes provisioned using the specified storage class.

    • volumes_config.#.file_system - (Optional) Karbon uses either the ext4 or xfs file-system on the volume disk.
    • volumes_config.#.flash_mode - (Optional) Pins the persistent volumes to the flash tier in case of a true value.
    • volumes_config.#.password - (Required) The password of the Prism Element user that the API calls use to provision volumes.
    • volumes_config.#.prism_element_cluster_uuid - (Required) The universally unique identifier (UUID) of the Prism Element cluster.
    • volumes_config.#.storage_container - (Required) Name of the storage container the storage container uses to provision volumes.
    • volumes_config.#.username - (Required) Username of the Prism Element user that the API calls use to provision volumes.

    Note: Updates to this attribute forces new resource creation.

    KarbonClusterStorageClassConfigVolumesConfig, KarbonClusterStorageClassConfigVolumesConfigArgs

    KarbonClusterWorkerNodePool, KarbonClusterWorkerNodePoolArgs

    NodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    NumInstances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    AhvConfig PiersKarsenbarg.Nutanix.Inputs.KarbonClusterWorkerNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    Nodes List<PiersKarsenbarg.Nutanix.Inputs.KarbonClusterWorkerNodePoolNode>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    NodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    NumInstances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    AhvConfig KarbonClusterWorkerNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    Nodes []KarbonClusterWorkerNodePoolNode
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion String
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances Integer
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig KarbonClusterWorkerNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name String
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes List<KarbonClusterWorkerNodePoolNode>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion string
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances number
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig KarbonClusterWorkerNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name string
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes KarbonClusterWorkerNodePoolNode[]
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    node_os_version str
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    num_instances int
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahv_config KarbonClusterWorkerNodePoolAhvConfig
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name str
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes Sequence[KarbonClusterWorkerNodePoolNode]
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.
    nodeOsVersion String
    • (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
    numInstances Number
    • (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
    ahvConfig Property Map
    • (Optional) VM configuration in AHV. Note: Updates to this attribute forces new resource creation.
    • ahv_config.cpu: - (Required) The number of VCPUs allocated for each VM on the PE cluster.
    • ahv_config.disk_mib: - (Optional) Size of local storage for each VM on the PE cluster in MiB.
    • ahv_config.memory_mib: - (Optional) Memory allocated for each VM on the PE cluster in MiB.
    • ahv_config.network_uuid: - (Required) The UUID of the network for the VMs deployed with this resource configuration.
    • ahv_config.prism_element_cluster_uuid: - (Required) The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    name String
    • (Optional) Unique name of the node pool. Note: Updates to this attribute forces new resource creation.
    nodes List<Property Map>
    • List of the deployed nodes in the node pool.
    • nodes.hostname: - Hostname of the deployed node.
    • nodes.ipv4_address: - IP of the deployed node.

    KarbonClusterWorkerNodePoolAhvConfig, KarbonClusterWorkerNodePoolAhvConfigArgs

    networkUuid String
    prismElementClusterUuid String
    cpu Integer
    diskMib Integer
    memoryMib Integer

    KarbonClusterWorkerNodePoolNode, KarbonClusterWorkerNodePoolNodeArgs

    Hostname string
    Ipv4Address string
    Hostname string
    Ipv4Address string
    hostname String
    ipv4Address String
    hostname string
    ipv4Address string
    hostname String
    ipv4Address String

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg