tencentcloud.KubernetesClusterMasterAttachment
Explore with Pulumi AI
Provides a resource to create a tke kubernetes cluster master attachment
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.KubernetesClusterMasterAttachment;
import com.pulumi.tencentcloud.KubernetesClusterMasterAttachmentArgs;
import com.pulumi.tencentcloud.inputs.KubernetesClusterMasterAttachmentMasterConfigArgs;
import com.pulumi.tencentcloud.inputs.KubernetesClusterMasterAttachmentMasterConfigDataDiskArgs;
import com.pulumi.tencentcloud.inputs.KubernetesClusterMasterAttachmentMasterConfigExtraArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new KubernetesClusterMasterAttachment("example", KubernetesClusterMasterAttachmentArgs.builder()
.clusterId("cls-fp5o961e")
.enhancedAutomationService(true)
.enhancedMonitorService(true)
.enhancedSecurityService(true)
.instanceId("ins-7d6tpbyg")
.masterConfig(KubernetesClusterMasterAttachmentMasterConfigArgs.builder()
.dataDisk(KubernetesClusterMasterAttachmentMasterConfigDataDiskArgs.builder()
.autoFormatAndMount(true)
.diskPartition("/dev/vdb")
.fileSystem("ext4")
.mountTarget("/var/data")
.build())
.dockerGraphPath("/var/lib/containerd")
.extraArgs(KubernetesClusterMasterAttachmentMasterConfigExtraArgs.builder()
.kubelet("root-dir=/root")
.build())
.labels(KubernetesClusterMasterAttachmentMasterConfigLabelArgs.builder()
.name("key")
.value("value")
.build())
.mountTarget("/var/data")
.taints(KubernetesClusterMasterAttachmentMasterConfigTaintArgs.builder()
.effect("NoSchedule")
.key("key")
.value("value")
.build())
.unschedulable(0)
.build())
.nodeRole("MASTER_ETCD")
.password("Password@123")
.securityGroupIds("sg-hjs685q9")
.build());
}
}
resources:
example:
type: tencentcloud:KubernetesClusterMasterAttachment
properties:
clusterId: cls-fp5o961e
enhancedAutomationService: true
enhancedMonitorService: true
enhancedSecurityService: true
instanceId: ins-7d6tpbyg
masterConfig:
dataDisk:
autoFormatAndMount: true
diskPartition: /dev/vdb
fileSystem: ext4
mountTarget: /var/data
dockerGraphPath: /var/lib/containerd
extraArgs:
kubelet:
- root-dir=/root
labels:
- name: key
value: value
mountTarget: /var/data
taints:
- effect: NoSchedule
key: key
value: value
unschedulable: 0
nodeRole: MASTER_ETCD
password: Password@123
securityGroupIds:
- sg-hjs685q9
Create KubernetesClusterMasterAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesClusterMasterAttachment(name: string, args: KubernetesClusterMasterAttachmentArgs, opts?: CustomResourceOptions);
@overload
def KubernetesClusterMasterAttachment(resource_name: str,
args: KubernetesClusterMasterAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesClusterMasterAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
node_role: Optional[str] = None,
instance_id: Optional[str] = None,
host_name: Optional[str] = None,
enhanced_security_service: Optional[bool] = None,
extra_args: Optional[KubernetesClusterMasterAttachmentExtraArgsArgs] = None,
enhanced_monitor_service: Optional[bool] = None,
enhanced_automation_service: Optional[bool] = None,
key_ids: Optional[Sequence[str]] = None,
kubernetes_cluster_master_attachment_id: Optional[str] = None,
master_config: Optional[KubernetesClusterMasterAttachmentMasterConfigArgs] = None,
desired_pod_numbers: Optional[Sequence[float]] = None,
password: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None)
func NewKubernetesClusterMasterAttachment(ctx *Context, name string, args KubernetesClusterMasterAttachmentArgs, opts ...ResourceOption) (*KubernetesClusterMasterAttachment, error)
public KubernetesClusterMasterAttachment(string name, KubernetesClusterMasterAttachmentArgs args, CustomResourceOptions? opts = null)
public KubernetesClusterMasterAttachment(String name, KubernetesClusterMasterAttachmentArgs args)
public KubernetesClusterMasterAttachment(String name, KubernetesClusterMasterAttachmentArgs args, CustomResourceOptions options)
type: tencentcloud:KubernetesClusterMasterAttachment
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 KubernetesClusterMasterAttachmentArgs
- 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 KubernetesClusterMasterAttachmentArgs
- 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 KubernetesClusterMasterAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesClusterMasterAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesClusterMasterAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
KubernetesClusterMasterAttachment 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 KubernetesClusterMasterAttachment resource accepts the following input properties:
- Cluster
Id string - ID of the cluster.
- Instance
Id string - ID of the CVM instance, this cvm will reinstall the system.
- Node
Role string - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- Desired
Pod List<double>Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- Enhanced
Automation boolService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- Enhanced
Monitor boolService - To specify whether to enable cloud monitor service. Default is TRUE.
- Enhanced
Security boolService - To specify whether to enable cloud security service. Default is TRUE.
- Extra
Args KubernetesCluster Master Attachment Extra Args - Custom parameters for cluster master component.
- Host
Name string - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- Key
Ids List<string> - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - Kubernetes
Cluster stringMaster Attachment Id - ID of the resource.
- Master
Config KubernetesCluster Master Attachment Master Config - Advanced Node Settings. commonly used to attach existing instances.
- Password string
- Password to access, should be set if
key_ids
not set. - Security
Group List<string>Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- Cluster
Id string - ID of the cluster.
- Instance
Id string - ID of the CVM instance, this cvm will reinstall the system.
- Node
Role string - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- Desired
Pod []float64Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- Enhanced
Automation boolService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- Enhanced
Monitor boolService - To specify whether to enable cloud monitor service. Default is TRUE.
- Enhanced
Security boolService - To specify whether to enable cloud security service. Default is TRUE.
- Extra
Args KubernetesCluster Master Attachment Extra Args Args - Custom parameters for cluster master component.
- Host
Name string - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- Key
Ids []string - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - Kubernetes
Cluster stringMaster Attachment Id - ID of the resource.
- Master
Config KubernetesCluster Master Attachment Master Config Args - Advanced Node Settings. commonly used to attach existing instances.
- Password string
- Password to access, should be set if
key_ids
not set. - Security
Group []stringIds - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster
Id String - ID of the cluster.
- instance
Id String - ID of the CVM instance, this cvm will reinstall the system.
- node
Role String - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- desired
Pod List<Double>Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced
Automation BooleanService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced
Monitor BooleanService - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced
Security BooleanService - To specify whether to enable cloud security service. Default is TRUE.
- extra
Args KubernetesCluster Master Attachment Extra Args - Custom parameters for cluster master component.
- host
Name String - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- key
Ids List<String> - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes
Cluster StringMaster Attachment Id - ID of the resource.
- master
Config KubernetesCluster Master Attachment Master Config - Advanced Node Settings. commonly used to attach existing instances.
- password String
- Password to access, should be set if
key_ids
not set. - security
Group List<String>Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster
Id string - ID of the cluster.
- instance
Id string - ID of the CVM instance, this cvm will reinstall the system.
- node
Role string - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- desired
Pod number[]Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced
Automation booleanService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced
Monitor booleanService - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced
Security booleanService - To specify whether to enable cloud security service. Default is TRUE.
- extra
Args KubernetesCluster Master Attachment Extra Args - Custom parameters for cluster master component.
- host
Name string - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- key
Ids string[] - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes
Cluster stringMaster Attachment Id - ID of the resource.
- master
Config KubernetesCluster Master Attachment Master Config - Advanced Node Settings. commonly used to attach existing instances.
- password string
- Password to access, should be set if
key_ids
not set. - security
Group string[]Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster_
id str - ID of the cluster.
- instance_
id str - ID of the CVM instance, this cvm will reinstall the system.
- node_
role str - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- desired_
pod_ Sequence[float]numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced_
automation_ boolservice - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced_
monitor_ boolservice - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced_
security_ boolservice - To specify whether to enable cloud security service. Default is TRUE.
- extra_
args KubernetesCluster Master Attachment Extra Args Args - Custom parameters for cluster master component.
- host_
name str - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- key_
ids Sequence[str] - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes_
cluster_ strmaster_ attachment_ id - ID of the resource.
- master_
config KubernetesCluster Master Attachment Master Config Args - Advanced Node Settings. commonly used to attach existing instances.
- password str
- Password to access, should be set if
key_ids
not set. - security_
group_ Sequence[str]ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster
Id String - ID of the cluster.
- instance
Id String - ID of the CVM instance, this cvm will reinstall the system.
- node
Role String - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- desired
Pod List<Number>Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced
Automation BooleanService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced
Monitor BooleanService - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced
Security BooleanService - To specify whether to enable cloud security service. Default is TRUE.
- extra
Args Property Map - Custom parameters for cluster master component.
- host
Name String - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- key
Ids List<String> - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes
Cluster StringMaster Attachment Id - ID of the resource.
- master
Config Property Map - Advanced Node Settings. commonly used to attach existing instances.
- password String
- Password to access, should be set if
key_ids
not set. - security
Group List<String>Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesClusterMasterAttachment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KubernetesClusterMasterAttachment Resource
Get an existing KubernetesClusterMasterAttachment 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?: KubernetesClusterMasterAttachmentState, opts?: CustomResourceOptions): KubernetesClusterMasterAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
desired_pod_numbers: Optional[Sequence[float]] = None,
enhanced_automation_service: Optional[bool] = None,
enhanced_monitor_service: Optional[bool] = None,
enhanced_security_service: Optional[bool] = None,
extra_args: Optional[KubernetesClusterMasterAttachmentExtraArgsArgs] = None,
host_name: Optional[str] = None,
instance_id: Optional[str] = None,
key_ids: Optional[Sequence[str]] = None,
kubernetes_cluster_master_attachment_id: Optional[str] = None,
master_config: Optional[KubernetesClusterMasterAttachmentMasterConfigArgs] = None,
node_role: Optional[str] = None,
password: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None) -> KubernetesClusterMasterAttachment
func GetKubernetesClusterMasterAttachment(ctx *Context, name string, id IDInput, state *KubernetesClusterMasterAttachmentState, opts ...ResourceOption) (*KubernetesClusterMasterAttachment, error)
public static KubernetesClusterMasterAttachment Get(string name, Input<string> id, KubernetesClusterMasterAttachmentState? state, CustomResourceOptions? opts = null)
public static KubernetesClusterMasterAttachment get(String name, Output<String> id, KubernetesClusterMasterAttachmentState state, CustomResourceOptions options)
resources: _: type: tencentcloud:KubernetesClusterMasterAttachment 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.
- Cluster
Id string - ID of the cluster.
- Desired
Pod List<double>Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- Enhanced
Automation boolService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- Enhanced
Monitor boolService - To specify whether to enable cloud monitor service. Default is TRUE.
- Enhanced
Security boolService - To specify whether to enable cloud security service. Default is TRUE.
- Extra
Args KubernetesCluster Master Attachment Extra Args - Custom parameters for cluster master component.
- Host
Name string - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- Instance
Id string - ID of the CVM instance, this cvm will reinstall the system.
- Key
Ids List<string> - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - Kubernetes
Cluster stringMaster Attachment Id - ID of the resource.
- Master
Config KubernetesCluster Master Attachment Master Config - Advanced Node Settings. commonly used to attach existing instances.
- Node
Role string - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- Password string
- Password to access, should be set if
key_ids
not set. - Security
Group List<string>Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- Cluster
Id string - ID of the cluster.
- Desired
Pod []float64Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- Enhanced
Automation boolService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- Enhanced
Monitor boolService - To specify whether to enable cloud monitor service. Default is TRUE.
- Enhanced
Security boolService - To specify whether to enable cloud security service. Default is TRUE.
- Extra
Args KubernetesCluster Master Attachment Extra Args Args - Custom parameters for cluster master component.
- Host
Name string - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- Instance
Id string - ID of the CVM instance, this cvm will reinstall the system.
- Key
Ids []string - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - Kubernetes
Cluster stringMaster Attachment Id - ID of the resource.
- Master
Config KubernetesCluster Master Attachment Master Config Args - Advanced Node Settings. commonly used to attach existing instances.
- Node
Role string - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- Password string
- Password to access, should be set if
key_ids
not set. - Security
Group []stringIds - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster
Id String - ID of the cluster.
- desired
Pod List<Double>Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced
Automation BooleanService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced
Monitor BooleanService - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced
Security BooleanService - To specify whether to enable cloud security service. Default is TRUE.
- extra
Args KubernetesCluster Master Attachment Extra Args - Custom parameters for cluster master component.
- host
Name String - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- instance
Id String - ID of the CVM instance, this cvm will reinstall the system.
- key
Ids List<String> - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes
Cluster StringMaster Attachment Id - ID of the resource.
- master
Config KubernetesCluster Master Attachment Master Config - Advanced Node Settings. commonly used to attach existing instances.
- node
Role String - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- password String
- Password to access, should be set if
key_ids
not set. - security
Group List<String>Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster
Id string - ID of the cluster.
- desired
Pod number[]Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced
Automation booleanService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced
Monitor booleanService - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced
Security booleanService - To specify whether to enable cloud security service. Default is TRUE.
- extra
Args KubernetesCluster Master Attachment Extra Args - Custom parameters for cluster master component.
- host
Name string - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- instance
Id string - ID of the CVM instance, this cvm will reinstall the system.
- key
Ids string[] - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes
Cluster stringMaster Attachment Id - ID of the resource.
- master
Config KubernetesCluster Master Attachment Master Config - Advanced Node Settings. commonly used to attach existing instances.
- node
Role string - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- password string
- Password to access, should be set if
key_ids
not set. - security
Group string[]Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster_
id str - ID of the cluster.
- desired_
pod_ Sequence[float]numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced_
automation_ boolservice - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced_
monitor_ boolservice - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced_
security_ boolservice - To specify whether to enable cloud security service. Default is TRUE.
- extra_
args KubernetesCluster Master Attachment Extra Args Args - Custom parameters for cluster master component.
- host_
name str - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- instance_
id str - ID of the CVM instance, this cvm will reinstall the system.
- key_
ids Sequence[str] - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes_
cluster_ strmaster_ attachment_ id - ID of the resource.
- master_
config KubernetesCluster Master Attachment Master Config Args - Advanced Node Settings. commonly used to attach existing instances.
- node_
role str - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- password str
- Password to access, should be set if
key_ids
not set. - security_
group_ Sequence[str]ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
- cluster
Id String - ID of the cluster.
- desired
Pod List<Number>Numbers - When the node belongs to the podCIDR size customization mode, the maximum number of pods running on the node can be specified.
- enhanced
Automation BooleanService - Activate TencentCloud Automation Tools (TAT) service. If this parameter is not specified, the public image will default to enabling the Cloud Automation Assistant service, while other images will default to not enabling the Cloud Automation Assistant service.
- enhanced
Monitor BooleanService - To specify whether to enable cloud monitor service. Default is TRUE.
- enhanced
Security BooleanService - To specify whether to enable cloud security service. Default is TRUE.
- extra
Args Property Map - Custom parameters for cluster master component.
- host
Name String - When reinstalling the system, you can specify the HostName of the instance to be modified (this parameter must be passed when the cluster is in HostName mode, and the rule name should be consistent with the HostName of the CVM instance creation interface except that uppercase characters are not supported).
- instance
Id String - ID of the CVM instance, this cvm will reinstall the system.
- key
Ids List<String> - The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if
password
not set. - kubernetes
Cluster StringMaster Attachment Id - ID of the resource.
- master
Config Property Map - Advanced Node Settings. commonly used to attach existing instances.
- node
Role String - Node role, values: MASTER_ETCD, WORKER. MASTER_ETCD needs to be specified only when creating an INDEPENDENT_CLUSTER independent cluster. The number of MASTER_ETCD nodes is 3-7, and it is recommended to have an odd number. The minimum configuration for MASTER_ETCD is 4C8G.
- password String
- Password to access, should be set if
key_ids
not set. - security
Group List<String>Ids - The security group to which the instance belongs. This parameter can be obtained by calling the sgId field in the return value of DescribeSecureGroups. If this parameter is not specified, the default security group will be bound.
Supporting Types
KubernetesClusterMasterAttachmentExtraArgs, KubernetesClusterMasterAttachmentExtraArgsArgs
- Etcds List<string>
- etcd custom parameters. Only supports independent clusters.
- Kube
Api List<string>Servers - Kube apiserver custom parameters. The parameter format is ["k1=v1", "k1=v2"].
- Kube
Controller List<string>Managers - Kube controller manager custom parameters.
- Kube
Schedulers List<string> - kube scheduler custom parameters.
- Etcds []string
- etcd custom parameters. Only supports independent clusters.
- Kube
Api []stringServers - Kube apiserver custom parameters. The parameter format is ["k1=v1", "k1=v2"].
- Kube
Controller []stringManagers - Kube controller manager custom parameters.
- Kube
Schedulers []string - kube scheduler custom parameters.
- etcds List<String>
- etcd custom parameters. Only supports independent clusters.
- kube
Api List<String>Servers - Kube apiserver custom parameters. The parameter format is ["k1=v1", "k1=v2"].
- kube
Controller List<String>Managers - Kube controller manager custom parameters.
- kube
Schedulers List<String> - kube scheduler custom parameters.
- etcds string[]
- etcd custom parameters. Only supports independent clusters.
- kube
Api string[]Servers - Kube apiserver custom parameters. The parameter format is ["k1=v1", "k1=v2"].
- kube
Controller string[]Managers - Kube controller manager custom parameters.
- kube
Schedulers string[] - kube scheduler custom parameters.
- etcds Sequence[str]
- etcd custom parameters. Only supports independent clusters.
- kube_
api_ Sequence[str]servers - Kube apiserver custom parameters. The parameter format is ["k1=v1", "k1=v2"].
- kube_
controller_ Sequence[str]managers - Kube controller manager custom parameters.
- kube_
schedulers Sequence[str] - kube scheduler custom parameters.
- etcds List<String>
- etcd custom parameters. Only supports independent clusters.
- kube
Api List<String>Servers - Kube apiserver custom parameters. The parameter format is ["k1=v1", "k1=v2"].
- kube
Controller List<String>Managers - Kube controller manager custom parameters.
- kube
Schedulers List<String> - kube scheduler custom parameters.
KubernetesClusterMasterAttachmentMasterConfig, KubernetesClusterMasterAttachmentMasterConfigArgs
- Data
Disk KubernetesCluster Master Attachment Master Config Data Disk - Configurations of data disk.
- Desired
Pod doubleNumber - Indicate to set desired pod number in node. valid when the cluster is podCIDR.
- Docker
Graph stringPath - Docker graph path. Default is
/var/lib/docker
. - Extra
Args KubernetesCluster Master Attachment Master Config Extra Args - Custom parameter information related to the node. This is a white-list parameter.
- Gpu
Args KubernetesCluster Master Attachment Master Config Gpu Args - GPU driver parameters.
- Labels
List<Kubernetes
Cluster Master Attachment Master Config Label> - Node label list.
- Mount
Target string - Mount target. Default is not mounting.
- Taints
List<Kubernetes
Cluster Master Attachment Master Config Taint> - Node taint.
- Unschedulable double
- Set whether the joined nodes participate in scheduling, with a default value of 0, indicating participation in scheduling; Non 0 means not participating in scheduling.
- User
Script string - User script encoded in base64, which will be executed after the k8s component runs. The user needs to ensure the script's reentrant and retry logic. The script and its generated log files can be viewed in the node path /data/ccs_userscript/. If the node needs to be initialized before joining the schedule, it can be used in conjunction with the
unschedulable
parameter. After the final initialization of the userScript is completed, add the command "kubectl uncordon nodename --kubeconfig=/root/.kube/config" to add the node to the schedule.
- Data
Disk KubernetesCluster Master Attachment Master Config Data Disk - Configurations of data disk.
- Desired
Pod float64Number - Indicate to set desired pod number in node. valid when the cluster is podCIDR.
- Docker
Graph stringPath - Docker graph path. Default is
/var/lib/docker
. - Extra
Args KubernetesCluster Master Attachment Master Config Extra Args - Custom parameter information related to the node. This is a white-list parameter.
- Gpu
Args KubernetesCluster Master Attachment Master Config Gpu Args - GPU driver parameters.
- Labels
[]Kubernetes
Cluster Master Attachment Master Config Label - Node label list.
- Mount
Target string - Mount target. Default is not mounting.
- Taints
[]Kubernetes
Cluster Master Attachment Master Config Taint - Node taint.
- Unschedulable float64
- Set whether the joined nodes participate in scheduling, with a default value of 0, indicating participation in scheduling; Non 0 means not participating in scheduling.
- User
Script string - User script encoded in base64, which will be executed after the k8s component runs. The user needs to ensure the script's reentrant and retry logic. The script and its generated log files can be viewed in the node path /data/ccs_userscript/. If the node needs to be initialized before joining the schedule, it can be used in conjunction with the
unschedulable
parameter. After the final initialization of the userScript is completed, add the command "kubectl uncordon nodename --kubeconfig=/root/.kube/config" to add the node to the schedule.
- data
Disk KubernetesCluster Master Attachment Master Config Data Disk - Configurations of data disk.
- desired
Pod DoubleNumber - Indicate to set desired pod number in node. valid when the cluster is podCIDR.
- docker
Graph StringPath - Docker graph path. Default is
/var/lib/docker
. - extra
Args KubernetesCluster Master Attachment Master Config Extra Args - Custom parameter information related to the node. This is a white-list parameter.
- gpu
Args KubernetesCluster Master Attachment Master Config Gpu Args - GPU driver parameters.
- labels
List<Kubernetes
Cluster Master Attachment Master Config Label> - Node label list.
- mount
Target String - Mount target. Default is not mounting.
- taints
List<Kubernetes
Cluster Master Attachment Master Config Taint> - Node taint.
- unschedulable Double
- Set whether the joined nodes participate in scheduling, with a default value of 0, indicating participation in scheduling; Non 0 means not participating in scheduling.
- user
Script String - User script encoded in base64, which will be executed after the k8s component runs. The user needs to ensure the script's reentrant and retry logic. The script and its generated log files can be viewed in the node path /data/ccs_userscript/. If the node needs to be initialized before joining the schedule, it can be used in conjunction with the
unschedulable
parameter. After the final initialization of the userScript is completed, add the command "kubectl uncordon nodename --kubeconfig=/root/.kube/config" to add the node to the schedule.
- data
Disk KubernetesCluster Master Attachment Master Config Data Disk - Configurations of data disk.
- desired
Pod numberNumber - Indicate to set desired pod number in node. valid when the cluster is podCIDR.
- docker
Graph stringPath - Docker graph path. Default is
/var/lib/docker
. - extra
Args KubernetesCluster Master Attachment Master Config Extra Args - Custom parameter information related to the node. This is a white-list parameter.
- gpu
Args KubernetesCluster Master Attachment Master Config Gpu Args - GPU driver parameters.
- labels
Kubernetes
Cluster Master Attachment Master Config Label[] - Node label list.
- mount
Target string - Mount target. Default is not mounting.
- taints
Kubernetes
Cluster Master Attachment Master Config Taint[] - Node taint.
- unschedulable number
- Set whether the joined nodes participate in scheduling, with a default value of 0, indicating participation in scheduling; Non 0 means not participating in scheduling.
- user
Script string - User script encoded in base64, which will be executed after the k8s component runs. The user needs to ensure the script's reentrant and retry logic. The script and its generated log files can be viewed in the node path /data/ccs_userscript/. If the node needs to be initialized before joining the schedule, it can be used in conjunction with the
unschedulable
parameter. After the final initialization of the userScript is completed, add the command "kubectl uncordon nodename --kubeconfig=/root/.kube/config" to add the node to the schedule.
- data_
disk KubernetesCluster Master Attachment Master Config Data Disk - Configurations of data disk.
- desired_
pod_ floatnumber - Indicate to set desired pod number in node. valid when the cluster is podCIDR.
- docker_
graph_ strpath - Docker graph path. Default is
/var/lib/docker
. - extra_
args KubernetesCluster Master Attachment Master Config Extra Args - Custom parameter information related to the node. This is a white-list parameter.
- gpu_
args KubernetesCluster Master Attachment Master Config Gpu Args - GPU driver parameters.
- labels
Sequence[Kubernetes
Cluster Master Attachment Master Config Label] - Node label list.
- mount_
target str - Mount target. Default is not mounting.
- taints
Sequence[Kubernetes
Cluster Master Attachment Master Config Taint] - Node taint.
- unschedulable float
- Set whether the joined nodes participate in scheduling, with a default value of 0, indicating participation in scheduling; Non 0 means not participating in scheduling.
- user_
script str - User script encoded in base64, which will be executed after the k8s component runs. The user needs to ensure the script's reentrant and retry logic. The script and its generated log files can be viewed in the node path /data/ccs_userscript/. If the node needs to be initialized before joining the schedule, it can be used in conjunction with the
unschedulable
parameter. After the final initialization of the userScript is completed, add the command "kubectl uncordon nodename --kubeconfig=/root/.kube/config" to add the node to the schedule.
- data
Disk Property Map - Configurations of data disk.
- desired
Pod NumberNumber - Indicate to set desired pod number in node. valid when the cluster is podCIDR.
- docker
Graph StringPath - Docker graph path. Default is
/var/lib/docker
. - extra
Args Property Map - Custom parameter information related to the node. This is a white-list parameter.
- gpu
Args Property Map - GPU driver parameters.
- labels List<Property Map>
- Node label list.
- mount
Target String - Mount target. Default is not mounting.
- taints List<Property Map>
- Node taint.
- unschedulable Number
- Set whether the joined nodes participate in scheduling, with a default value of 0, indicating participation in scheduling; Non 0 means not participating in scheduling.
- user
Script String - User script encoded in base64, which will be executed after the k8s component runs. The user needs to ensure the script's reentrant and retry logic. The script and its generated log files can be viewed in the node path /data/ccs_userscript/. If the node needs to be initialized before joining the schedule, it can be used in conjunction with the
unschedulable
parameter. After the final initialization of the userScript is completed, add the command "kubectl uncordon nodename --kubeconfig=/root/.kube/config" to add the node to the schedule.
KubernetesClusterMasterAttachmentMasterConfigDataDisk, KubernetesClusterMasterAttachmentMasterConfigDataDiskArgs
- Auto
Format boolAnd Mount - Indicate whether to auto format and mount or not. Default is
false
. - Disk
Partition string - The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
- Disk
Size double - Volume of disk in GB. Default is
0
. - Disk
Type string - Types of disk. Valid value:
LOCAL_BASIC
,LOCAL_SSD
,CLOUD_BASIC
,CLOUD_PREMIUM
,CLOUD_SSD
,CLOUD_HSSD
,CLOUD_TSSD
andCLOUD_BSSD
. - File
System string - File system, e.g.
ext3/ext4/xfs
. - Mount
Target string - Mount target.
- Auto
Format boolAnd Mount - Indicate whether to auto format and mount or not. Default is
false
. - Disk
Partition string - The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
- Disk
Size float64 - Volume of disk in GB. Default is
0
. - Disk
Type string - Types of disk. Valid value:
LOCAL_BASIC
,LOCAL_SSD
,CLOUD_BASIC
,CLOUD_PREMIUM
,CLOUD_SSD
,CLOUD_HSSD
,CLOUD_TSSD
andCLOUD_BSSD
. - File
System string - File system, e.g.
ext3/ext4/xfs
. - Mount
Target string - Mount target.
- auto
Format BooleanAnd Mount - Indicate whether to auto format and mount or not. Default is
false
. - disk
Partition String - The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
- disk
Size Double - Volume of disk in GB. Default is
0
. - disk
Type String - Types of disk. Valid value:
LOCAL_BASIC
,LOCAL_SSD
,CLOUD_BASIC
,CLOUD_PREMIUM
,CLOUD_SSD
,CLOUD_HSSD
,CLOUD_TSSD
andCLOUD_BSSD
. - file
System String - File system, e.g.
ext3/ext4/xfs
. - mount
Target String - Mount target.
- auto
Format booleanAnd Mount - Indicate whether to auto format and mount or not. Default is
false
. - disk
Partition string - The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
- disk
Size number - Volume of disk in GB. Default is
0
. - disk
Type string - Types of disk. Valid value:
LOCAL_BASIC
,LOCAL_SSD
,CLOUD_BASIC
,CLOUD_PREMIUM
,CLOUD_SSD
,CLOUD_HSSD
,CLOUD_TSSD
andCLOUD_BSSD
. - file
System string - File system, e.g.
ext3/ext4/xfs
. - mount
Target string - Mount target.
- auto_
format_ booland_ mount - Indicate whether to auto format and mount or not. Default is
false
. - disk_
partition str - The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
- disk_
size float - Volume of disk in GB. Default is
0
. - disk_
type str - Types of disk. Valid value:
LOCAL_BASIC
,LOCAL_SSD
,CLOUD_BASIC
,CLOUD_PREMIUM
,CLOUD_SSD
,CLOUD_HSSD
,CLOUD_TSSD
andCLOUD_BSSD
. - file_
system str - File system, e.g.
ext3/ext4/xfs
. - mount_
target str - Mount target.
- auto
Format BooleanAnd Mount - Indicate whether to auto format and mount or not. Default is
false
. - disk
Partition String - The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
- disk
Size Number - Volume of disk in GB. Default is
0
. - disk
Type String - Types of disk. Valid value:
LOCAL_BASIC
,LOCAL_SSD
,CLOUD_BASIC
,CLOUD_PREMIUM
,CLOUD_SSD
,CLOUD_HSSD
,CLOUD_TSSD
andCLOUD_BSSD
. - file
System String - File system, e.g.
ext3/ext4/xfs
. - mount
Target String - Mount target.
KubernetesClusterMasterAttachmentMasterConfigExtraArgs, KubernetesClusterMasterAttachmentMasterConfigExtraArgsArgs
- Kubelets List<string>
- Kubelet custom parameter. The parameter format is ["k1=v1", "k1=v2"].
- Kubelets []string
- Kubelet custom parameter. The parameter format is ["k1=v1", "k1=v2"].
- kubelets List<String>
- Kubelet custom parameter. The parameter format is ["k1=v1", "k1=v2"].
- kubelets string[]
- Kubelet custom parameter. The parameter format is ["k1=v1", "k1=v2"].
- kubelets Sequence[str]
- Kubelet custom parameter. The parameter format is ["k1=v1", "k1=v2"].
- kubelets List<String>
- Kubelet custom parameter. The parameter format is ["k1=v1", "k1=v2"].
KubernetesClusterMasterAttachmentMasterConfigGpuArgs, KubernetesClusterMasterAttachmentMasterConfigGpuArgsArgs
- Cuda Dictionary<string, string>
- CUDA version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - Cudnn Dictionary<string, string>
- cuDNN version. Format like:
{ version: String, name: String, doc_name: String, dev_name: String }
.version
: cuDNN version;name
: cuDNN name;doc_name
: Doc name of cuDNN;dev_name
: Dev name of cuDNN. - Custom
Driver Dictionary<string, string> - Custom GPU driver. Format like:
{address: String}
.address
: URL of custom GPU driver address. - Driver Dictionary<string, string>
- GPU driver version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - Mig
Enable bool - Whether to enable MIG.
- Cuda map[string]string
- CUDA version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - Cudnn map[string]string
- cuDNN version. Format like:
{ version: String, name: String, doc_name: String, dev_name: String }
.version
: cuDNN version;name
: cuDNN name;doc_name
: Doc name of cuDNN;dev_name
: Dev name of cuDNN. - Custom
Driver map[string]string - Custom GPU driver. Format like:
{address: String}
.address
: URL of custom GPU driver address. - Driver map[string]string
- GPU driver version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - Mig
Enable bool - Whether to enable MIG.
- cuda Map<String,String>
- CUDA version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - cudnn Map<String,String>
- cuDNN version. Format like:
{ version: String, name: String, doc_name: String, dev_name: String }
.version
: cuDNN version;name
: cuDNN name;doc_name
: Doc name of cuDNN;dev_name
: Dev name of cuDNN. - custom
Driver Map<String,String> - Custom GPU driver. Format like:
{address: String}
.address
: URL of custom GPU driver address. - driver Map<String,String>
- GPU driver version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - mig
Enable Boolean - Whether to enable MIG.
- cuda {[key: string]: string}
- CUDA version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - cudnn {[key: string]: string}
- cuDNN version. Format like:
{ version: String, name: String, doc_name: String, dev_name: String }
.version
: cuDNN version;name
: cuDNN name;doc_name
: Doc name of cuDNN;dev_name
: Dev name of cuDNN. - custom
Driver {[key: string]: string} - Custom GPU driver. Format like:
{address: String}
.address
: URL of custom GPU driver address. - driver {[key: string]: string}
- GPU driver version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - mig
Enable boolean - Whether to enable MIG.
- cuda Mapping[str, str]
- CUDA version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - cudnn Mapping[str, str]
- cuDNN version. Format like:
{ version: String, name: String, doc_name: String, dev_name: String }
.version
: cuDNN version;name
: cuDNN name;doc_name
: Doc name of cuDNN;dev_name
: Dev name of cuDNN. - custom_
driver Mapping[str, str] - Custom GPU driver. Format like:
{address: String}
.address
: URL of custom GPU driver address. - driver Mapping[str, str]
- GPU driver version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - mig_
enable bool - Whether to enable MIG.
- cuda Map<String>
- CUDA version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - cudnn Map<String>
- cuDNN version. Format like:
{ version: String, name: String, doc_name: String, dev_name: String }
.version
: cuDNN version;name
: cuDNN name;doc_name
: Doc name of cuDNN;dev_name
: Dev name of cuDNN. - custom
Driver Map<String> - Custom GPU driver. Format like:
{address: String}
.address
: URL of custom GPU driver address. - driver Map<String>
- GPU driver version. Format like:
{ version: String, name: String }
.version
: Version of GPU driver or CUDA;name
: Name of GPU driver or CUDA. - mig
Enable Boolean - Whether to enable MIG.
KubernetesClusterMasterAttachmentMasterConfigLabel, KubernetesClusterMasterAttachmentMasterConfigLabelArgs
KubernetesClusterMasterAttachmentMasterConfigTaint, KubernetesClusterMasterAttachmentMasterConfigTaintArgs
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.