opentelekomcloud.CceClusterV3
Explore with Pulumi AI
Import
Cluster can be imported using the cluster id, e.g.
$ pulumi import opentelekomcloud:index/cceClusterV3:CceClusterV3 cluster_1 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
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,
eip: Optional[str] = None,
extend_param: Optional[Mapping[str, str]] = None,
billing_mode: Optional[float] = None,
cluster_version: Optional[str] = None,
container_network_cidr: Optional[str] = None,
authentication_mode: Optional[str] = None,
delete_all_network: Optional[str] = None,
delete_all_storage: Optional[str] = None,
delete_efs: Optional[str] = None,
delete_eni: Optional[str] = None,
delete_evs: Optional[str] = None,
delete_net: Optional[str] = None,
delete_obs: Optional[str] = None,
delete_sfs: Optional[str] = None,
description: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
enable_volume_encryption: Optional[bool] = None,
eni_subnet_cidr: Optional[str] = None,
eni_subnet_id: Optional[str] = None,
cce_cluster_v3_id: Optional[str] = None,
authenticating_proxy_ca: Optional[str] = None,
highway_subnet_id: Optional[str] = None,
ignore_addons: Optional[bool] = None,
ignore_certificate_clusters_data: Optional[bool] = None,
ignore_certificate_users_data: Optional[bool] = None,
kube_proxy_mode: Optional[str] = None,
kubernetes_svc_ip_range: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
masters: Optional[Sequence[CceClusterV3MasterArgs]] = None,
multi_az: Optional[bool] = None,
name: Optional[str] = None,
no_addons: Optional[bool] = None,
region: Optional[str] = None,
security_group_id: Optional[str] = None,
authenticating_proxy: Optional[CceClusterV3AuthenticatingProxyArgs] = None,
timeouts: Optional[CceClusterV3TimeoutsArgs] = None,
timezone: Optional[str] = None,
api_access_trustlists: Optional[Sequence[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: opentelekomcloud: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 Opentelekomcloud.CceClusterV3("cceClusterV3Resource", new()
{
ClusterType = "string",
VpcId = "string",
SubnetId = "string",
FlavorId = "string",
ContainerNetworkType = "string",
Eip = "string",
ExtendParam =
{
{ "string", "string" },
},
BillingMode = 0,
ClusterVersion = "string",
ContainerNetworkCidr = "string",
AuthenticationMode = "string",
DeleteAllNetwork = "string",
DeleteAllStorage = "string",
DeleteEfs = "string",
DeleteEni = "string",
DeleteEvs = "string",
DeleteNet = "string",
DeleteObs = "string",
DeleteSfs = "string",
Description = "string",
Annotations =
{
{ "string", "string" },
},
EnableVolumeEncryption = false,
EniSubnetCidr = "string",
EniSubnetId = "string",
CceClusterV3Id = "string",
HighwaySubnetId = "string",
IgnoreAddons = false,
IgnoreCertificateClustersData = false,
IgnoreCertificateUsersData = false,
KubeProxyMode = "string",
KubernetesSvcIpRange = "string",
Labels =
{
{ "string", "string" },
},
Masters = new[]
{
new Opentelekomcloud.Inputs.CceClusterV3MasterArgs
{
AvailabilityZone = "string",
},
},
MultiAz = false,
Name = "string",
NoAddons = false,
Region = "string",
SecurityGroupId = "string",
AuthenticatingProxy = new Opentelekomcloud.Inputs.CceClusterV3AuthenticatingProxyArgs
{
Ca = "string",
Cert = "string",
PrivateKey = "string",
},
Timeouts = new Opentelekomcloud.Inputs.CceClusterV3TimeoutsArgs
{
Create = "string",
Delete = "string",
},
Timezone = "string",
ApiAccessTrustlists = new[]
{
"string",
},
});
example, err := opentelekomcloud.NewCceClusterV3(ctx, "cceClusterV3Resource", &opentelekomcloud.CceClusterV3Args{
ClusterType: pulumi.String("string"),
VpcId: pulumi.String("string"),
SubnetId: pulumi.String("string"),
FlavorId: pulumi.String("string"),
ContainerNetworkType: pulumi.String("string"),
Eip: pulumi.String("string"),
ExtendParam: pulumi.StringMap{
"string": pulumi.String("string"),
},
BillingMode: pulumi.Float64(0),
ClusterVersion: pulumi.String("string"),
ContainerNetworkCidr: pulumi.String("string"),
AuthenticationMode: pulumi.String("string"),
DeleteAllNetwork: pulumi.String("string"),
DeleteAllStorage: pulumi.String("string"),
DeleteEfs: pulumi.String("string"),
DeleteEni: pulumi.String("string"),
DeleteEvs: pulumi.String("string"),
DeleteNet: pulumi.String("string"),
DeleteObs: pulumi.String("string"),
DeleteSfs: pulumi.String("string"),
Description: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnableVolumeEncryption: pulumi.Bool(false),
EniSubnetCidr: pulumi.String("string"),
EniSubnetId: pulumi.String("string"),
CceClusterV3Id: pulumi.String("string"),
HighwaySubnetId: pulumi.String("string"),
IgnoreAddons: pulumi.Bool(false),
IgnoreCertificateClustersData: pulumi.Bool(false),
IgnoreCertificateUsersData: pulumi.Bool(false),
KubeProxyMode: pulumi.String("string"),
KubernetesSvcIpRange: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Masters: opentelekomcloud.CceClusterV3MasterArray{
&opentelekomcloud.CceClusterV3MasterArgs{
AvailabilityZone: pulumi.String("string"),
},
},
MultiAz: pulumi.Bool(false),
Name: pulumi.String("string"),
NoAddons: pulumi.Bool(false),
Region: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
AuthenticatingProxy: &opentelekomcloud.CceClusterV3AuthenticatingProxyArgs{
Ca: pulumi.String("string"),
Cert: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
},
Timeouts: &opentelekomcloud.CceClusterV3TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
Timezone: pulumi.String("string"),
ApiAccessTrustlists: pulumi.StringArray{
pulumi.String("string"),
},
})
var cceClusterV3Resource = new CceClusterV3("cceClusterV3Resource", CceClusterV3Args.builder()
.clusterType("string")
.vpcId("string")
.subnetId("string")
.flavorId("string")
.containerNetworkType("string")
.eip("string")
.extendParam(Map.of("string", "string"))
.billingMode(0)
.clusterVersion("string")
.containerNetworkCidr("string")
.authenticationMode("string")
.deleteAllNetwork("string")
.deleteAllStorage("string")
.deleteEfs("string")
.deleteEni("string")
.deleteEvs("string")
.deleteNet("string")
.deleteObs("string")
.deleteSfs("string")
.description("string")
.annotations(Map.of("string", "string"))
.enableVolumeEncryption(false)
.eniSubnetCidr("string")
.eniSubnetId("string")
.cceClusterV3Id("string")
.highwaySubnetId("string")
.ignoreAddons(false)
.ignoreCertificateClustersData(false)
.ignoreCertificateUsersData(false)
.kubeProxyMode("string")
.kubernetesSvcIpRange("string")
.labels(Map.of("string", "string"))
.masters(CceClusterV3MasterArgs.builder()
.availabilityZone("string")
.build())
.multiAz(false)
.name("string")
.noAddons(false)
.region("string")
.securityGroupId("string")
.authenticatingProxy(CceClusterV3AuthenticatingProxyArgs.builder()
.ca("string")
.cert("string")
.privateKey("string")
.build())
.timeouts(CceClusterV3TimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.timezone("string")
.apiAccessTrustlists("string")
.build());
cce_cluster_v3_resource = opentelekomcloud.CceClusterV3("cceClusterV3Resource",
cluster_type="string",
vpc_id="string",
subnet_id="string",
flavor_id="string",
container_network_type="string",
eip="string",
extend_param={
"string": "string",
},
billing_mode=0,
cluster_version="string",
container_network_cidr="string",
authentication_mode="string",
delete_all_network="string",
delete_all_storage="string",
delete_efs="string",
delete_eni="string",
delete_evs="string",
delete_net="string",
delete_obs="string",
delete_sfs="string",
description="string",
annotations={
"string": "string",
},
enable_volume_encryption=False,
eni_subnet_cidr="string",
eni_subnet_id="string",
cce_cluster_v3_id="string",
highway_subnet_id="string",
ignore_addons=False,
ignore_certificate_clusters_data=False,
ignore_certificate_users_data=False,
kube_proxy_mode="string",
kubernetes_svc_ip_range="string",
labels={
"string": "string",
},
masters=[{
"availability_zone": "string",
}],
multi_az=False,
name="string",
no_addons=False,
region="string",
security_group_id="string",
authenticating_proxy={
"ca": "string",
"cert": "string",
"private_key": "string",
},
timeouts={
"create": "string",
"delete": "string",
},
timezone="string",
api_access_trustlists=["string"])
const cceClusterV3Resource = new opentelekomcloud.CceClusterV3("cceClusterV3Resource", {
clusterType: "string",
vpcId: "string",
subnetId: "string",
flavorId: "string",
containerNetworkType: "string",
eip: "string",
extendParam: {
string: "string",
},
billingMode: 0,
clusterVersion: "string",
containerNetworkCidr: "string",
authenticationMode: "string",
deleteAllNetwork: "string",
deleteAllStorage: "string",
deleteEfs: "string",
deleteEni: "string",
deleteEvs: "string",
deleteNet: "string",
deleteObs: "string",
deleteSfs: "string",
description: "string",
annotations: {
string: "string",
},
enableVolumeEncryption: false,
eniSubnetCidr: "string",
eniSubnetId: "string",
cceClusterV3Id: "string",
highwaySubnetId: "string",
ignoreAddons: false,
ignoreCertificateClustersData: false,
ignoreCertificateUsersData: false,
kubeProxyMode: "string",
kubernetesSvcIpRange: "string",
labels: {
string: "string",
},
masters: [{
availabilityZone: "string",
}],
multiAz: false,
name: "string",
noAddons: false,
region: "string",
securityGroupId: "string",
authenticatingProxy: {
ca: "string",
cert: "string",
privateKey: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
timezone: "string",
apiAccessTrustlists: ["string"],
});
type: opentelekomcloud:CceClusterV3
properties:
annotations:
string: string
apiAccessTrustlists:
- string
authenticatingProxy:
ca: string
cert: string
privateKey: string
authenticationMode: string
billingMode: 0
cceClusterV3Id: string
clusterType: string
clusterVersion: string
containerNetworkCidr: string
containerNetworkType: string
deleteAllNetwork: string
deleteAllStorage: string
deleteEfs: string
deleteEni: string
deleteEvs: string
deleteNet: string
deleteObs: string
deleteSfs: string
description: string
eip: string
enableVolumeEncryption: false
eniSubnetCidr: string
eniSubnetId: string
extendParam:
string: string
flavorId: string
highwaySubnetId: string
ignoreAddons: false
ignoreCertificateClustersData: false
ignoreCertificateUsersData: false
kubeProxyMode: string
kubernetesSvcIpRange: string
labels:
string: string
masters:
- availabilityZone: string
multiAz: false
name: string
noAddons: false
region: string
securityGroupId: string
subnetId: string
timeouts:
create: string
delete: string
timezone: 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
andBareMetal
. Changing this parameter will create a new cluster resource. - Container
Network stringType - Container network type.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- Subnet
Id string - The Network ID of the 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.
- Api
Access List<string>Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy CceCluster V3Authenticating Proxy - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - Authenticating
Proxy stringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - Authentication
Mode string Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- Billing
Mode double - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- Cce
Cluster stringV3Id - ID of the cluster resource.
- Cluster
Version string - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Delete
All stringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- Delete
All stringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Efs string - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Eni string - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Evs string - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Net string - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Obs string - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Sfs string - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Enable
Volume boolEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Extend
Param Dictionary<string, string> - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- 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.
- Ignore
Addons bool - Skip all cluster addons operations.
- Ignore
Certificate boolClusters Data - Skip sensitive cluster data.
- Ignore
Certificate boolUsers Data - Skip sensitive user data.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- Kubernetes
Svc stringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- Labels Dictionary<string, string>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
List<Cce
Cluster V3Master> - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - Multi
Az bool - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- No
Addons bool - Remove addons installed by the default after the cluster creation.
- Region string
- Security
Group stringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts - Timezone string
- Cluster timezone in string format. Changing this parameter will create a new cluster resource.
- Cluster
Type string - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - Container
Network stringType - Container network type.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- Subnet
Id string - The Network ID of the 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.
- Api
Access []stringTrustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy CceCluster V3Authenticating Proxy Args - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - Authenticating
Proxy stringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - Authentication
Mode string Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- Billing
Mode float64 - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- Cce
Cluster stringV3Id - ID of the cluster resource.
- Cluster
Version string - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Delete
All stringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- Delete
All stringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Efs string - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Eni string - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Evs string - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Net string - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Obs string - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Sfs string - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Enable
Volume boolEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Extend
Param map[string]string - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- 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.
- Ignore
Addons bool - Skip all cluster addons operations.
- Ignore
Certificate boolClusters Data - Skip sensitive cluster data.
- Ignore
Certificate boolUsers Data - Skip sensitive user data.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- Kubernetes
Svc stringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- Labels map[string]string
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
[]Cce
Cluster V3Master Args - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - Multi
Az bool - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- No
Addons bool - Remove addons installed by the default after the cluster creation.
- Region string
- Security
Group stringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts Args - Timezone string
- Cluster timezone in string format. Changing this parameter will create a new cluster resource.
- cluster
Type String - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - container
Network StringType - Container network type.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- subnet
Id String - The Network ID of the 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.
- api
Access List<String>Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating
Proxy CceCluster V3Authenticating Proxy - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating
Proxy StringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication
Mode String Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing
Mode Double - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce
Cluster StringV3Id - ID of the cluster resource.
- cluster
Version String - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- delete
All StringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete
All StringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Efs String - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Eni String - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Evs String - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Net String - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Obs String - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Sfs String - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- enable
Volume BooleanEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni
Subnet StringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni
Subnet StringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend
Param Map<String,String> - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- 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.
- ignore
Addons Boolean - Skip all cluster addons operations.
- ignore
Certificate BooleanClusters Data - Skip sensitive cluster data.
- ignore
Certificate BooleanUsers Data - Skip sensitive user data.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- kubernetes
Svc StringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- labels Map<String,String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
List<Cce
Cluster V3Master> - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi
Az Boolean - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name String
- Cluster name. Changing this parameter will create a new cluster resource.
- no
Addons Boolean - Remove addons installed by the default after the cluster creation.
- region String
- security
Group StringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts - timezone String
- Cluster timezone in string format. Changing this parameter will create a new cluster resource.
- cluster
Type string - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - container
Network stringType - Container network type.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- subnet
Id string - The Network ID of the 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.
- api
Access string[]Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating
Proxy CceCluster V3Authenticating Proxy - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating
Proxy stringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication
Mode string Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing
Mode number - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce
Cluster stringV3Id - ID of the cluster resource.
- cluster
Version string - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- delete
All stringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete
All stringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Efs string - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Eni string - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Evs string - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Net string - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Obs string - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Sfs string - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description string
- Cluster description.
- eip string
- EIP address of the cluster.
- enable
Volume booleanEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni
Subnet stringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni
Subnet stringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend
Param {[key: string]: string} - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- 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.
- ignore
Addons boolean - Skip all cluster addons operations.
- ignore
Certificate booleanClusters Data - Skip sensitive cluster data.
- ignore
Certificate booleanUsers Data - Skip sensitive user data.
- kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- kubernetes
Svc stringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- labels {[key: string]: string}
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
Cce
Cluster V3Master[] - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi
Az boolean - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name string
- Cluster name. Changing this parameter will create a new cluster resource.
- no
Addons boolean - Remove addons installed by the default after the cluster creation.
- region string
- security
Group stringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts - timezone string
- Cluster timezone in string format. Changing this parameter will create a new cluster resource.
- cluster_
type str - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - container_
network_ strtype - Container network type.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- subnet_
id str - The Network ID of the 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.
- api_
access_ Sequence[str]trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating_
proxy CceCluster V3Authenticating Proxy Args - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating_
proxy_ strca - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication_
mode str Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing_
mode float - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce_
cluster_ strv3_ id - ID of the cluster resource.
- cluster_
version str - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container_
network_ strcidr - Container network segment. Changing this parameter will create a new cluster resource.
- delete_
all_ strnetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete_
all_ strstorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
efs str - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
eni str - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
evs str - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
net str - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
obs str - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
sfs str - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description str
- Cluster description.
- eip str
- EIP address of the cluster.
- enable_
volume_ boolencryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni_
subnet_ strcidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni_
subnet_ strid - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend_
param Mapping[str, str] - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- 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.
- ignore_
addons bool - Skip all cluster addons operations.
- ignore_
certificate_ boolclusters_ data - Skip sensitive cluster data.
- ignore_
certificate_ boolusers_ data - Skip sensitive user data.
- kube_
proxy_ strmode - Service forwarding mode. Two modes are available:
- kubernetes_
svc_ strip_ range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- 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] - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi_
az bool - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name str
- Cluster name. Changing this parameter will create a new cluster resource.
- no_
addons bool - Remove addons installed by the default after the cluster creation.
- region str
- security_
group_ strid - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts Args - timezone str
- Cluster timezone in string format. Changing this parameter will create a new cluster resource.
- cluster
Type String - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - container
Network StringType - Container network type.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- subnet
Id String - The Network ID of the 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.
- api
Access List<String>Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating
Proxy Property Map - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating
Proxy StringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication
Mode String Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing
Mode Number - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce
Cluster StringV3Id - ID of the cluster resource.
- cluster
Version String - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- delete
All StringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete
All StringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Efs String - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Eni String - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Evs String - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Net String - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Obs String - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Sfs String - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- enable
Volume BooleanEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni
Subnet StringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni
Subnet StringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend
Param Map<String> - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- 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.
- ignore
Addons Boolean - Skip all cluster addons operations.
- ignore
Certificate BooleanClusters Data - Skip sensitive cluster data.
- ignore
Certificate BooleanUsers Data - Skip sensitive user data.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- kubernetes
Svc StringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- labels Map<String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters List<Property Map>
- Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi
Az Boolean - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name String
- Cluster name. Changing this parameter will create a new cluster resource.
- no
Addons Boolean - Remove addons installed by the default after the cluster creation.
- region String
- security
Group StringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- timeouts Property Map
- timezone String
- Cluster timezone in string format. Changing this parameter will create a new cluster resource.
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> - Certificate
Users List<CceCluster V3Certificate User> - External string
- The external network address.
- External
Otc string - The endpoint of the cluster to be accessed through API Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Addons List<string> - List of installed addon IDs. Empty if
ignore_addons
istrue
. - Internal string
- The internal network address.
- Security
Group stringControl - ID of the autogenerated security group for the CCE master port.
- Security
Group stringNode - ID of the autogenerated security group for the CCE nodes.
- Status string
- Cluster status information.
- Certificate
Clusters []CceCluster V3Certificate Cluster - Certificate
Users []CceCluster V3Certificate User - External string
- The external network address.
- External
Otc string - The endpoint of the cluster to be accessed through API Gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Addons []string - List of installed addon IDs. Empty if
ignore_addons
istrue
. - Internal string
- The internal network address.
- Security
Group stringControl - ID of the autogenerated security group for the CCE master port.
- Security
Group stringNode - ID of the autogenerated security group for the CCE nodes.
- Status string
- Cluster status information.
- certificate
Clusters List<CceCluster V3Certificate Cluster> - certificate
Users List<CceCluster V3Certificate User> - external String
- The external network address.
- external
Otc String - The endpoint of the cluster to be accessed through API Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Addons List<String> - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal String
- The internal network address.
- security
Group StringControl - ID of the autogenerated security group for the CCE master port.
- security
Group StringNode - ID of the autogenerated security group for the CCE nodes.
- status String
- Cluster status information.
- certificate
Clusters CceCluster V3Certificate Cluster[] - certificate
Users CceCluster V3Certificate User[] - external string
- The external network address.
- external
Otc string - The endpoint of the cluster to be accessed through API Gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- installed
Addons string[] - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal string
- The internal network address.
- security
Group stringControl - ID of the autogenerated security group for the CCE master port.
- security
Group stringNode - ID of the autogenerated security group for the CCE nodes.
- status string
- Cluster status information.
- certificate_
clusters Sequence[CceCluster V3Certificate Cluster] - certificate_
users Sequence[CceCluster V3Certificate User] - external str
- The external network address.
- external_
otc str - The endpoint of the cluster to be accessed through API Gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- installed_
addons Sequence[str] - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal str
- The internal network address.
- security_
group_ strcontrol - ID of the autogenerated security group for the CCE master port.
- security_
group_ strnode - ID of the autogenerated security group for the CCE nodes.
- status str
- Cluster status information.
- certificate
Clusters List<Property Map> - certificate
Users List<Property Map> - external String
- The external network address.
- external
Otc String - The endpoint of the cluster to be accessed through API Gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Addons List<String> - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal String
- The internal network address.
- security
Group StringControl - ID of the autogenerated security group for the CCE master port.
- security
Group StringNode - ID of the autogenerated security group for the CCE nodes.
- 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,
api_access_trustlists: Optional[Sequence[str]] = None,
authenticating_proxy: Optional[CceClusterV3AuthenticatingProxyArgs] = 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,
delete_all_network: Optional[str] = None,
delete_all_storage: Optional[str] = None,
delete_efs: Optional[str] = None,
delete_eni: Optional[str] = None,
delete_evs: Optional[str] = None,
delete_net: Optional[str] = None,
delete_obs: Optional[str] = None,
delete_sfs: Optional[str] = None,
description: Optional[str] = None,
eip: Optional[str] = None,
enable_volume_encryption: Optional[bool] = None,
eni_subnet_cidr: Optional[str] = None,
eni_subnet_id: Optional[str] = None,
extend_param: Optional[Mapping[str, str]] = None,
external: Optional[str] = None,
external_otc: Optional[str] = None,
flavor_id: Optional[str] = None,
highway_subnet_id: Optional[str] = None,
ignore_addons: Optional[bool] = None,
ignore_certificate_clusters_data: Optional[bool] = None,
ignore_certificate_users_data: Optional[bool] = None,
installed_addons: Optional[Sequence[str]] = None,
internal: Optional[str] = None,
kube_proxy_mode: Optional[str] = None,
kubernetes_svc_ip_range: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
masters: Optional[Sequence[CceClusterV3MasterArgs]] = None,
multi_az: Optional[bool] = None,
name: Optional[str] = None,
no_addons: Optional[bool] = None,
region: Optional[str] = None,
security_group_control: Optional[str] = None,
security_group_id: Optional[str] = None,
security_group_node: Optional[str] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
timeouts: Optional[CceClusterV3TimeoutsArgs] = None,
timezone: Optional[str] = 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: opentelekomcloud: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.
- Api
Access List<string>Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy CceCluster V3Authenticating Proxy - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - Authenticating
Proxy stringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - Authentication
Mode string Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- Billing
Mode double - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- Cce
Cluster stringV3Id - ID of the cluster resource.
- Certificate
Clusters List<CceCluster V3Certificate Cluster> - Certificate
Users List<CceCluster V3Certificate User> - Cluster
Type string - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - Cluster
Version string - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Container
Network stringType - Container network type.
- Delete
All stringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- Delete
All stringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Efs string - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Eni string - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Evs string - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Net string - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Obs string - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Sfs string - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Enable
Volume boolEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Extend
Param Dictionary<string, string> - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- External string
- The external network address.
- External
Otc string - The endpoint of the cluster to be accessed through API Gateway.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- 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.
- Ignore
Addons bool - Skip all cluster addons operations.
- Ignore
Certificate boolClusters Data - Skip sensitive cluster data.
- Ignore
Certificate boolUsers Data - Skip sensitive user data.
- Installed
Addons List<string> - List of installed addon IDs. Empty if
ignore_addons
istrue
. - Internal string
- The internal network address.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- Kubernetes
Svc stringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- Labels Dictionary<string, string>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
List<Cce
Cluster V3Master> - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - Multi
Az bool - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- No
Addons bool - Remove addons installed by the default after the cluster creation.
- Region string
- Security
Group stringControl - ID of the autogenerated security group for the CCE master port.
- Security
Group stringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- Security
Group stringNode - ID of the autogenerated security group for the CCE nodes.
- Status string
- Cluster status information.
- Subnet
Id string - The Network ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts - Timezone string
- Cluster timezone in string format. 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.
- Api
Access []stringTrustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- Authenticating
Proxy CceCluster V3Authenticating Proxy Args - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - Authenticating
Proxy stringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - Authentication
Mode string Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- Billing
Mode float64 - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- Cce
Cluster stringV3Id - ID of the cluster resource.
- Certificate
Clusters []CceCluster V3Certificate Cluster Args - Certificate
Users []CceCluster V3Certificate User Args - Cluster
Type string - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - Cluster
Version string - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - Container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- Container
Network stringType - Container network type.
- Delete
All stringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- Delete
All stringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Efs string - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Eni string - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Evs string - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Net string - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Obs string - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Delete
Sfs string - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- Description string
- Cluster description.
- Eip string
- EIP address of the cluster.
- Enable
Volume boolEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Eni
Subnet stringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- Extend
Param map[string]string - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- External string
- The external network address.
- External
Otc string - The endpoint of the cluster to be accessed through API Gateway.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- 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.
- Ignore
Addons bool - Skip all cluster addons operations.
- Ignore
Certificate boolClusters Data - Skip sensitive cluster data.
- Ignore
Certificate boolUsers Data - Skip sensitive user data.
- Installed
Addons []string - List of installed addon IDs. Empty if
ignore_addons
istrue
. - Internal string
- The internal network address.
- Kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- Kubernetes
Svc stringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- Labels map[string]string
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- Masters
[]Cce
Cluster V3Master Args - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - Multi
Az bool - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- No
Addons bool - Remove addons installed by the default after the cluster creation.
- Region string
- Security
Group stringControl - ID of the autogenerated security group for the CCE master port.
- Security
Group stringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- Security
Group stringNode - ID of the autogenerated security group for the CCE nodes.
- Status string
- Cluster status information.
- Subnet
Id string - The Network ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
- Timeouts
Cce
Cluster V3Timeouts Args - Timezone string
- Cluster timezone in string format. 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.
- api
Access List<String>Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating
Proxy CceCluster V3Authenticating Proxy - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating
Proxy StringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication
Mode String Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing
Mode Double - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce
Cluster StringV3Id - ID of the cluster resource.
- certificate
Clusters List<CceCluster V3Certificate Cluster> - certificate
Users List<CceCluster V3Certificate User> - cluster
Type String - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - cluster
Version String - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- container
Network StringType - Container network type.
- delete
All StringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete
All StringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Efs String - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Eni String - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Evs String - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Net String - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Obs String - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Sfs String - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- enable
Volume BooleanEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni
Subnet StringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni
Subnet StringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend
Param Map<String,String> - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- external String
- The external network address.
- external
Otc String - The endpoint of the cluster to be accessed through API Gateway.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- 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.
- ignore
Addons Boolean - Skip all cluster addons operations.
- ignore
Certificate BooleanClusters Data - Skip sensitive cluster data.
- ignore
Certificate BooleanUsers Data - Skip sensitive user data.
- installed
Addons List<String> - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal String
- The internal network address.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- kubernetes
Svc StringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- labels Map<String,String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
List<Cce
Cluster V3Master> - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi
Az Boolean - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name String
- Cluster name. Changing this parameter will create a new cluster resource.
- no
Addons Boolean - Remove addons installed by the default after the cluster creation.
- region String
- security
Group StringControl - ID of the autogenerated security group for the CCE master port.
- security
Group StringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- security
Group StringNode - ID of the autogenerated security group for the CCE nodes.
- status String
- Cluster status information.
- subnet
Id String - The Network ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts - timezone String
- Cluster timezone in string format. 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.
- api
Access string[]Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating
Proxy CceCluster V3Authenticating Proxy - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating
Proxy stringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication
Mode string Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing
Mode number - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce
Cluster stringV3Id - ID of the cluster resource.
- certificate
Clusters CceCluster V3Certificate Cluster[] - certificate
Users CceCluster V3Certificate User[] - cluster
Type string - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - cluster
Version string - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container
Network stringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- container
Network stringType - Container network type.
- delete
All stringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete
All stringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Efs string - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Eni string - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Evs string - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Net string - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Obs string - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Sfs string - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description string
- Cluster description.
- eip string
- EIP address of the cluster.
- enable
Volume booleanEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni
Subnet stringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni
Subnet stringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend
Param {[key: string]: string} - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- external string
- The external network address.
- external
Otc string - The endpoint of the cluster to be accessed through API Gateway.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- 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.
- ignore
Addons boolean - Skip all cluster addons operations.
- ignore
Certificate booleanClusters Data - Skip sensitive cluster data.
- ignore
Certificate booleanUsers Data - Skip sensitive user data.
- installed
Addons string[] - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal string
- The internal network address.
- kube
Proxy stringMode - Service forwarding mode. Two modes are available:
- kubernetes
Svc stringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- labels {[key: string]: string}
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters
Cce
Cluster V3Master[] - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi
Az boolean - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name string
- Cluster name. Changing this parameter will create a new cluster resource.
- no
Addons boolean - Remove addons installed by the default after the cluster creation.
- region string
- security
Group stringControl - ID of the autogenerated security group for the CCE master port.
- security
Group stringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- security
Group stringNode - ID of the autogenerated security group for the CCE nodes.
- status string
- Cluster status information.
- subnet
Id string - The Network ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts - timezone string
- Cluster timezone in string format. 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 Mapping[str, str]
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- api_
access_ Sequence[str]trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating_
proxy CceCluster V3Authenticating Proxy Args - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating_
proxy_ strca - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication_
mode str Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing_
mode float - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce_
cluster_ strv3_ id - ID of the cluster resource.
- certificate_
clusters Sequence[CceCluster V3Certificate Cluster Args] - certificate_
users Sequence[CceCluster V3Certificate User Args] - cluster_
type str - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - cluster_
version str - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container_
network_ strcidr - Container network segment. Changing this parameter will create a new cluster resource.
- container_
network_ strtype - Container network type.
- delete_
all_ strnetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete_
all_ strstorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
efs str - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
eni str - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
evs str - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
net str - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
obs str - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete_
sfs str - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description str
- Cluster description.
- eip str
- EIP address of the cluster.
- enable_
volume_ boolencryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni_
subnet_ strcidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni_
subnet_ strid - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend_
param Mapping[str, str] - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- external str
- The external network address.
- external_
otc str - The endpoint of the cluster to be accessed through API Gateway.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- 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.
- ignore_
addons bool - Skip all cluster addons operations.
- ignore_
certificate_ boolclusters_ data - Skip sensitive cluster data.
- ignore_
certificate_ boolusers_ data - Skip sensitive user data.
- installed_
addons Sequence[str] - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal str
- The internal network address.
- kube_
proxy_ strmode - Service forwarding mode. Two modes are available:
- kubernetes_
svc_ strip_ range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- 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] - Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi_
az bool - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name str
- Cluster name. Changing this parameter will create a new cluster resource.
- no_
addons bool - Remove addons installed by the default after the cluster creation.
- region str
- security_
group_ strcontrol - ID of the autogenerated security group for the CCE master port.
- security_
group_ strid - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- security_
group_ strnode - ID of the autogenerated security group for the CCE nodes.
- status str
- Cluster status information.
- subnet_
id str - The Network ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts
Cce
Cluster V3Timeouts Args - timezone str
- Cluster timezone in string format. 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 Map<String>
- Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.
- api
Access List<String>Trustlists - Specifies the trustlist of network CIDRs that are allowed to access cluster APIs. Specified when creating a CCE cluster. Changing this parameter will create a new cluster resource.
- authenticating
Proxy Property Map - Authenticating proxy configuration. Required if
authentication_mode
is set toauthenticating_proxy
. - authenticating
Proxy StringCa - CA root certificate provided in the
authenticating_proxy
mode. Deprecated, useauthenticating_proxy
instead. - authentication
Mode String Cluster authentication mode.
- Clusters of Kubernetes v1.11 and earlier
Possible values:
x509
,rbac
, andauthenticating_proxy
- Clusters of Kubernetes v1.13 and later
Possible values:
rbac
andauthenticating_proxy
Default value:
rbac
Changing this parameter will create a new cluster resource.- Clusters of Kubernetes v1.11 and earlier
Possible values:
- billing
Mode Number - Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.
- cce
Cluster StringV3Id - ID of the cluster resource.
- certificate
Clusters List<Property Map> - certificate
Users List<Property Map> - cluster
Type String - Cluster Type, possible values are
VirtualMachine
andBareMetal
. Changing this parameter will create a new cluster resource. - cluster
Version String - For the cluster version, possible values are
v1.27
,v1.25
,v1.23
,v1.21
. If this parameter is not set, the cluster of the latest version is created by default. Changing this parameter will create a new cluster resource. OTC-API - container
Network StringCidr - Container network segment. Changing this parameter will create a new cluster resource.
- container
Network StringType - Container network type.
- delete
All StringNetwork Specified whether to delete all associated network resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
The
masters
block supports:- delete
All StringStorage - Specified whether to delete all associated storage resources when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Efs String - Specified whether to unbind associated SFS Turbo file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Eni String - Specified whether to delete ENI ports when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Evs String - Specified whether to delete associated EVS disks when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Net String - Specified whether to delete cluster Service/ingress-related resources, such as ELB when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Obs String - Specified whether to delete associated OBS buckets when deleting the CCE cluster. valid values are true, try and false. Default is false.
- delete
Sfs String - Specified whether to delete associated SFS file systems when deleting the CCE cluster. valid values are true, try and false. Default is false.
- description String
- Cluster description.
- eip String
- EIP address of the cluster.
- enable
Volume BooleanEncryption - System and data disks encryption of master nodes. Changing this parameter will create a new cluster resource.
- eni
Subnet StringCidr - Specifies the ENI network segment. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- eni
Subnet StringId - (Optional) Specifies the ENI subnet ID. Specified when creating a CCE Turbo cluster. Changing this parameter will create a new cluster resource.
- extend
Param Map<String> - Extended parameter. Changing this parameter will create a new cluster resource. List of cluster extended params.
- external String
- The external network address.
- external
Otc String - The endpoint of the cluster to be accessed through API Gateway.
- 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.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.s2.xlarge
- ultra-large-scale, high availability cluster (<= 2,000 nodes).
- 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.
- ignore
Addons Boolean - Skip all cluster addons operations.
- ignore
Certificate BooleanClusters Data - Skip sensitive cluster data.
- ignore
Certificate BooleanUsers Data - Skip sensitive user data.
- installed
Addons List<String> - List of installed addon IDs. Empty if
ignore_addons
istrue
. - internal String
- The internal network address.
- kube
Proxy StringMode - Service forwarding mode. Two modes are available:
- kubernetes
Svc StringIp Range - Service CIDR block, or the IP address range which the kubernetes clusterIp must fall within. This parameter is available only for clusters of v1.11.7 and later.
- labels Map<String>
- Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
- masters List<Property Map>
- Specifies the advanced configuration of master nodes.
The object structure is documented below.
This parameter and
multi_az
are alternative. Changing this parameter will create a new cluster resource. - multi
Az Boolean - Enable multiple AZs for the cluster, only when using HA flavors. Changing this parameter will create a new cluster resource.
This parameter and
masters
are alternative. - name String
- Cluster name. Changing this parameter will create a new cluster resource.
- no
Addons Boolean - Remove addons installed by the default after the cluster creation.
- region String
- security
Group StringControl - ID of the autogenerated security group for the CCE master port.
- security
Group StringId - Default worker node security group ID of the cluster. If specified, the cluster will be bound to the target security group. Otherwise, the system will automatically create a default worker node security group for you. The default worker node security group needs to allow access from certain ports to ensure normal communications. Changing this parameter will create a new cluster resource.
- security
Group StringNode - ID of the autogenerated security group for the CCE nodes.
- status String
- Cluster status information.
- subnet
Id String - The Network ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
- timeouts Property Map
- timezone String
- Cluster timezone in string format. 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.
Supporting Types
CceClusterV3AuthenticatingProxy, CceClusterV3AuthenticatingProxyArgs
- Ca string
- X509 CA certificate configured in
authenticating_proxy
mode. The maximum size of the certificate is 1 MB. - Cert string
- Client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This certificate is used for authentication from kube-apiserver to the extended API server. - Private
Key string Private key of the client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This key is used for authentication from kube-apiserver to the extended API server.~> The private key used by the Kubernetes cluster does not support password encryption. Use an unencrypted private key.
- Ca string
- X509 CA certificate configured in
authenticating_proxy
mode. The maximum size of the certificate is 1 MB. - Cert string
- Client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This certificate is used for authentication from kube-apiserver to the extended API server. - Private
Key string Private key of the client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This key is used for authentication from kube-apiserver to the extended API server.~> The private key used by the Kubernetes cluster does not support password encryption. Use an unencrypted private key.
- ca String
- X509 CA certificate configured in
authenticating_proxy
mode. The maximum size of the certificate is 1 MB. - cert String
- Client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This certificate is used for authentication from kube-apiserver to the extended API server. - private
Key String Private key of the client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This key is used for authentication from kube-apiserver to the extended API server.~> The private key used by the Kubernetes cluster does not support password encryption. Use an unencrypted private key.
- ca string
- X509 CA certificate configured in
authenticating_proxy
mode. The maximum size of the certificate is 1 MB. - cert string
- Client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This certificate is used for authentication from kube-apiserver to the extended API server. - private
Key string Private key of the client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This key is used for authentication from kube-apiserver to the extended API server.~> The private key used by the Kubernetes cluster does not support password encryption. Use an unencrypted private key.
- ca str
- X509 CA certificate configured in
authenticating_proxy
mode. The maximum size of the certificate is 1 MB. - cert str
- Client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This certificate is used for authentication from kube-apiserver to the extended API server. - private_
key str Private key of the client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This key is used for authentication from kube-apiserver to the extended API server.~> The private key used by the Kubernetes cluster does not support password encryption. Use an unencrypted private key.
- ca String
- X509 CA certificate configured in
authenticating_proxy
mode. The maximum size of the certificate is 1 MB. - cert String
- Client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This certificate is used for authentication from kube-apiserver to the extended API server. - private
Key String Private key of the client certificate issued by the X509 CA certificate configured in
authenticating_proxy
mode. This key is used for authentication from kube-apiserver to the extended API server.~> The private key used by the Kubernetes cluster does not support password encryption. Use an unencrypted private key.
CceClusterV3CertificateCluster, CceClusterV3CertificateClusterArgs
CceClusterV3CertificateUser, CceClusterV3CertificateUserArgs
- Client
Certificate stringData - Client
Key stringData - Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- Client
Certificate stringData - Client
Key stringData - Name string
- Cluster name. Changing this parameter will create a new cluster resource.
- client
Certificate StringData - client
Key StringData - name String
- Cluster name. Changing this parameter will create a new cluster resource.
- client
Certificate stringData - client
Key stringData - name string
- Cluster name. Changing this parameter will create a new cluster resource.
- client_
certificate_ strdata - client_
key_ strdata - name str
- Cluster name. Changing this parameter will create a new cluster resource.
- client
Certificate StringData - client
Key StringData - 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 parameter will create a new cluster resource.
Note: Cluster custom deletion info and properties can be checked here: Deleting a Specified Cluster.
- Availability
Zone string Specifies the availability zone of the master node. Changing this parameter will create a new cluster resource.
Note: Cluster custom deletion info and properties can be checked here: Deleting a Specified Cluster.
- availability
Zone String Specifies the availability zone of the master node. Changing this parameter will create a new cluster resource.
Note: Cluster custom deletion info and properties can be checked here: Deleting a Specified Cluster.
- availability
Zone string Specifies the availability zone of the master node. Changing this parameter will create a new cluster resource.
Note: Cluster custom deletion info and properties can be checked here: Deleting a Specified Cluster.
- availability_
zone str Specifies the availability zone of the master node. Changing this parameter will create a new cluster resource.
Note: Cluster custom deletion info and properties can be checked here: Deleting a Specified Cluster.
- availability
Zone String Specifies the availability zone of the master node. Changing this parameter will create a new cluster resource.
Note: Cluster custom deletion info and properties can be checked here: Deleting a Specified Cluster.
CceClusterV3Timeouts, CceClusterV3TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.