tke — Kubernetes Engine
tke · type

InstanceAdvancedSettings

11 fields

FieldTypeDescription
DesiredPodNumberintegerWhen the custom PodCIDR mode is enabled for the cluster, you can specify the maximum number of pods per node.
GPUArgsGPUArgsGPU driver-related parameters. Relevant GPU parameters can be found at:Note: This field may return "null", indicating that no valid value can be obtained.
PreStartUserScriptstringSpecifies the base64-encoded custom script to be executed before initialization of the node. It’s only valid for adding existing nodes for now.
TaintsTaint[]Node taint
MountTargetstringData disk mount point. By default, no data disk is mounted. Data disks in ext3, ext4, or XFS file system formats will be mounted directly, while data disks in other file systems and unformatted data disks will automatically be formatted as ext4 (xfs for tlinux system) and then mounted. Please back up your data in advance. This setting is only applicable to CVMs with a single data disk.
DockerGraphPathstringSpecified value of dockerd --graph. Default value: /var/lib/docker
UserScriptstringBase64-encoded user script, which will be executed after the K8s component starts running. You need to ensure the reentrant and retry logic of the script. The script and its log files can be viewed at the node path: /data/ccs_userscript/. If you want to initialize nodes before adding them to the scheduling list, you can use this parameter together with the unschedulable parameter. After the fin…
UnschedulableintegerSets whether the added node is schedulable. 0 (default): schedulable; other values: unschedulable. After node initialization is completed, you can run kubectl uncordon nodename to enable this node for scheduling.
LabelsLabel[]Node label array
DataDisksDataDisk[]Mounting information of multiple data disks. When you create a node, ensure that the CVM purchase parameter specifies the information required for the purchase of multiple data disks. For example, the `DataDisks` under `RunInstancesPara` of the `CreateClusterInstances` API should be configured accordingly (Referto document of CreateClusterInstances API). When you add an existing node, ensure th…
ExtraArgsInstanceExtraArgsInformation about node custom parameters

Returned or accepted by

Nested inside