1. Packages
  2. Volcengine
  3. API Docs
  4. vke
  5. Cluster
Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine

volcengine.vke.Cluster

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine

    Provides a resource to manage vke cluster

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Volcengine.Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
        {
            VpcName = "acc-test-project1",
            CidrBlock = "172.16.0.0/16",
        });
    
        var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
        {
            SubnetName = "acc-subnet-test-2",
            CidrBlock = "172.16.0.0/24",
            ZoneId = "cn-beijing-a",
            VpcId = fooVpc.Id,
        });
    
        var fooSecurityGroup = new Volcengine.Vpc.SecurityGroup("fooSecurityGroup", new()
        {
            VpcId = fooVpc.Id,
            SecurityGroupName = "acc-test-security-group2",
        });
    
        var fooInstance = new Volcengine.Ecs.Instance("fooInstance", new()
        {
            ImageId = "image-ybqi99s7yq8rx7mnk44b",
            InstanceType = "ecs.g1ie.large",
            InstanceName = "acc-test-ecs-name2",
            Password = "93f0cb0614Aab12",
            InstanceChargeType = "PostPaid",
            SystemVolumeType = "ESSD_PL0",
            SystemVolumeSize = 40,
            SubnetId = fooSubnet.Id,
            SecurityGroupIds = new[]
            {
                fooSecurityGroup.Id,
            },
        });
    
        var fooCluster = new Volcengine.Vke.Cluster("fooCluster", new()
        {
            Description = "created by terraform",
            DeleteProtectionEnabled = false,
            ClusterConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigArgs
            {
                SubnetIds = new[]
                {
                    fooSubnet.Id,
                },
                ApiServerPublicAccessEnabled = true,
                ApiServerPublicAccessConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs
                {
                    PublicAccessNetworkConfig = new Volcengine.Vke.Inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs
                    {
                        BillingType = "PostPaidByBandwidth",
                        Bandwidth = 1,
                    },
                },
                ResourcePublicAccessDefaultEnabled = true,
            },
            PodsConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigArgs
            {
                PodNetworkMode = "VpcCniShared",
                VpcCniConfig = new Volcengine.Vke.Inputs.ClusterPodsConfigVpcCniConfigArgs
                {
                    SubnetIds = new[]
                    {
                        fooSubnet.Id,
                    },
                },
            },
            ServicesConfig = new Volcengine.Vke.Inputs.ClusterServicesConfigArgs
            {
                ServiceCidrsv4s = new[]
                {
                    "172.30.0.0/18",
                },
            },
            Tags = new[]
            {
                new Volcengine.Vke.Inputs.ClusterTagArgs
                {
                    Key = "tf-k1",
                    Value = "tf-v1",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vke"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
    			VpcName:   pulumi.String("acc-test-project1"),
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
    			SubnetName: pulumi.String("acc-subnet-test-2"),
    			CidrBlock:  pulumi.String("172.16.0.0/24"),
    			ZoneId:     pulumi.String("cn-beijing-a"),
    			VpcId:      fooVpc.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		fooSecurityGroup, err := vpc.NewSecurityGroup(ctx, "fooSecurityGroup", &vpc.SecurityGroupArgs{
    			VpcId:             fooVpc.ID(),
    			SecurityGroupName: pulumi.String("acc-test-security-group2"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ecs.NewInstance(ctx, "fooInstance", &ecs.InstanceArgs{
    			ImageId:            pulumi.String("image-ybqi99s7yq8rx7mnk44b"),
    			InstanceType:       pulumi.String("ecs.g1ie.large"),
    			InstanceName:       pulumi.String("acc-test-ecs-name2"),
    			Password:           pulumi.String("93f0cb0614Aab12"),
    			InstanceChargeType: pulumi.String("PostPaid"),
    			SystemVolumeType:   pulumi.String("ESSD_PL0"),
    			SystemVolumeSize:   pulumi.Int(40),
    			SubnetId:           fooSubnet.ID(),
    			SecurityGroupIds: pulumi.StringArray{
    				fooSecurityGroup.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vke.NewCluster(ctx, "fooCluster", &vke.ClusterArgs{
    			Description:             pulumi.String("created by terraform"),
    			DeleteProtectionEnabled: pulumi.Bool(false),
    			ClusterConfig: &vke.ClusterClusterConfigArgs{
    				SubnetIds: pulumi.StringArray{
    					fooSubnet.ID(),
    				},
    				ApiServerPublicAccessEnabled: pulumi.Bool(true),
    				ApiServerPublicAccessConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigArgs{
    					PublicAccessNetworkConfig: &vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs{
    						BillingType: pulumi.String("PostPaidByBandwidth"),
    						Bandwidth:   pulumi.Int(1),
    					},
    				},
    				ResourcePublicAccessDefaultEnabled: pulumi.Bool(true),
    			},
    			PodsConfig: &vke.ClusterPodsConfigArgs{
    				PodNetworkMode: pulumi.String("VpcCniShared"),
    				VpcCniConfig: &vke.ClusterPodsConfigVpcCniConfigArgs{
    					SubnetIds: pulumi.StringArray{
    						fooSubnet.ID(),
    					},
    				},
    			},
    			ServicesConfig: &vke.ClusterServicesConfigArgs{
    				ServiceCidrsv4s: pulumi.StringArray{
    					pulumi.String("172.30.0.0/18"),
    				},
    			},
    			Tags: vke.ClusterTagArray{
    				&vke.ClusterTagArgs{
    					Key:   pulumi.String("tf-k1"),
    					Value: pulumi.String("tf-v1"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    import com.pulumi.volcengine.vpc.Subnet;
    import com.pulumi.volcengine.vpc.SubnetArgs;
    import com.pulumi.volcengine.vpc.SecurityGroup;
    import com.pulumi.volcengine.vpc.SecurityGroupArgs;
    import com.pulumi.volcengine.ecs.Instance;
    import com.pulumi.volcengine.ecs.InstanceArgs;
    import com.pulumi.volcengine.vke.Cluster;
    import com.pulumi.volcengine.vke.ClusterArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterPodsConfigVpcCniConfigArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterServicesConfigArgs;
    import com.pulumi.volcengine.vke.inputs.ClusterTagArgs;
    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 fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
                .vpcName("acc-test-project1")
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
                .subnetName("acc-subnet-test-2")
                .cidrBlock("172.16.0.0/24")
                .zoneId("cn-beijing-a")
                .vpcId(fooVpc.id())
                .build());
    
            var fooSecurityGroup = new SecurityGroup("fooSecurityGroup", SecurityGroupArgs.builder()        
                .vpcId(fooVpc.id())
                .securityGroupName("acc-test-security-group2")
                .build());
    
            var fooInstance = new Instance("fooInstance", InstanceArgs.builder()        
                .imageId("image-ybqi99s7yq8rx7mnk44b")
                .instanceType("ecs.g1ie.large")
                .instanceName("acc-test-ecs-name2")
                .password("93f0cb0614Aab12")
                .instanceChargeType("PostPaid")
                .systemVolumeType("ESSD_PL0")
                .systemVolumeSize(40)
                .subnetId(fooSubnet.id())
                .securityGroupIds(fooSecurityGroup.id())
                .build());
    
            var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()        
                .description("created by terraform")
                .deleteProtectionEnabled(false)
                .clusterConfig(ClusterClusterConfigArgs.builder()
                    .subnetIds(fooSubnet.id())
                    .apiServerPublicAccessEnabled(true)
                    .apiServerPublicAccessConfig(ClusterClusterConfigApiServerPublicAccessConfigArgs.builder()
                        .publicAccessNetworkConfig(ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs.builder()
                            .billingType("PostPaidByBandwidth")
                            .bandwidth(1)
                            .build())
                        .build())
                    .resourcePublicAccessDefaultEnabled(true)
                    .build())
                .podsConfig(ClusterPodsConfigArgs.builder()
                    .podNetworkMode("VpcCniShared")
                    .vpcCniConfig(ClusterPodsConfigVpcCniConfigArgs.builder()
                        .subnetIds(fooSubnet.id())
                        .build())
                    .build())
                .servicesConfig(ClusterServicesConfigArgs.builder()
                    .serviceCidrsv4s("172.30.0.0/18")
                    .build())
                .tags(ClusterTagArgs.builder()
                    .key("tf-k1")
                    .value("tf-v1")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_vpc = volcengine.vpc.Vpc("fooVpc",
        vpc_name="acc-test-project1",
        cidr_block="172.16.0.0/16")
    foo_subnet = volcengine.vpc.Subnet("fooSubnet",
        subnet_name="acc-subnet-test-2",
        cidr_block="172.16.0.0/24",
        zone_id="cn-beijing-a",
        vpc_id=foo_vpc.id)
    foo_security_group = volcengine.vpc.SecurityGroup("fooSecurityGroup",
        vpc_id=foo_vpc.id,
        security_group_name="acc-test-security-group2")
    foo_instance = volcengine.ecs.Instance("fooInstance",
        image_id="image-ybqi99s7yq8rx7mnk44b",
        instance_type="ecs.g1ie.large",
        instance_name="acc-test-ecs-name2",
        password="93f0cb0614Aab12",
        instance_charge_type="PostPaid",
        system_volume_type="ESSD_PL0",
        system_volume_size=40,
        subnet_id=foo_subnet.id,
        security_group_ids=[foo_security_group.id])
    foo_cluster = volcengine.vke.Cluster("fooCluster",
        description="created by terraform",
        delete_protection_enabled=False,
        cluster_config=volcengine.vke.ClusterClusterConfigArgs(
            subnet_ids=[foo_subnet.id],
            api_server_public_access_enabled=True,
            api_server_public_access_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigArgs(
                public_access_network_config=volcengine.vke.ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs(
                    billing_type="PostPaidByBandwidth",
                    bandwidth=1,
                ),
            ),
            resource_public_access_default_enabled=True,
        ),
        pods_config=volcengine.vke.ClusterPodsConfigArgs(
            pod_network_mode="VpcCniShared",
            vpc_cni_config=volcengine.vke.ClusterPodsConfigVpcCniConfigArgs(
                subnet_ids=[foo_subnet.id],
            ),
        ),
        services_config=volcengine.vke.ClusterServicesConfigArgs(
            service_cidrsv4s=["172.30.0.0/18"],
        ),
        tags=[volcengine.vke.ClusterTagArgs(
            key="tf-k1",
            value="tf-v1",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
        vpcName: "acc-test-project1",
        cidrBlock: "172.16.0.0/16",
    });
    const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
        subnetName: "acc-subnet-test-2",
        cidrBlock: "172.16.0.0/24",
        zoneId: "cn-beijing-a",
        vpcId: fooVpc.id,
    });
    const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
        vpcId: fooVpc.id,
        securityGroupName: "acc-test-security-group2",
    });
    const fooInstance = new volcengine.ecs.Instance("fooInstance", {
        imageId: "image-ybqi99s7yq8rx7mnk44b",
        instanceType: "ecs.g1ie.large",
        instanceName: "acc-test-ecs-name2",
        password: "93f0cb0614Aab12",
        instanceChargeType: "PostPaid",
        systemVolumeType: "ESSD_PL0",
        systemVolumeSize: 40,
        subnetId: fooSubnet.id,
        securityGroupIds: [fooSecurityGroup.id],
    });
    const fooCluster = new volcengine.vke.Cluster("fooCluster", {
        description: "created by terraform",
        deleteProtectionEnabled: false,
        clusterConfig: {
            subnetIds: [fooSubnet.id],
            apiServerPublicAccessEnabled: true,
            apiServerPublicAccessConfig: {
                publicAccessNetworkConfig: {
                    billingType: "PostPaidByBandwidth",
                    bandwidth: 1,
                },
            },
            resourcePublicAccessDefaultEnabled: true,
        },
        podsConfig: {
            podNetworkMode: "VpcCniShared",
            vpcCniConfig: {
                subnetIds: [fooSubnet.id],
            },
        },
        servicesConfig: {
            serviceCidrsv4s: ["172.30.0.0/18"],
        },
        tags: [{
            key: "tf-k1",
            value: "tf-v1",
        }],
    });
    
    resources:
      fooVpc:
        type: volcengine:vpc:Vpc
        properties:
          vpcName: acc-test-project1
          cidrBlock: 172.16.0.0/16
      fooSubnet:
        type: volcengine:vpc:Subnet
        properties:
          subnetName: acc-subnet-test-2
          cidrBlock: 172.16.0.0/24
          zoneId: cn-beijing-a
          vpcId: ${fooVpc.id}
      fooSecurityGroup:
        type: volcengine:vpc:SecurityGroup
        properties:
          vpcId: ${fooVpc.id}
          securityGroupName: acc-test-security-group2
      fooInstance:
        type: volcengine:ecs:Instance
        properties:
          imageId: image-ybqi99s7yq8rx7mnk44b
          instanceType: ecs.g1ie.large
          instanceName: acc-test-ecs-name2
          password: 93f0cb0614Aab12
          instanceChargeType: PostPaid
          systemVolumeType: ESSD_PL0
          systemVolumeSize: 40
          subnetId: ${fooSubnet.id}
          securityGroupIds:
            - ${fooSecurityGroup.id}
      fooCluster:
        type: volcengine:vke:Cluster
        properties:
          description: created by terraform
          deleteProtectionEnabled: false
          clusterConfig:
            subnetIds:
              - ${fooSubnet.id}
            apiServerPublicAccessEnabled: true
            apiServerPublicAccessConfig:
              publicAccessNetworkConfig:
                billingType: PostPaidByBandwidth
                bandwidth: 1
            resourcePublicAccessDefaultEnabled: true
          podsConfig:
            podNetworkMode: VpcCniShared
            vpcCniConfig:
              subnetIds:
                - ${fooSubnet.id}
          servicesConfig:
            serviceCidrsv4s:
              - 172.30.0.0/18
          tags:
            - key: tf-k1
              value: tf-v1
    

    Create Cluster Resource

    new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Cluster(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                client_token: Optional[str] = None,
                cluster_config: Optional[ClusterClusterConfigArgs] = None,
                delete_protection_enabled: Optional[bool] = None,
                description: Optional[str] = None,
                kubernetes_version: Optional[str] = None,
                logging_config: Optional[ClusterLoggingConfigArgs] = None,
                name: Optional[str] = None,
                pods_config: Optional[ClusterPodsConfigArgs] = None,
                services_config: Optional[ClusterServicesConfigArgs] = None,
                tags: Optional[Sequence[ClusterTagArgs]] = None)
    @overload
    def Cluster(resource_name: str,
                args: ClusterArgs,
                opts: Optional[ResourceOptions] = None)
    func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
    public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
    public Cluster(String name, ClusterArgs args)
    public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
    
    type: volcengine:vke:Cluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ClusterArgs
    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 ClusterArgs
    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 ClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Cluster Resource Properties

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

    Inputs

    The Cluster resource accepts the following input properties:

    ClusterConfig Volcengine.ClusterClusterConfig

    The config of the cluster.

    PodsConfig Volcengine.ClusterPodsConfig

    The config of the pods.

    ServicesConfig Volcengine.ClusterServicesConfig

    The config of the services.

    ClientToken string

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    DeleteProtectionEnabled bool

    The delete protection of the cluster, the value is true or false.

    Description string

    The description of the cluster.

    KubernetesVersion string

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    LoggingConfig Volcengine.ClusterLoggingConfig

    Cluster log configuration information.

    Name string

    The name of the cluster.

    Tags List<Volcengine.ClusterTag>

    Tags.

    ClusterConfig ClusterClusterConfigArgs

    The config of the cluster.

    PodsConfig ClusterPodsConfigArgs

    The config of the pods.

    ServicesConfig ClusterServicesConfigArgs

    The config of the services.

    ClientToken string

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    DeleteProtectionEnabled bool

    The delete protection of the cluster, the value is true or false.

    Description string

    The description of the cluster.

    KubernetesVersion string

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    LoggingConfig ClusterLoggingConfigArgs

    Cluster log configuration information.

    Name string

    The name of the cluster.

    Tags []ClusterTagArgs

    Tags.

    clusterConfig ClusterClusterConfig

    The config of the cluster.

    podsConfig ClusterPodsConfig

    The config of the pods.

    servicesConfig ClusterServicesConfig

    The config of the services.

    clientToken String

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    deleteProtectionEnabled Boolean

    The delete protection of the cluster, the value is true or false.

    description String

    The description of the cluster.

    kubernetesVersion String

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    loggingConfig ClusterLoggingConfig

    Cluster log configuration information.

    name String

    The name of the cluster.

    tags List<ClusterTag>

    Tags.

    clusterConfig ClusterClusterConfig

    The config of the cluster.

    podsConfig ClusterPodsConfig

    The config of the pods.

    servicesConfig ClusterServicesConfig

    The config of the services.

    clientToken string

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    deleteProtectionEnabled boolean

    The delete protection of the cluster, the value is true or false.

    description string

    The description of the cluster.

    kubernetesVersion string

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    loggingConfig ClusterLoggingConfig

    Cluster log configuration information.

    name string

    The name of the cluster.

    tags ClusterTag[]

    Tags.

    cluster_config ClusterClusterConfigArgs

    The config of the cluster.

    pods_config ClusterPodsConfigArgs

    The config of the pods.

    services_config ClusterServicesConfigArgs

    The config of the services.

    client_token str

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    delete_protection_enabled bool

    The delete protection of the cluster, the value is true or false.

    description str

    The description of the cluster.

    kubernetes_version str

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    logging_config ClusterLoggingConfigArgs

    Cluster log configuration information.

    name str

    The name of the cluster.

    tags Sequence[ClusterTagArgs]

    Tags.

    clusterConfig Property Map

    The config of the cluster.

    podsConfig Property Map

    The config of the pods.

    servicesConfig Property Map

    The config of the services.

    clientToken String

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    deleteProtectionEnabled Boolean

    The delete protection of the cluster, the value is true or false.

    description String

    The description of the cluster.

    kubernetesVersion String

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    loggingConfig Property Map

    Cluster log configuration information.

    name String

    The name of the cluster.

    tags List<Property Map>

    Tags.

    Outputs

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

    EipAllocationId string

    Eip allocation Id.

    Id string

    The provider-assigned unique ID for this managed resource.

    KubeconfigPrivate string

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    KubeconfigPublic string

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    EipAllocationId string

    Eip allocation Id.

    Id string

    The provider-assigned unique ID for this managed resource.

    KubeconfigPrivate string

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    KubeconfigPublic string

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    eipAllocationId String

    Eip allocation Id.

    id String

    The provider-assigned unique ID for this managed resource.

    kubeconfigPrivate String

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfigPublic String

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    eipAllocationId string

    Eip allocation Id.

    id string

    The provider-assigned unique ID for this managed resource.

    kubeconfigPrivate string

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfigPublic string

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    eip_allocation_id str

    Eip allocation Id.

    id str

    The provider-assigned unique ID for this managed resource.

    kubeconfig_private str

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfig_public str

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    eipAllocationId String

    Eip allocation Id.

    id String

    The provider-assigned unique ID for this managed resource.

    kubeconfigPrivate String

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfigPublic String

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    Look up Existing Cluster Resource

    Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_token: Optional[str] = None,
            cluster_config: Optional[ClusterClusterConfigArgs] = None,
            delete_protection_enabled: Optional[bool] = None,
            description: Optional[str] = None,
            eip_allocation_id: Optional[str] = None,
            kubeconfig_private: Optional[str] = None,
            kubeconfig_public: Optional[str] = None,
            kubernetes_version: Optional[str] = None,
            logging_config: Optional[ClusterLoggingConfigArgs] = None,
            name: Optional[str] = None,
            pods_config: Optional[ClusterPodsConfigArgs] = None,
            services_config: Optional[ClusterServicesConfigArgs] = None,
            tags: Optional[Sequence[ClusterTagArgs]] = None) -> Cluster
    func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
    public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
    public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClientToken string

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    ClusterConfig Volcengine.ClusterClusterConfig

    The config of the cluster.

    DeleteProtectionEnabled bool

    The delete protection of the cluster, the value is true or false.

    Description string

    The description of the cluster.

    EipAllocationId string

    Eip allocation Id.

    KubeconfigPrivate string

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    KubeconfigPublic string

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    KubernetesVersion string

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    LoggingConfig Volcengine.ClusterLoggingConfig

    Cluster log configuration information.

    Name string

    The name of the cluster.

    PodsConfig Volcengine.ClusterPodsConfig

    The config of the pods.

    ServicesConfig Volcengine.ClusterServicesConfig

    The config of the services.

    Tags List<Volcengine.ClusterTag>

    Tags.

    ClientToken string

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    ClusterConfig ClusterClusterConfigArgs

    The config of the cluster.

    DeleteProtectionEnabled bool

    The delete protection of the cluster, the value is true or false.

    Description string

    The description of the cluster.

    EipAllocationId string

    Eip allocation Id.

    KubeconfigPrivate string

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    KubeconfigPublic string

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    KubernetesVersion string

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    LoggingConfig ClusterLoggingConfigArgs

    Cluster log configuration information.

    Name string

    The name of the cluster.

    PodsConfig ClusterPodsConfigArgs

    The config of the pods.

    ServicesConfig ClusterServicesConfigArgs

    The config of the services.

    Tags []ClusterTagArgs

    Tags.

    clientToken String

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    clusterConfig ClusterClusterConfig

    The config of the cluster.

    deleteProtectionEnabled Boolean

    The delete protection of the cluster, the value is true or false.

    description String

    The description of the cluster.

    eipAllocationId String

    Eip allocation Id.

    kubeconfigPrivate String

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfigPublic String

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubernetesVersion String

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    loggingConfig ClusterLoggingConfig

    Cluster log configuration information.

    name String

    The name of the cluster.

    podsConfig ClusterPodsConfig

    The config of the pods.

    servicesConfig ClusterServicesConfig

    The config of the services.

    tags List<ClusterTag>

    Tags.

    clientToken string

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    clusterConfig ClusterClusterConfig

    The config of the cluster.

    deleteProtectionEnabled boolean

    The delete protection of the cluster, the value is true or false.

    description string

    The description of the cluster.

    eipAllocationId string

    Eip allocation Id.

    kubeconfigPrivate string

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfigPublic string

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubernetesVersion string

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    loggingConfig ClusterLoggingConfig

    Cluster log configuration information.

    name string

    The name of the cluster.

    podsConfig ClusterPodsConfig

    The config of the pods.

    servicesConfig ClusterServicesConfig

    The config of the services.

    tags ClusterTag[]

    Tags.

    client_token str

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    cluster_config ClusterClusterConfigArgs

    The config of the cluster.

    delete_protection_enabled bool

    The delete protection of the cluster, the value is true or false.

    description str

    The description of the cluster.

    eip_allocation_id str

    Eip allocation Id.

    kubeconfig_private str

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfig_public str

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubernetes_version str

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    logging_config ClusterLoggingConfigArgs

    Cluster log configuration information.

    name str

    The name of the cluster.

    pods_config ClusterPodsConfigArgs

    The config of the pods.

    services_config ClusterServicesConfigArgs

    The config of the services.

    tags Sequence[ClusterTagArgs]

    Tags.

    clientToken String

    ClientToken is a case-sensitive string of no more than 64 ASCII characters passed in by the caller.

    clusterConfig Property Map

    The config of the cluster.

    deleteProtectionEnabled Boolean

    The delete protection of the cluster, the value is true or false.

    description String

    The description of the cluster.

    eipAllocationId String

    Eip allocation Id.

    kubeconfigPrivate String

    Kubeconfig data with private network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubeconfigPublic String

    Kubeconfig data with public network access, returned in BASE64 encoding, it is suggested to use vke_kubeconfig instead.

    kubernetesVersion String

    The version of Kubernetes specified when creating a VKE cluster (specified to patch version), if not specified, the latest Kubernetes version supported by VKE is used by default, which is a 3-segment version format starting with a lowercase v, that is, KubernetesVersion with IsLatestVersion=True in the return value of ListSupportedVersions.

    loggingConfig Property Map

    Cluster log configuration information.

    name String

    The name of the cluster.

    podsConfig Property Map

    The config of the pods.

    servicesConfig Property Map

    The config of the services.

    tags List<Property Map>

    Tags.

    Supporting Types

    ClusterClusterConfig, ClusterClusterConfigArgs

    SubnetIds List<string>

    The subnet ID for the cluster control plane to communicate within the private network.

    ApiServerPublicAccessConfig Volcengine.ClusterClusterConfigApiServerPublicAccessConfig

    Cluster API Server public network access configuration.

    ApiServerPublicAccessEnabled bool

    Cluster API Server public network access configuration, the value is true or false.

    IpFamily string
    ResourcePublicAccessDefaultEnabled bool

    Node public network access configuration, the value is true or false.

    SubnetIds []string

    The subnet ID for the cluster control plane to communicate within the private network.

    ApiServerPublicAccessConfig ClusterClusterConfigApiServerPublicAccessConfig

    Cluster API Server public network access configuration.

    ApiServerPublicAccessEnabled bool

    Cluster API Server public network access configuration, the value is true or false.

    IpFamily string
    ResourcePublicAccessDefaultEnabled bool

    Node public network access configuration, the value is true or false.

    subnetIds List<String>

    The subnet ID for the cluster control plane to communicate within the private network.

    apiServerPublicAccessConfig ClusterClusterConfigApiServerPublicAccessConfig

    Cluster API Server public network access configuration.

    apiServerPublicAccessEnabled Boolean

    Cluster API Server public network access configuration, the value is true or false.

    ipFamily String
    resourcePublicAccessDefaultEnabled Boolean

    Node public network access configuration, the value is true or false.

    subnetIds string[]

    The subnet ID for the cluster control plane to communicate within the private network.

    apiServerPublicAccessConfig ClusterClusterConfigApiServerPublicAccessConfig

    Cluster API Server public network access configuration.

    apiServerPublicAccessEnabled boolean

    Cluster API Server public network access configuration, the value is true or false.

    ipFamily string
    resourcePublicAccessDefaultEnabled boolean

    Node public network access configuration, the value is true or false.

    subnet_ids Sequence[str]

    The subnet ID for the cluster control plane to communicate within the private network.

    api_server_public_access_config ClusterClusterConfigApiServerPublicAccessConfig

    Cluster API Server public network access configuration.

    api_server_public_access_enabled bool

    Cluster API Server public network access configuration, the value is true or false.

    ip_family str
    resource_public_access_default_enabled bool

    Node public network access configuration, the value is true or false.

    subnetIds List<String>

    The subnet ID for the cluster control plane to communicate within the private network.

    apiServerPublicAccessConfig Property Map

    Cluster API Server public network access configuration.

    apiServerPublicAccessEnabled Boolean

    Cluster API Server public network access configuration, the value is true or false.

    ipFamily String
    resourcePublicAccessDefaultEnabled Boolean

    Node public network access configuration, the value is true or false.

    ClusterClusterConfigApiServerPublicAccessConfig, ClusterClusterConfigApiServerPublicAccessConfigArgs

    publicAccessNetworkConfig Property Map

    Public network access network configuration.

    ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfig, ClusterClusterConfigApiServerPublicAccessConfigPublicAccessNetworkConfigArgs

    Bandwidth int

    The peak bandwidth of the public IP, unit: Mbps.

    BillingType string

    Billing type of public IP, the value is PostPaidByBandwidth or PostPaidByTraffic.

    Bandwidth int

    The peak bandwidth of the public IP, unit: Mbps.

    BillingType string

    Billing type of public IP, the value is PostPaidByBandwidth or PostPaidByTraffic.

    bandwidth Integer

    The peak bandwidth of the public IP, unit: Mbps.

    billingType String

    Billing type of public IP, the value is PostPaidByBandwidth or PostPaidByTraffic.

    bandwidth number

    The peak bandwidth of the public IP, unit: Mbps.

    billingType string

    Billing type of public IP, the value is PostPaidByBandwidth or PostPaidByTraffic.

    bandwidth int

    The peak bandwidth of the public IP, unit: Mbps.

    billing_type str

    Billing type of public IP, the value is PostPaidByBandwidth or PostPaidByTraffic.

    bandwidth Number

    The peak bandwidth of the public IP, unit: Mbps.

    billingType String

    Billing type of public IP, the value is PostPaidByBandwidth or PostPaidByTraffic.

    ClusterLoggingConfig, ClusterLoggingConfigArgs

    LogProjectId string

    The TLS log item ID of the collection target.

    LogSetups List<Volcengine.ClusterLoggingConfigLogSetup>

    Cluster logging options. This structure can only be modified and added, and cannot be deleted. When encountering a cannot be deleted error, please query the log setups of the current cluster and fill in the current tf file.

    LogProjectId string

    The TLS log item ID of the collection target.

    LogSetups []ClusterLoggingConfigLogSetup

    Cluster logging options. This structure can only be modified and added, and cannot be deleted. When encountering a cannot be deleted error, please query the log setups of the current cluster and fill in the current tf file.

    logProjectId String

    The TLS log item ID of the collection target.

    logSetups List<ClusterLoggingConfigLogSetup>

    Cluster logging options. This structure can only be modified and added, and cannot be deleted. When encountering a cannot be deleted error, please query the log setups of the current cluster and fill in the current tf file.

    logProjectId string

    The TLS log item ID of the collection target.

    logSetups ClusterLoggingConfigLogSetup[]

    Cluster logging options. This structure can only be modified and added, and cannot be deleted. When encountering a cannot be deleted error, please query the log setups of the current cluster and fill in the current tf file.

    log_project_id str

    The TLS log item ID of the collection target.

    log_setups Sequence[ClusterLoggingConfigLogSetup]

    Cluster logging options. This structure can only be modified and added, and cannot be deleted. When encountering a cannot be deleted error, please query the log setups of the current cluster and fill in the current tf file.

    logProjectId String

    The TLS log item ID of the collection target.

    logSetups List<Property Map>

    Cluster logging options. This structure can only be modified and added, and cannot be deleted. When encountering a cannot be deleted error, please query the log setups of the current cluster and fill in the current tf file.

    ClusterLoggingConfigLogSetup, ClusterLoggingConfigLogSetupArgs

    LogType string

    The currently enabled log type.

    Enabled bool

    Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.

    LogTtl int

    The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.

    LogType string

    The currently enabled log type.

    Enabled bool

    Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.

    LogTtl int

    The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.

    logType String

    The currently enabled log type.

    enabled Boolean

    Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.

    logTtl Integer

    The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.

    logType string

    The currently enabled log type.

    enabled boolean

    Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.

    logTtl number

    The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.

    log_type str

    The currently enabled log type.

    enabled bool

    Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.

    log_ttl int

    The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.

    logType String

    The currently enabled log type.

    enabled Boolean

    Whether to enable the log option, true means enable, false means not enable, the default is false. When Enabled is changed from false to true, a new Topic will be created.

    logTtl Number

    The storage time of logs in Log Service. After the specified log storage time is exceeded, the expired logs in this log topic will be automatically cleared. The unit is days, and the default is 30 days. The value range is 1 to 3650, specifying 3650 days means permanent storage.

    ClusterPodsConfig, ClusterPodsConfigArgs

    PodNetworkMode string

    The container network model of the cluster, the value is Flannel or VpcCniShared. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance.

    FlannelConfig Volcengine.ClusterPodsConfigFlannelConfig

    Flannel network configuration.

    VpcCniConfig Volcengine.ClusterPodsConfigVpcCniConfig

    VPC-CNI network configuration.

    PodNetworkMode string

    The container network model of the cluster, the value is Flannel or VpcCniShared. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance.

    FlannelConfig ClusterPodsConfigFlannelConfig

    Flannel network configuration.

    VpcCniConfig ClusterPodsConfigVpcCniConfig

    VPC-CNI network configuration.

    podNetworkMode String

    The container network model of the cluster, the value is Flannel or VpcCniShared. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance.

    flannelConfig ClusterPodsConfigFlannelConfig

    Flannel network configuration.

    vpcCniConfig ClusterPodsConfigVpcCniConfig

    VPC-CNI network configuration.

    podNetworkMode string

    The container network model of the cluster, the value is Flannel or VpcCniShared. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance.

    flannelConfig ClusterPodsConfigFlannelConfig

    Flannel network configuration.

    vpcCniConfig ClusterPodsConfigVpcCniConfig

    VPC-CNI network configuration.

    pod_network_mode str

    The container network model of the cluster, the value is Flannel or VpcCniShared. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance.

    flannel_config ClusterPodsConfigFlannelConfig

    Flannel network configuration.

    vpc_cni_config ClusterPodsConfigVpcCniConfig

    VPC-CNI network configuration.

    podNetworkMode String

    The container network model of the cluster, the value is Flannel or VpcCniShared. Flannel: Flannel network model, an independent Underlay container network solution, combined with the global routing capability of VPC, to achieve a high-performance network experience for the cluster. VpcCniShared: VPC-CNI network model, an Underlay container network solution based on the ENI of the private network elastic network card, with high network communication performance.

    flannelConfig Property Map

    Flannel network configuration.

    vpcCniConfig Property Map

    VPC-CNI network configuration.

    ClusterPodsConfigFlannelConfig, ClusterPodsConfigFlannelConfigArgs

    MaxPodsPerNode int

    The maximum number of single-node Pod instances for a Flannel container network, the value can be 16 or 32 or 64 or 128 or 256.

    PodCidrs List<string>

    Pod CIDR for the Flannel container network.

    MaxPodsPerNode int

    The maximum number of single-node Pod instances for a Flannel container network, the value can be 16 or 32 or 64 or 128 or 256.

    PodCidrs []string

    Pod CIDR for the Flannel container network.

    maxPodsPerNode Integer

    The maximum number of single-node Pod instances for a Flannel container network, the value can be 16 or 32 or 64 or 128 or 256.

    podCidrs List<String>

    Pod CIDR for the Flannel container network.

    maxPodsPerNode number

    The maximum number of single-node Pod instances for a Flannel container network, the value can be 16 or 32 or 64 or 128 or 256.

    podCidrs string[]

    Pod CIDR for the Flannel container network.

    max_pods_per_node int

    The maximum number of single-node Pod instances for a Flannel container network, the value can be 16 or 32 or 64 or 128 or 256.

    pod_cidrs Sequence[str]

    Pod CIDR for the Flannel container network.

    maxPodsPerNode Number

    The maximum number of single-node Pod instances for a Flannel container network, the value can be 16 or 32 or 64 or 128 or 256.

    podCidrs List<String>

    Pod CIDR for the Flannel container network.

    ClusterPodsConfigVpcCniConfig, ClusterPodsConfigVpcCniConfigArgs

    SubnetIds List<string>

    A list of Pod subnet IDs for the VPC-CNI container network.

    VpcId string

    The private network where the cluster control plane network resides.

    SubnetIds []string

    A list of Pod subnet IDs for the VPC-CNI container network.

    VpcId string

    The private network where the cluster control plane network resides.

    subnetIds List<String>

    A list of Pod subnet IDs for the VPC-CNI container network.

    vpcId String

    The private network where the cluster control plane network resides.

    subnetIds string[]

    A list of Pod subnet IDs for the VPC-CNI container network.

    vpcId string

    The private network where the cluster control plane network resides.

    subnet_ids Sequence[str]

    A list of Pod subnet IDs for the VPC-CNI container network.

    vpc_id str

    The private network where the cluster control plane network resides.

    subnetIds List<String>

    A list of Pod subnet IDs for the VPC-CNI container network.

    vpcId String

    The private network where the cluster control plane network resides.

    ClusterServicesConfig, ClusterServicesConfigArgs

    ServiceCidrsv4s List<string>

    The IPv4 private network address exposed by the service.

    ServiceCidrsv4s []string

    The IPv4 private network address exposed by the service.

    serviceCidrsv4s List<String>

    The IPv4 private network address exposed by the service.

    serviceCidrsv4s string[]

    The IPv4 private network address exposed by the service.

    service_cidrsv4s Sequence[str]

    The IPv4 private network address exposed by the service.

    serviceCidrsv4s List<String>

    The IPv4 private network address exposed by the service.

    ClusterTag, ClusterTagArgs

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    Key string

    The Key of Tags.

    Value string

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    key string

    The Key of Tags.

    value string

    The Value of Tags.

    key str

    The Key of Tags.

    value str

    The Value of Tags.

    key String

    The Key of Tags.

    value String

    The Value of Tags.

    Import

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

     $ pulumi import volcengine:vke/cluster:Cluster default cc9l74mvqtofjnoj5****
    

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the volcengine Terraform Provider.

    volcengine logo
    Volcengine v0.0.18 published on Wednesday, Sep 13, 2023 by Volcengine