flexibleengine.CceClusterV3
Explore with Pulumi AI
Provides a cluster resource (CCE).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const flavorId = config.requireObject("flavorId");
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
cidr: "192.168.0.0/24",
gatewayIp: "192.168.0.1",
vpcId: exampleVpc.vpcV1Id,
});
const cluster1 = new flexibleengine.CceClusterV3("cluster1", {
clusterType: "VirtualMachine",
authenticationMode: "rbac",
description: "new cluster",
flavorId: flavorId,
vpcId: exampleVpc.vpcV1Id,
subnetId: exampleSubnet.vpcSubnetV1Id,
containerNetworkType: "overlay_l2",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
flavor_id = config.require_object("flavorId")
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
cidr="192.168.0.0/24",
gateway_ip="192.168.0.1",
vpc_id=example_vpc.vpc_v1_id)
cluster1 = flexibleengine.CceClusterV3("cluster1",
cluster_type="VirtualMachine",
authentication_mode="rbac",
description="new cluster",
flavor_id=flavor_id,
vpc_id=example_vpc.vpc_v1_id,
subnet_id=example_subnet.vpc_subnet_v1_id,
container_network_type="overlay_l2")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
flavorId := cfg.RequireObject("flavorId")
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
Cidr: pulumi.String("192.168.0.0/24"),
GatewayIp: pulumi.String("192.168.0.1"),
VpcId: exampleVpc.VpcV1Id,
})
if err != nil {
return err
}
_, err = flexibleengine.NewCceClusterV3(ctx, "cluster1", &flexibleengine.CceClusterV3Args{
ClusterType: pulumi.String("VirtualMachine"),
AuthenticationMode: pulumi.String("rbac"),
Description: pulumi.String("new cluster"),
FlavorId: pulumi.Any(flavorId),
VpcId: exampleVpc.VpcV1Id,
SubnetId: exampleSubnet.VpcSubnetV1Id,
ContainerNetworkType: pulumi.String("overlay_l2"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var flavorId = config.RequireObject<dynamic>("flavorId");
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
{
Cidr = "192.168.0.0/24",
GatewayIp = "192.168.0.1",
VpcId = exampleVpc.VpcV1Id,
});
var cluster1 = new Flexibleengine.CceClusterV3("cluster1", new()
{
ClusterType = "VirtualMachine",
AuthenticationMode = "rbac",
Description = "new cluster",
FlavorId = flavorId,
VpcId = exampleVpc.VpcV1Id,
SubnetId = exampleSubnet.VpcSubnetV1Id,
ContainerNetworkType = "overlay_l2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.VpcSubnetV1;
import com.pulumi.flexibleengine.VpcSubnetV1Args;
import com.pulumi.flexibleengine.CceClusterV3;
import com.pulumi.flexibleengine.CceClusterV3Args;
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) {
final var config = ctx.config();
final var flavorId = config.get("flavorId");
var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
.cidr("192.168.0.0/24")
.gatewayIp("192.168.0.1")
.vpcId(exampleVpc.vpcV1Id())
.build());
var cluster1 = new CceClusterV3("cluster1", CceClusterV3Args.builder()
.clusterType("VirtualMachine")
.authenticationMode("rbac")
.description("new cluster")
.flavorId(flavorId)
.vpcId(exampleVpc.vpcV1Id())
.subnetId(exampleSubnet.vpcSubnetV1Id())
.containerNetworkType("overlay_l2")
.build());
}
}
configuration:
flavorId:
type: dynamic
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
exampleSubnet:
type: flexibleengine:VpcSubnetV1
properties:
cidr: 192.168.0.0/24
gatewayIp: 192.168.0.1
vpcId: ${exampleVpc.vpcV1Id}
cluster1:
type: flexibleengine:CceClusterV3
properties:
clusterType: VirtualMachine
authenticationMode: rbac
description: new cluster
flavorId: ${flavorId}
vpcId: ${exampleVpc.vpcV1Id}
subnetId: ${exampleSubnet.vpcSubnetV1Id}
containerNetworkType: overlay_l2
Create CceClusterV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CceClusterV3(name: string, args: CceClusterV3Args, opts?: CustomResourceOptions);
@overload
def CceClusterV3(resource_name: str,
args: CceClusterV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def CceClusterV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_type: Optional[str] = None,
vpc_id: Optional[str] = None,
subnet_id: Optional[str] = None,
flavor_id: Optional[str] = None,
container_network_type: Optional[str] = None,
extend_param: Optional[Mapping[str, str]] = None,
hibernate: Optional[bool] = None,
container_network_cidr: Optional[str] = None,
cce_cluster_v3_id: Optional[str] = None,
custom_sans: Optional[Sequence[str]] = None,
description: Optional[str] = None,
eip: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
billing_mode: Optional[float] = None,
cluster_version: Optional[str] = None,
highway_subnet_id: Optional[str] = None,
kube_proxy_mode: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
masters: Optional[Sequence[CceClusterV3MasterArgs]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
service_network_cidr: Optional[str] = None,
authentication_mode: Optional[str] = None,
timeouts: Optional[CceClusterV3TimeoutsArgs] = None,
authenticating_proxy_ca: Optional[str] = None)
func NewCceClusterV3(ctx *Context, name string, args CceClusterV3Args, opts ...ResourceOption) (*CceClusterV3, error)
public CceClusterV3(string name, CceClusterV3Args args, CustomResourceOptions? opts = null)
public CceClusterV3(String name, CceClusterV3Args args)
public CceClusterV3(String name, CceClusterV3Args args, CustomResourceOptions options)
type: flexibleengine:CceClusterV3
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 CceClusterV3Args
- 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 CceClusterV3Args
- 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 CceClusterV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CceClusterV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CceClusterV3Args
- 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 cceClusterV3Resource = new Flexibleengine.CceClusterV3("cceClusterV3Resource", new()
{
ClusterType = "string",
VpcId = "string",
SubnetId = "string",
FlavorId = "string",
ContainerNetworkType = "string",
ExtendParam =
{
{ "string", "string" },
},
Hibernate = false,
ContainerNetworkCidr = "string",
CceClusterV3Id = "string",
CustomSans = new[]
{
"string",
},
Description = "string",
Eip = "string",
Annotations =
{
{ "string", "string" },
},
BillingMode = 0,
ClusterVersion = "string",
HighwaySubnetId = "string",
KubeProxyMode = "string",
Labels =
{
{ "string", "string" },
},
Masters = new[]
{
new Flexibleengine.Inputs.CceClusterV3MasterArgs
{
AvailabilityZone = "string",
},
},
Name = "string",
Region = "string",
ServiceNetworkCidr = "string",
AuthenticationMode = "string",
Timeouts = new Flexibleengine.Inputs.CceClusterV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
AuthenticatingProxyCa = "string",
});
example, err := flexibleengine.NewCceClusterV3(ctx, "cceClusterV3Resource", &flexibleengine.CceClusterV3Args{
ClusterType: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
FlavorId: pulumi.String("string"),
ContainerNetworkType: pulumi.String("string"),
ExtendParam: pulumi.StringMap{
"string": pulumi.String("string"),
},
Hibernate: pulumi.Bool(false),
ContainerNetworkCidr: pulumi.String("string"),
CceClusterV3Id: pulumi.String("string"),
CustomSans: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Eip: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
BillingMode: pulumi.Float64(0),
ClusterVersion: pulumi.String("string"),
HighwaySubnetId: pulumi.String("string"),
KubeProxyMode: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Masters: flexibleengine.CceClusterV3MasterArray{
&flexibleengine.CceClusterV3MasterArgs{
AvailabilityZone: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Region: pulumi.String("string"),
ServiceNetworkCidr: pulumi.String("string"),
AuthenticationMode: pulumi.String("string"),
Timeouts: &flexibleengine.CceClusterV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
AuthenticatingProxyCa: pulumi.String("string"),
})
var cceClusterV3Resource = new CceClusterV3("cceClusterV3Resource", CceClusterV3Args.builder()
.clusterType("string")
.vpcId("string")
.subnetId("string")
.flavorId("string")
.containerNetworkType("string")
.extendParam(Map.of("string", "string"))
.hibernate(false)
.containerNetworkCidr("string")
.cceClusterV3Id("string")
.customSans("string")
.description("string")
.eip("string")
.annotations(Map.of("string", "string"))
.billingMode(0)
.clusterVersion("string")
.highwaySubnetId("string")
.kubeProxyMode("string")
.labels(Map.of("string", "string"))
.masters(CceClusterV3MasterArgs.builder()
.availabilityZone("string")
.build())
.name("string")
.region("string")
.serviceNetworkCidr("string")
.authenticationMode("string")
.timeouts(CceClusterV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.authenticatingProxyCa("string")
.build());
cce_cluster_v3_resource = flexibleengine.CceClusterV3("cceClusterV3Resource",
cluster_type="string",
vpc_id="string",
subnet_id="string",
flavor_id="string",
container_network_type="string",
extend_param={
"string": "string",
},
hibernate=False,
container_network_cidr="string",
cce_cluster_v3_id="string",
custom_sans=["string"],
description="string",
eip="string",
annotations={
"string": "string",
},
billing_mode=0,
cluster_version="string",
highway_subnet_id="string",
kube_proxy_mode="string",
labels={
"string": "string",
},
masters=[{
"availability_zone": "string",
}],
name="string",
region="string",
service_network_cidr="string",
authentication_mode="string",
timeouts={
"create": "string",
"delete": "string",
},
authenticating_proxy_ca="string")
const cceClusterV3Resource = new flexibleengine.CceClusterV3("cceClusterV3Resource", {
clusterType: "string",
vpcId: "string",
subnetId: "string",
flavorId: "string",
containerNetworkType: "string",
extendParam: {
string: "string",
},
hibernate: false,
containerNetworkCidr: "string",
cceClusterV3Id: "string",
customSans: ["string"],
description: "string",
eip: "string",
annotations: {
string: "string",
},
billingMode: 0,
clusterVersion: "string",
highwaySubnetId: "string",
kubeProxyMode: "string",
labels: {
string: "string",
},
masters: [{
availabilityZone: "string",
}],
name: "string",
region: "string",
serviceNetworkCidr: "string",
authenticationMode: "string",
timeouts: {
create: "string",
"delete": "string",
},
authenticatingProxyCa: "string",
});
type: flexibleengine:CceClusterV3
properties:
annotations:
string: string
authenticatingProxyCa: string
authenticationMode: string
billingMode: 0
cceClusterV3Id: string
clusterType: string
clusterVersion: string
containerNetworkCidr: string
containerNetworkType: string
customSans:
- string
description: string
eip: string
extendParam:
string: string
flavorId: string
hibernate: false
highwaySubnetId: string
kubeProxyMode: string
labels:
string: string
masters:
- availabilityZone: string
name: string
region: string
serviceNetworkCidr: string
subnetId: string
timeouts:
create: string
delete: string
vpcId: string
CceClusterV3 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 CceClusterV3 resource accepts the following input properties:
- Cluster
Type string - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- Container
Network stringType - Container network parameters. Possible values:
- Flavor
Id string - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- Subnet
Id string - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- Vpc
Id string - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- Annotations Dictionary<string, string>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy stringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- Authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- Billing
Mode double - Cce
Cluster stringV3Id - Id of the cluster resource.
- Cluster
Version string - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Custom
Sans List<string> - Custom san to add to certificate. (array of string)
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Extend
Param Dictionary<string, string> - Extended parameter. Changing this parameter will create a new cluster resource.
- Hibernate bool
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- Highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- Labels Dictionary<string, string>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
List<Cce
Cluster V3Master> - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- Region string
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- Service
Network stringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts
- Cluster
Type string - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- Container
Network stringType - Container network parameters. Possible values:
- Flavor
Id string - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- Subnet
Id string - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- Vpc
Id string - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- Annotations map[string]string
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy stringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- Authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- Billing
Mode float64 - Cce
Cluster stringV3Id - Id of the cluster resource.
- Cluster
Version string - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Custom
Sans []string - Custom san to add to certificate. (array of string)
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Extend
Param map[string]string - Extended parameter. Changing this parameter will create a new cluster resource.
- Hibernate bool
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- Highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- Labels map[string]string
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
[]Cce
Cluster V3Master Args - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- Region string
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- Service
Network stringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts Args
- cluster
Type String - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- container
Network StringType - Container network parameters. Possible values:
- flavor
Id String - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- subnet
Id String - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- vpc
Id String - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations Map<String,String>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating
Proxy StringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication
Mode String - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing
Mode Double - cce
Cluster StringV3Id - Id of the cluster resource.
- cluster
Version String - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- custom
Sans List<String> - Custom san to add to certificate. (array of string)
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- extend
Param Map<String,String> - Extended parameter. Changing this parameter will create a new cluster resource.
- hibernate Boolean
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway
Subnet StringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels Map<String,String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
List<Cce
Cluster V3Master> - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name String
- Cluster name. Changing this parameter will create a new cluster resource.
- region String
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- service
Network StringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts
- cluster
Type string - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- container
Network stringType - Container network parameters. Possible values:
- flavor
Id string - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- subnet
Id string - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- vpc
Id string - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations {[key: string]: string}
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating
Proxy stringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing
Mode number - cce
Cluster stringV3Id - Id of the cluster resource.
- cluster
Version string - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- custom
Sans string[] - Custom san to add to certificate. (array of string)
- description string
- Cluster description.
- eip string
- EIP address of the cluster.
- extend
Param {[key: string]: string} - Extended parameter. Changing this parameter will create a new cluster resource.
- hibernate boolean
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels {[key: string]: string}
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
Cce
Cluster V3Master[] - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name string
- Cluster name. Changing this parameter will create a new cluster resource.
- region string
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- service
Network stringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts
- cluster_
type str - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- container_
network_ strtype - Container network parameters. Possible values:
- flavor_
id str - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- subnet_
id str - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- vpc_
id str - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations Mapping[str, str]
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating_
proxy_ strca - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication_
mode str - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing_
mode float - cce_
cluster_ strv3_ id - Id of the cluster resource.
- cluster_
version str - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container_
network_ strcidr - Container network segment. Changing this parameter will create a new cluster resource.
- custom_
sans Sequence[str] - Custom san to add to certificate. (array of string)
- description str
- Cluster description.
- eip str
- EIP address of the cluster.
- extend_
param Mapping[str, str] - Extended parameter. Changing this parameter will create a new cluster resource.
- hibernate bool
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway_
subnet_ strid - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- kube_
proxy_ strmode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels Mapping[str, str]
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
Sequence[Cce
Cluster V3Master Args] - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name str
- Cluster name. Changing this parameter will create a new cluster resource.
- region str
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- service_
network_ strcidr - Service network segment. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts Args
- cluster
Type String - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- container
Network StringType - Container network parameters. Possible values:
- flavor
Id String - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- subnet
Id String - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- vpc
Id String - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations Map<String>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating
Proxy StringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication
Mode String - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing
Mode Number - cce
Cluster StringV3Id - Id of the cluster resource.
- cluster
Version String - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- custom
Sans List<String> - Custom san to add to certificate. (array of string)
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- extend
Param Map<String> - Extended parameter. Changing this parameter will create a new cluster resource.
- hibernate Boolean
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway
Subnet StringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels Map<String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters List<Property Map>
- Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name String
- Cluster name. Changing this parameter will create a new cluster resource.
- region String
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- service
Network StringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CceClusterV3 resource produces the following output properties:
- Certificate
Clusters List<CceCluster V3Certificate Cluster> - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- Certificate
Users List<CceCluster V3Certificate User> - Security group ID of the cluster. The certificate_users object structure is documented below.
- External
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- External
Endpoint string - The external network address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Endpoint string - The internal network address.
- Security
Group stringId - Security group ID of the cluster.
- Status string
- Cluster status information.
- Certificate
Clusters []CceCluster V3Certificate Cluster - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- Certificate
Users []CceCluster V3Certificate User - Security group ID of the cluster. The certificate_users object structure is documented below.
- External
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- External
Endpoint string - The external network address.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Endpoint string - The internal network address.
- Security
Group stringId - Security group ID of the cluster.
- Status string
- Cluster status information.
- certificate
Clusters List<CceCluster V3Certificate Cluster> - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate
Users List<CceCluster V3Certificate User> - Security group ID of the cluster. The certificate_users object structure is documented below.
- external
Apig StringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint String - The external network address.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Endpoint String - The internal network address.
- security
Group StringId - Security group ID of the cluster.
- status String
- Cluster status information.
- certificate
Clusters CceCluster V3Certificate Cluster[] - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate
Users CceCluster V3Certificate User[] - Security group ID of the cluster. The certificate_users object structure is documented below.
- external
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint string - The external network address.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Endpoint string - The internal network address.
- security
Group stringId - Security group ID of the cluster.
- status string
- Cluster status information.
- certificate_
clusters Sequence[CceCluster V3Certificate Cluster] - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate_
users Sequence[CceCluster V3Certificate User] - Security group ID of the cluster. The certificate_users object structure is documented below.
- external_
apig_ strendpoint - The endpoint of the cluster to be accessed through API Gateway.
- external_
endpoint str - The external network address.
- id str
- The provider-assigned unique ID for this managed resource.
- internal_
endpoint str - The internal network address.
- security_
group_ strid - Security group ID of the cluster.
- status str
- Cluster status information.
- certificate
Clusters List<Property Map> - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate
Users List<Property Map> - Security group ID of the cluster. The certificate_users object structure is documented below.
- external
Apig StringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint String - The external network address.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Endpoint String - The internal network address.
- security
Group StringId - Security group ID of the cluster.
- status String
- Cluster status information.
Look up Existing CceClusterV3 Resource
Get an existing CceClusterV3 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?: CceClusterV3State, opts?: CustomResourceOptions): CceClusterV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
authenticating_proxy_ca: Optional[str] = None,
authentication_mode: Optional[str] = None,
billing_mode: Optional[float] = None,
cce_cluster_v3_id: Optional[str] = None,
certificate_clusters: Optional[Sequence[CceClusterV3CertificateClusterArgs]] = None,
certificate_users: Optional[Sequence[CceClusterV3CertificateUserArgs]] = None,
cluster_type: Optional[str] = None,
cluster_version: Optional[str] = None,
container_network_cidr: Optional[str] = None,
container_network_type: Optional[str] = None,
custom_sans: Optional[Sequence[str]] = None,
description: Optional[str] = None,
eip: Optional[str] = None,
extend_param: Optional[Mapping[str, str]] = None,
external_apig_endpoint: Optional[str] = None,
external_endpoint: Optional[str] = None,
flavor_id: Optional[str] = None,
hibernate: Optional[bool] = None,
highway_subnet_id: Optional[str] = None,
internal_endpoint: Optional[str] = None,
kube_proxy_mode: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
masters: Optional[Sequence[CceClusterV3MasterArgs]] = None,
name: Optional[str] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
service_network_cidr: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
timeouts: Optional[CceClusterV3TimeoutsArgs] = None,
vpc_id: Optional[str] = None) -> CceClusterV3
func GetCceClusterV3(ctx *Context, name string, id IDInput, state *CceClusterV3State, opts ...ResourceOption) (*CceClusterV3, error)
public static CceClusterV3 Get(string name, Input<string> id, CceClusterV3State? state, CustomResourceOptions? opts = null)
public static CceClusterV3 get(String name, Output<String> id, CceClusterV3State state, CustomResourceOptions options)
resources: _: type: flexibleengine:CceClusterV3 get: id: ${id}
- 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.
- Annotations Dictionary<string, string>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy stringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- Authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- Billing
Mode double - Cce
Cluster stringV3Id - Id of the cluster resource.
- Certificate
Clusters List<CceCluster V3Certificate Cluster> - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- Certificate
Users List<CceCluster V3Certificate User> - Security group ID of the cluster. The certificate_users object structure is documented below.
- Cluster
Type string - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- Cluster
Version string - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Container
Network stringType - Container network parameters. Possible values:
- Custom
Sans List<string> - Custom san to add to certificate. (array of string)
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Extend
Param Dictionary<string, string> - Extended parameter. Changing this parameter will create a new cluster resource.
- External
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- External
Endpoint string - The external network address.
- Flavor
Id string - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- Hibernate bool
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- Highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- Internal
Endpoint string - The internal network address.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- Labels Dictionary<string, string>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
List<Cce
Cluster V3Master> - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- Region string
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- Security
Group stringId - Security group ID of the cluster.
- Service
Network stringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- Status string
- Cluster status information.
- Subnet
Id string - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts - Vpc
Id string - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- Annotations map[string]string
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy stringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- Authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- Billing
Mode float64 - Cce
Cluster stringV3Id - Id of the cluster resource.
- Certificate
Clusters []CceCluster V3Certificate Cluster Args - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- Certificate
Users []CceCluster V3Certificate User Args - Security group ID of the cluster. The certificate_users object structure is documented below.
- Cluster
Type string - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- Cluster
Version string - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Container
Network stringType - Container network parameters. Possible values:
- Custom
Sans []string - Custom san to add to certificate. (array of string)
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Extend
Param map[string]string - Extended parameter. Changing this parameter will create a new cluster resource.
- External
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- External
Endpoint string - The external network address.
- Flavor
Id string - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- Hibernate bool
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- Highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- Internal
Endpoint string - The internal network address.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- Labels map[string]string
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
[]Cce
Cluster V3Master Args - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- Region string
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- Security
Group stringId - Security group ID of the cluster.
- Service
Network stringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- Status string
- Cluster status information.
- Subnet
Id string - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts Args - Vpc
Id string - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations Map<String,String>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating
Proxy StringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication
Mode String - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing
Mode Double - cce
Cluster StringV3Id - Id of the cluster resource.
- certificate
Clusters List<CceCluster V3Certificate Cluster> - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate
Users List<CceCluster V3Certificate User> - Security group ID of the cluster. The certificate_users object structure is documented below.
- cluster
Type String - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- cluster
Version String - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- container
Network StringType - Container network parameters. Possible values:
- custom
Sans List<String> - Custom san to add to certificate. (array of string)
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- extend
Param Map<String,String> - Extended parameter. Changing this parameter will create a new cluster resource.
- external
Apig StringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint String - The external network address.
- flavor
Id String - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- hibernate Boolean
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway
Subnet StringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- internal
Endpoint String - The internal network address.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels Map<String,String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
List<Cce
Cluster V3Master> - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name String
- Cluster name. Changing this parameter will create a new cluster resource.
- region String
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- security
Group StringId - Security group ID of the cluster.
- service
Network StringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- status String
- Cluster status information.
- subnet
Id String - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts - vpc
Id String - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations {[key: string]: string}
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating
Proxy stringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication
Mode string - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing
Mode number - cce
Cluster stringV3Id - Id of the cluster resource.
- certificate
Clusters CceCluster V3Certificate Cluster[] - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate
Users CceCluster V3Certificate User[] - Security group ID of the cluster. The certificate_users object structure is documented below.
- cluster
Type string - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- cluster
Version string - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- container
Network stringType - Container network parameters. Possible values:
- custom
Sans string[] - Custom san to add to certificate. (array of string)
- description string
- Cluster description.
- eip string
- EIP address of the cluster.
- extend
Param {[key: string]: string} - Extended parameter. Changing this parameter will create a new cluster resource.
- external
Apig stringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint string - The external network address.
- flavor
Id string - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- hibernate boolean
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway
Subnet stringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- internal
Endpoint string - The internal network address.
- kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels {[key: string]: string}
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
Cce
Cluster V3Master[] - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name string
- Cluster name. Changing this parameter will create a new cluster resource.
- region string
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- security
Group stringId - Security group ID of the cluster.
- service
Network stringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- status string
- Cluster status information.
- subnet
Id string - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts - vpc
Id string - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations Mapping[str, str]
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating_
proxy_ strca - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication_
mode str - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing_
mode float - cce_
cluster_ strv3_ id - Id of the cluster resource.
- certificate_
clusters Sequence[CceCluster V3Certificate Cluster Args] - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate_
users Sequence[CceCluster V3Certificate User Args] - Security group ID of the cluster. The certificate_users object structure is documented below.
- cluster_
type str - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- cluster_
version str - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container_
network_ strcidr - Container network segment. Changing this parameter will create a new cluster resource.
- container_
network_ strtype - Container network parameters. Possible values:
- custom_
sans Sequence[str] - Custom san to add to certificate. (array of string)
- description str
- Cluster description.
- eip str
- EIP address of the cluster.
- extend_
param Mapping[str, str] - Extended parameter. Changing this parameter will create a new cluster resource.
- external_
apig_ strendpoint - The endpoint of the cluster to be accessed through API Gateway.
- external_
endpoint str - The external network address.
- flavor_
id str - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- hibernate bool
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway_
subnet_ strid - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- internal_
endpoint str - The internal network address.
- kube_
proxy_ strmode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels Mapping[str, str]
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
Sequence[Cce
Cluster V3Master Args] - Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name str
- Cluster name. Changing this parameter will create a new cluster resource.
- region str
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- security_
group_ strid - Security group ID of the cluster.
- service_
network_ strcidr - Service network segment. Changing this parameter will create a new cluster resource.
- status str
- Cluster status information.
- subnet_
id str - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts Args - vpc_
id str - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
- annotations Map<String>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- authenticating
Proxy StringCa - CA root certificate provided in the authenticating_proxy mode. The CA root certificate is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
- authentication
Mode String - Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac. Changing this parameter will create a new cluster resource.
- billing
Mode Number - cce
Cluster StringV3Id - Id of the cluster resource.
- certificate
Clusters List<Property Map> - Security group ID of the cluster. The certificate_clusters object structure is documented below.
- certificate
Users List<Property Map> - Security group ID of the cluster. The certificate_users object structure is documented below.
- cluster
Type String - Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.
- cluster
Version String - For the cluster version, possible values are listed on the CCE Cluster Version Release Notes. If this parameter is not set, the latest available version will be used.
- container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- container
Network StringType - Container network parameters. Possible values:
- custom
Sans List<String> - Custom san to add to certificate. (array of string)
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- extend
Param Map<String> - Extended parameter. Changing this parameter will create a new cluster resource.
- external
Apig StringEndpoint - The endpoint of the cluster to be accessed through API Gateway.
- external
Endpoint String - The external network address.
- flavor
Id String - Cluster specifications. Changing this parameter will create a new cluster resource.
cce.s1.small
- small-scale single cluster (up to 50 nodes).cce.s1.medium
- medium-scale single cluster (up to 200 nodes).cce.s1.large
- large-scale single cluster (up to 1000 nodes).cce.s2.small
- small-scale HA cluster (up to 50 nodes).cce.s2.medium
- medium-scale HA cluster (up to 200 nodes).cce.s2.large
- large-scale HA cluster (up to 1000 nodes).cce.t1.small
- small-scale single physical machine cluster (up to 10 nodes).cce.t1.medium
- medium-scale single physical machine cluster (up to 100 nodes).cce.t1.large
- large-scale single physical machine cluster (up to 500 nodes).cce.t2.small
- small-scale HA physical machine cluster (up to 10 nodes).cce.t2.medium
- medium-scale HA physical machine cluster (up to 100 nodes).cce.t2.large
- large-scale HA physical machine cluster (up to 500 nodes).
- hibernate Boolean
Specifies whether to hibernate the CCE cluster. Defaults to false. After a cluster is hibernated, resources such as workloads cannot be created or managed in the cluster, and the cluster cannot be deleted.
The
masters
block supports:- highway
Subnet StringId - The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
- internal
Endpoint String - The internal network address.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- iptables: Traditional kube-proxy uses iptables rules to implement service load balancing. In this mode, too many iptables rules will be generated when many services are deployed. In addition, non-incremental updates will cause a latency and even obvious performance issues in the case of heavy service traffic.
- ipvs: Optimized kube-proxy mode with higher throughput and faster speed. This mode supports incremental updates and can keep connections uninterrupted during service updates. It is suitable for large-sized clusters.
- labels Map<String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters List<Property Map>
- Advanced configuration of master nodes. Changing this creates a new cluster. The masters object structure is documented below.
- name String
- Cluster name. Changing this parameter will create a new cluster resource.
- region String
- Specifies the region in which to create the CCE cluster resource. If omitted, the provider-level region will be used. Changing this will create a new CCE cluster resource.
- security
Group StringId - Security group ID of the cluster.
- service
Network StringCidr - Service network segment. Changing this parameter will create a new cluster resource.
- status String
- Cluster status information.
- subnet
Id String - The ID of the VPC Subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts Property Map
- vpc
Id String - The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
Supporting Types
CceClusterV3CertificateCluster, CceClusterV3CertificateClusterArgs
CceClusterV3CertificateUser, CceClusterV3CertificateUserArgs
- Client
Certificate stringData - The client certificate data.
- Client
Key stringData - The client key data.
- Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- Client
Certificate stringData - The client certificate data.
- Client
Key stringData - The client key data.
- Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- client
Certificate StringData - The client certificate data.
- client
Key StringData - The client key data.
- name String
- Cluster name. Changing this parameter will create a new cluster resource.
- client
Certificate stringData - The client certificate data.
- client
Key stringData - The client key data.
- name string
- Cluster name. Changing this parameter will create a new cluster resource.
- client_
certificate_ strdata - The client certificate data.
- client_
key_ strdata - The client key data.
- name str
- Cluster name. Changing this parameter will create a new cluster resource.
- client
Certificate StringData - The client certificate data.
- client
Key StringData - The client key data.
- name String
- Cluster name. Changing this parameter will create a new cluster resource.
CceClusterV3Master, CceClusterV3MasterArgs
- Availability
Zone string - Specifies the availability zone of the master node. Changing this creates a new cluster.
- Availability
Zone string - Specifies the availability zone of the master node. Changing this creates a new cluster.
- availability
Zone String - Specifies the availability zone of the master node. Changing this creates a new cluster.
- availability
Zone string - Specifies the availability zone of the master node. Changing this creates a new cluster.
- availability_
zone str - Specifies the availability zone of the master node. Changing this creates a new cluster.
- availability
Zone String - Specifies the availability zone of the master node. Changing this creates a new cluster.
CceClusterV3Timeouts, CceClusterV3TimeoutsArgs
Import
Cluster can be imported using their id
, e.g.
$ pulumi import flexibleengine:index/cceClusterV3:CceClusterV3 cluster_1 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.