nutanix.KarbonCluster
Explore with Pulumi AI
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:
- Cni
Config PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Cni Config - (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 PiersPool Karsenbarg. Nutanix. Inputs. Karbon Cluster Etcd Node Pool - (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 PiersPool Karsenbarg. Nutanix. Inputs. Karbon Cluster Master Node Pool - (Required) Configuration of the master node pools.
- Storage
Class PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster Storage Class Config - (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.
- Worker
Node PiersPool Karsenbarg. Nutanix. Inputs. Karbon Cluster Worker Node Pool - Active
Passive PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster Active Passive Config - (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 PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster External Lb Config - (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.
- Private
Registries List<PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Private Registry> - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- Single
Master PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster Single Master Config - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- Wait
Timeout intMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- Cni
Config KarbonCluster Cni Config Args - (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 KarbonPool Cluster Etcd Node Pool Args - (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 KarbonPool Cluster Master Node Pool Args - (Required) Configuration of the master node pools.
- Storage
Class KarbonConfig Cluster Storage Class Config Args - (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.
- Worker
Node KarbonPool Cluster Worker Node Pool Args - Active
Passive KarbonConfig Cluster Active Passive Config Args - (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 KarbonConfig Cluster External Lb Config Args - (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.
- Private
Registries []KarbonCluster Private Registry Args - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- Single
Master KarbonConfig Cluster Single Master Config Args - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- Wait
Timeout intMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- cni
Config KarbonCluster Cni Config - (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 KarbonPool Cluster Etcd Node Pool - (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 KarbonPool Cluster Master Node Pool - (Required) Configuration of the master node pools.
- storage
Class KarbonConfig Cluster Storage Class Config - (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.
- worker
Node KarbonPool Cluster Worker Node Pool - active
Passive KarbonConfig Cluster Active Passive Config - (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 KarbonConfig Cluster External Lb Config - (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.
- private
Registries List<KarbonCluster Private Registry> - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single
Master KarbonConfig Cluster Single Master Config - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- wait
Timeout IntegerMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- cni
Config KarbonCluster Cni Config - (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 KarbonPool Cluster Etcd Node Pool - (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 KarbonPool Cluster Master Node Pool - (Required) Configuration of the master node pools.
- storage
Class KarbonConfig Cluster Storage Class Config - (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.
- worker
Node KarbonPool Cluster Worker Node Pool - active
Passive KarbonConfig Cluster Active Passive Config - (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 KarbonConfig Cluster External Lb Config - (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.
- private
Registries KarbonCluster Private Registry[] - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single
Master KarbonConfig Cluster Single Master Config - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- wait
Timeout numberMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- cni_
config KarbonCluster Cni Config Args - (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_ Karbonpool Cluster Etcd Node Pool Args - (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_ Karbonpool Cluster Master Node Pool Args - (Required) Configuration of the master node pools.
- storage_
class_ Karbonconfig Cluster Storage Class Config Args - (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_ Karbonpool Cluster Worker Node Pool Args - active_
passive_ Karbonconfig Cluster Active Passive Config Args - (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_ Karbonconfig Cluster External Lb Config Args - (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[KarbonCluster Private Registry Args] - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single_
master_ Karbonconfig Cluster Single Master Config Args - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- wait_
timeout_ intminutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- cni
Config 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.
- etcd
Node Property MapPool - (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 Property MapPool - (Required) Configuration of the master node pools.
- storage
Class Property MapConfig - (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.
- worker
Node Property MapPool - active
Passive Property MapConfig - (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 Property MapConfig - (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.
- private
Registries List<Property Map> - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single
Master Property MapConfig - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- wait
Timeout NumberMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
Outputs
All input properties are implicitly available as output properties. Additionally, the KarbonCluster resource produces the following output properties:
- Deployment
Type string - Id string
- The provider-assigned unique ID for this managed resource.
- Kubeapi
Server stringIpv4Address - Status string
- Deployment
Type string - Id string
- The provider-assigned unique ID for this managed resource.
- Kubeapi
Server stringIpv4Address - Status string
- deployment
Type String - id String
- The provider-assigned unique ID for this managed resource.
- kubeapi
Server StringIpv4Address - status String
- deployment
Type string - id string
- The provider-assigned unique ID for this managed resource.
- kubeapi
Server stringIpv4Address - status string
- deployment_
type str - id str
- The provider-assigned unique ID for this managed resource.
- kubeapi_
server_ stripv4_ address - status str
- deployment
Type String - id String
- The provider-assigned unique ID for this managed resource.
- kubeapi
Server StringIpv4Address - 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.
- Active
Passive PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster Active Passive Config - (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 PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Cni Config - (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 string - Etcd
Node PiersPool Karsenbarg. Nutanix. Inputs. Karbon Cluster Etcd Node Pool - (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 PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster External Lb Config - (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 stringIpv4Address - Master
Node PiersPool Karsenbarg. Nutanix. Inputs. Karbon Cluster Master Node Pool - (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.
- Private
Registries List<PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Private Registry> - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- Single
Master PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster Single Master Config - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- Status string
- Storage
Class PiersConfig Karsenbarg. Nutanix. Inputs. Karbon Cluster Storage Class Config - (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.
- Wait
Timeout intMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- Worker
Node PiersPool Karsenbarg. Nutanix. Inputs. Karbon Cluster Worker Node Pool
- Active
Passive KarbonConfig Cluster Active Passive Config Args - (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 KarbonCluster Cni Config Args - (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 string - Etcd
Node KarbonPool Cluster Etcd Node Pool Args - (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 KarbonConfig Cluster External Lb Config Args - (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 stringIpv4Address - Master
Node KarbonPool Cluster Master Node Pool Args - (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.
- Private
Registries []KarbonCluster Private Registry Args - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- Single
Master KarbonConfig Cluster Single Master Config Args - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- Status string
- Storage
Class KarbonConfig Cluster Storage Class Config Args - (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.
- Wait
Timeout intMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- Worker
Node KarbonPool Cluster Worker Node Pool Args
- active
Passive KarbonConfig Cluster Active Passive Config - (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 KarbonCluster Cni Config - (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 String - etcd
Node KarbonPool Cluster Etcd Node Pool - (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 KarbonConfig Cluster External Lb Config - (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 StringIpv4Address - master
Node KarbonPool Cluster Master Node Pool - (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.
- private
Registries List<KarbonCluster Private Registry> - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single
Master KarbonConfig Cluster Single Master Config - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- status String
- storage
Class KarbonConfig Cluster Storage Class Config - (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.
- wait
Timeout IntegerMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- worker
Node KarbonPool Cluster Worker Node Pool
- active
Passive KarbonConfig Cluster Active Passive Config - (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 KarbonCluster Cni Config - (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 string - etcd
Node KarbonPool Cluster Etcd Node Pool - (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 KarbonConfig Cluster External Lb Config - (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 stringIpv4Address - master
Node KarbonPool Cluster Master Node Pool - (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.
- private
Registries KarbonCluster Private Registry[] - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single
Master KarbonConfig Cluster Single Master Config - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- status string
- storage
Class KarbonConfig Cluster Storage Class Config - (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.
- wait
Timeout numberMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- worker
Node KarbonPool Cluster Worker Node Pool
- active_
passive_ Karbonconfig Cluster Active Passive Config Args - (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 KarbonCluster Cni Config Args - (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_ Karbonpool Cluster Etcd Node Pool Args - (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_ Karbonconfig Cluster External Lb Config Args - (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_ stripv4_ address - master_
node_ Karbonpool Cluster Master Node Pool Args - (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[KarbonCluster Private Registry Args] - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single_
master_ Karbonconfig Cluster Single Master Config Args - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- status str
- storage_
class_ Karbonconfig Cluster Storage Class Config Args - (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_ intminutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- worker_
node_ Karbonpool Cluster Worker Node Pool Args
- active
Passive Property MapConfig - (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 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.
- deployment
Type String - etcd
Node Property MapPool - (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 Property MapConfig - (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 StringIpv4Address - master
Node Property MapPool - (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.
- private
Registries List<Property Map> - (Optional) Allows the Karbon cluster to pull images of a list of private registries.
- single
Master Property MapConfig - (Optional) Configuration of a single master node. Note: Updates to this attribute forces new resource creation.
- status String
- storage
Class Property MapConfig - (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.
- wait
Timeout NumberMinutes - (Optional) Maximum wait time for the Karbon cluster to provision.
- worker
Node Property MapPool
Supporting Types
KarbonClusterActivePassiveConfig, KarbonClusterActivePassiveConfigArgs
- External
Ipv4Address string
- External
Ipv4Address string
- external
Ipv4Address String
- external
Ipv4Address string
- external
Ipv4Address String
KarbonClusterCniConfig, KarbonClusterCniConfigArgs
- Calico
Config PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Cni Config Calico Config - (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 List<PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Cni Config Flannel Config> - (Optional) Configuration of the flannel container network interface (CNI) provider.
- Node
Cidr intMask Size - (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
Ipv4Cidr string - (Optional) CIDR for pods in the cluster.
- Service
Ipv4Cidr string - (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
- Calico
Config KarbonCluster Cni Config Calico Config - (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 []KarbonCluster Cni Config Flannel Config - (Optional) Configuration of the flannel container network interface (CNI) provider.
- Node
Cidr intMask Size - (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
Ipv4Cidr string - (Optional) CIDR for pods in the cluster.
- Service
Ipv4Cidr string - (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
- calico
Config KarbonCluster Cni Config Calico Config - (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 List<KarbonCluster Cni Config Flannel Config> - (Optional) Configuration of the flannel container network interface (CNI) provider.
- node
Cidr IntegerMask Size - (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
Ipv4Cidr String - (Optional) CIDR for pods in the cluster.
- service
Ipv4Cidr String - (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
- calico
Config KarbonCluster Cni Config Calico Config - (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 KarbonCluster Cni Config Flannel Config[] - (Optional) Configuration of the flannel container network interface (CNI) provider.
- node
Cidr numberMask Size - (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
Ipv4Cidr string - (Optional) CIDR for pods in the cluster.
- service
Ipv4Cidr string - (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
- calico_
config KarbonCluster Cni Config Calico Config - (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[KarbonCluster Cni Config Flannel Config] - (Optional) Configuration of the flannel container network interface (CNI) provider.
- node_
cidr_ intmask_ size - (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_ strcidr - (Optional) CIDR for pods in the cluster.
- service_
ipv4_ strcidr - (Optional) Classless inter-domain routing (CIDR) for k8s services in the cluster.
- calico
Config 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.
- flannel
Configs List<Property Map> - (Optional) Configuration of the flannel container network interface (CNI) provider.
- node
Cidr NumberMask Size - (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
Ipv4Cidr String - (Optional) CIDR for pods in the cluster.
- service
Ipv4Cidr 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
- Node
Os stringVersion - (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 PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Etcd Node Pool Ahv Config - (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<Piers
Karsenbarg. Nutanix. Inputs. Karbon Cluster Etcd Node Pool Node> - 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 stringVersion - (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 KarbonCluster Etcd Node Pool Ahv Config - (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
[]Karbon
Cluster Etcd Node Pool Node - 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 StringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances Integer - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config KarbonCluster Etcd Node Pool Ahv Config - (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<Karbon
Cluster Etcd Node Pool Node> - 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 stringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances number - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config KarbonCluster Etcd Node Pool Ahv Config - (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
Karbon
Cluster Etcd Node Pool Node[] - 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_ strversion - (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 KarbonCluster Etcd Node Pool Ahv Config - (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[Karbon
Cluster Etcd Node Pool Node] - 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 StringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances Number - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config 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
- Network
Uuid string - Prism
Element stringCluster Uuid - Cpu int
- Disk
Mib int - Memory
Mib int
- Network
Uuid string - Prism
Element stringCluster Uuid - Cpu int
- Disk
Mib int - Memory
Mib int
- network
Uuid String - prism
Element StringCluster Uuid - cpu Integer
- disk
Mib Integer - memory
Mib Integer
- network
Uuid string - prism
Element stringCluster Uuid - cpu number
- disk
Mib number - memory
Mib number
- network_
uuid str - prism_
element_ strcluster_ uuid - cpu int
- disk_
mib int - memory_
mib int
- network
Uuid String - prism
Element StringCluster Uuid - cpu Number
- disk
Mib Number - memory
Mib Number
KarbonClusterEtcdNodePoolNode, KarbonClusterEtcdNodePoolNodeArgs
- Hostname string
- Ipv4Address string
- Hostname string
- Ipv4Address string
- hostname String
- ipv4Address String
- hostname string
- ipv4Address string
- hostname str
- ipv4_
address str
- hostname String
- ipv4Address String
KarbonClusterExternalLbConfig, KarbonClusterExternalLbConfigArgs
KarbonClusterExternalLbConfigMasterNodesConfig, KarbonClusterExternalLbConfigMasterNodesConfigArgs
- Ipv4Address string
- Node
Pool stringName
- Ipv4Address string
- Node
Pool stringName
- ipv4Address String
- node
Pool StringName
- ipv4Address string
- node
Pool stringName
- ipv4_
address str - node_
pool_ strname
- ipv4Address String
- node
Pool StringName
KarbonClusterMasterNodePool, KarbonClusterMasterNodePoolArgs
- Node
Os stringVersion - (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 PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Master Node Pool Ahv Config - (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<Piers
Karsenbarg. Nutanix. Inputs. Karbon Cluster Master Node Pool Node> - 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 stringVersion - (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 KarbonCluster Master Node Pool Ahv Config - (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
[]Karbon
Cluster Master Node Pool Node - 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 StringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances Integer - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config KarbonCluster Master Node Pool Ahv Config - (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<Karbon
Cluster Master Node Pool Node> - 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 stringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances number - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config KarbonCluster Master Node Pool Ahv Config - (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
Karbon
Cluster Master Node Pool Node[] - 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_ strversion - (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 KarbonCluster Master Node Pool Ahv Config - (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[Karbon
Cluster Master Node Pool Node] - 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 StringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances Number - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config 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
- Network
Uuid string - Prism
Element stringCluster Uuid - Cpu int
- Disk
Mib int - Memory
Mib int
- Network
Uuid string - Prism
Element stringCluster Uuid - Cpu int
- Disk
Mib int - Memory
Mib int
- network
Uuid String - prism
Element StringCluster Uuid - cpu Integer
- disk
Mib Integer - memory
Mib Integer
- network
Uuid string - prism
Element stringCluster Uuid - cpu number
- disk
Mib number - memory
Mib number
- network_
uuid str - prism_
element_ strcluster_ uuid - cpu int
- disk_
mib int - memory_
mib int
- network
Uuid String - prism
Element StringCluster Uuid - cpu Number
- disk
Mib Number - memory
Mib Number
KarbonClusterMasterNodePoolNode, KarbonClusterMasterNodePoolNodeArgs
- Hostname string
- Ipv4Address string
- Hostname string
- Ipv4Address string
- hostname String
- ipv4Address String
- hostname string
- ipv4Address string
- hostname str
- ipv4_
address str
- hostname String
- ipv4Address String
KarbonClusterPrivateRegistry, KarbonClusterPrivateRegistryArgs
- Registry
Name string
- Registry
Name string
- registry
Name String
- registry
Name string
- registry_
name str
- registry
Name String
KarbonClusterStorageClassConfig, KarbonClusterStorageClassConfigArgs
- Volumes
Config PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Storage Class Config Volumes Config - Name string
- (Required) The name of the storage class.
- Reclaim
Policy 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 atrue
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 KarbonCluster Storage Class Config Volumes Config - Name string
- (Required) The name of the storage class.
- Reclaim
Policy 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 atrue
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 KarbonCluster Storage Class Config Volumes Config - name String
- (Required) The name of the storage class.
- reclaim
Policy 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 atrue
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 KarbonCluster Storage Class Config Volumes Config - name string
- (Required) The name of the storage class.
- reclaim
Policy 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 atrue
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 KarbonCluster Storage Class Config Volumes Config - 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 atrue
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 Property Map - name String
- (Required) The name of the storage class.
- reclaim
Policy 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 atrue
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
- Password string
- Prism
Element stringCluster Uuid - Storage
Container string - Username string
- File
System string - Flash
Mode bool
- Password string
- Prism
Element stringCluster Uuid - Storage
Container string - Username string
- File
System string - Flash
Mode bool
- password String
- prism
Element StringCluster Uuid - storage
Container String - username String
- file
System String - flash
Mode Boolean
- password string
- prism
Element stringCluster Uuid - storage
Container string - username string
- file
System string - flash
Mode boolean
- password str
- prism_
element_ strcluster_ uuid - storage_
container str - username str
- file_
system str - flash_
mode bool
- password String
- prism
Element StringCluster Uuid - storage
Container String - username String
- file
System String - flash
Mode Boolean
KarbonClusterWorkerNodePool, KarbonClusterWorkerNodePoolArgs
- Node
Os stringVersion - (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 PiersKarsenbarg. Nutanix. Inputs. Karbon Cluster Worker Node Pool Ahv Config - (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<Piers
Karsenbarg. Nutanix. Inputs. Karbon Cluster Worker Node Pool Node> - 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 stringVersion - (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 KarbonCluster Worker Node Pool Ahv Config - (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
[]Karbon
Cluster Worker Node Pool Node - 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 StringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances Integer - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config KarbonCluster Worker Node Pool Ahv Config - (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<Karbon
Cluster Worker Node Pool Node> - 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 stringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances number - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config KarbonCluster Worker Node Pool Ahv Config - (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
Karbon
Cluster Worker Node Pool Node[] - 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_ strversion - (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 KarbonCluster Worker Node Pool Ahv Config - (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[Karbon
Cluster Worker Node Pool Node] - 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 StringVersion - (Required) The version of the node OS image. Note: Updates to this attribute forces new resource creation.
- num
Instances Number - (Required) Number of nodes in the node pool. Note: Updates to etcd or master node pool forces new resource creation.
- ahv
Config 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
- Network
Uuid string - Prism
Element stringCluster Uuid - Cpu int
- Disk
Mib int - Memory
Mib int
- Network
Uuid string - Prism
Element stringCluster Uuid - Cpu int
- Disk
Mib int - Memory
Mib int
- network
Uuid String - prism
Element StringCluster Uuid - cpu Integer
- disk
Mib Integer - memory
Mib Integer
- network
Uuid string - prism
Element stringCluster Uuid - cpu number
- disk
Mib number - memory
Mib number
- network_
uuid str - prism_
element_ strcluster_ uuid - cpu int
- disk_
mib int - memory_
mib int
- network
Uuid String - prism
Element StringCluster Uuid - cpu Number
- disk
Mib Number - memory
Mib Number
KarbonClusterWorkerNodePoolNode, KarbonClusterWorkerNodePoolNodeArgs
- Hostname string
- Ipv4Address string
- Hostname string
- Ipv4Address string
- hostname String
- ipv4Address String
- hostname string
- ipv4Address string
- hostname str
- ipv4_
address str
- 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.