public class ClusterAdvancedSettings extends AbstractModel
| Constructor and Description | 
|---|
| ClusterAdvancedSettings() | 
| ClusterAdvancedSettings(ClusterAdvancedSettings source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getAsEnabled()Get Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster) | 
| Boolean | getAuditEnabled()Get Indicates whether to enable auditing | 
| String | getAuditLogsetId()Get Specifies the ID of logset to which the audit logs are uploaded. | 
| String | getAuditLogTopicId()Get Specifies the ID of topic to which the audit logs are uploaded. | 
| Long | getBasePodNumber()Get The basic number of Pods in custom mode | 
| String | getCiliumMode()Get Specifies whether to enable Cilium. | 
| String | getContainerRuntime()Get Type of runtime component used by the cluster. | 
| Boolean | getDeletionProtection()Get Indicates whether to enable cluster deletion protection. | 
| Boolean | getEnableCustomizedPodCIDR()Get Indicates whether to enable the custom mode for the node’s pod CIDR range | 
| ClusterExtraArgs | getExtraArgs()Get Cluster custom parameter | 
| Boolean | getIPVS()Get Whether IPVS is enabled | 
| Boolean | getIsDualStack()Get Whether it is a dual-stack cluster in VPC-CNI mode. | 
| Boolean | getIsNonStaticIpMode()Get Whether a cluster in VPC-CNI mode uses dynamic IP addresses. | 
| String | getKubeProxyMode()Get Cluster network proxy model, which is only used when ipvs-bpf mode is used. | 
| String | getNetworkType()Get Cluster network type, which can be GR (Global Router) or VPC-CNI. | 
| String | getNodeNameType()Get NodeName type for a node in a cluster (This includes the two forms of **hostname** and **lan-ip**, with the default as **lan-ip**. | 
| Boolean | getQGPUShareEnable()Get Whether to enable qGPU Sharing | 
| String | getRuntimeVersion()Get Runtime version | 
| String | getVpcCniType()Get Specifies the ENI type. | 
| void | setAsEnabled(Boolean AsEnabled)Set Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster) | 
| void | setAuditEnabled(Boolean AuditEnabled)Set Indicates whether to enable auditing | 
| void | setAuditLogsetId(String AuditLogsetId)Set Specifies the ID of logset to which the audit logs are uploaded. | 
| void | setAuditLogTopicId(String AuditLogTopicId)Set Specifies the ID of topic to which the audit logs are uploaded. | 
| void | setBasePodNumber(Long BasePodNumber)Set The basic number of Pods in custom mode | 
| void | setCiliumMode(String CiliumMode)Set Specifies whether to enable Cilium. | 
| void | setContainerRuntime(String ContainerRuntime)Set Type of runtime component used by the cluster. | 
| void | setDeletionProtection(Boolean DeletionProtection)Set Indicates whether to enable cluster deletion protection. | 
| void | setEnableCustomizedPodCIDR(Boolean EnableCustomizedPodCIDR)Set Indicates whether to enable the custom mode for the node’s pod CIDR range | 
| void | setExtraArgs(ClusterExtraArgs ExtraArgs)Set Cluster custom parameter | 
| void | setIPVS(Boolean IPVS)Set Whether IPVS is enabled | 
| void | setIsDualStack(Boolean IsDualStack)Set Whether it is a dual-stack cluster in VPC-CNI mode. | 
| void | setIsNonStaticIpMode(Boolean IsNonStaticIpMode)Set Whether a cluster in VPC-CNI mode uses dynamic IP addresses. | 
| void | setKubeProxyMode(String KubeProxyMode)Set Cluster network proxy model, which is only used when ipvs-bpf mode is used. | 
| void | setNetworkType(String NetworkType)Set Cluster network type, which can be GR (Global Router) or VPC-CNI. | 
| void | setNodeNameType(String NodeNameType)Set NodeName type for a node in a cluster (This includes the two forms of **hostname** and **lan-ip**, with the default as **lan-ip**. | 
| void | setQGPUShareEnable(Boolean QGPUShareEnable)Set Whether to enable qGPU Sharing | 
| void | setRuntimeVersion(String RuntimeVersion)Set Runtime version | 
| void | setVpcCniType(String VpcCniType)Set Specifies the ENI type. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ClusterAdvancedSettings()
public ClusterAdvancedSettings(ClusterAdvancedSettings source)
public Boolean getIPVS()
public void setIPVS(Boolean IPVS)
IPVS - Whether IPVS is enabledpublic Boolean getAsEnabled()
public void setAsEnabled(Boolean AsEnabled)
AsEnabled - Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster)public String getContainerRuntime()
public void setContainerRuntime(String ContainerRuntime)
ContainerRuntime - Type of runtime component used by the cluster. The types include "docker" and "containerd". Default value: dockerpublic String getNodeNameType()
public void setNodeNameType(String NodeNameType)
NodeNameType - NodeName type for a node in a cluster (This includes the two forms of **hostname** and **lan-ip**, with the default as **lan-ip**. If **hostname** is used, you need to set the HostName parameter when creating a node, and the InstanceName needs to be the same as the HostName.)public ClusterExtraArgs getExtraArgs()
public void setExtraArgs(ClusterExtraArgs ExtraArgs)
ExtraArgs - Cluster custom parameterpublic String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType - Cluster network type, which can be GR (Global Router) or VPC-CNI. The default value is GR.public Boolean getIsNonStaticIpMode()
public void setIsNonStaticIpMode(Boolean IsNonStaticIpMode)
IsNonStaticIpMode - Whether a cluster in VPC-CNI mode uses dynamic IP addresses. The default value is FALSE, which indicates that static IP addresses are used.public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection - Indicates whether to enable cluster deletion protection.public String getKubeProxyMode()
public void setKubeProxyMode(String KubeProxyMode)
KubeProxyMode - Cluster network proxy model, which is only used when ipvs-bpf mode is used. At present, TKE cluster supports three network proxy modes including `iptables`, `ipvs` and `ipvs-bpf` and their parameter setting relationships are as follows:
`iptables`: do not set IPVS and KubeProxyMode.
`ipvs`: set IPVS to `true` and do not set KubeProxyMode.
`ipvs-bpf`: set KubeProxyMode to `kube-proxy-bpf`.
The following conditions are required to use ipvs-bpf network mode:
1. The cluster version must be v1.14 or later.
2. The system image must be Tencent Linux 2.4.public Boolean getAuditEnabled()
public void setAuditEnabled(Boolean AuditEnabled)
AuditEnabled - Indicates whether to enable auditingpublic String getAuditLogsetId()
public void setAuditLogsetId(String AuditLogsetId)
AuditLogsetId - Specifies the ID of logset to which the audit logs are uploaded.public String getAuditLogTopicId()
public void setAuditLogTopicId(String AuditLogTopicId)
AuditLogTopicId - Specifies the ID of topic to which the audit logs are uploaded.public String getVpcCniType()
public void setVpcCniType(String VpcCniType)
VpcCniType - Specifies the ENI type. Values: `tke-route-eni` (multi-IP shared ENI); `tke-direct-eni` (independent ENI). It defaults to `tke-route-eni`.public String getRuntimeVersion()
public void setRuntimeVersion(String RuntimeVersion)
RuntimeVersion - Runtime versionpublic Boolean getEnableCustomizedPodCIDR()
public void setEnableCustomizedPodCIDR(Boolean EnableCustomizedPodCIDR)
EnableCustomizedPodCIDR - Indicates whether to enable the custom mode for the node’s pod CIDR rangepublic Long getBasePodNumber()
public void setBasePodNumber(Long BasePodNumber)
BasePodNumber - The basic number of Pods in custom modepublic String getCiliumMode()
public void setCiliumMode(String CiliumMode)
CiliumMode - Specifies whether to enable Cilium. If it’s left empty, Cilium is not enabled. If `clusterIP` is passed in, it means to enable Cilium to support the clusterIP service type.public Boolean getIsDualStack()
public void setIsDualStack(Boolean IsDualStack)
IsDualStack - Whether it is a dual-stack cluster in VPC-CNI mode. Default value: `false`, which indicates it is not a dual-stack cluster.public Boolean getQGPUShareEnable()
public void setQGPUShareEnable(Boolean QGPUShareEnable)
QGPUShareEnable - Whether to enable qGPU SharingCopyright © 2023. All rights reserved.