public class ModifyClusterNodePoolRequest extends AbstractModel
Constructor and Description |
---|
ModifyClusterNodePoolRequest() |
ModifyClusterNodePoolRequest(ModifyClusterNodePoolRequest 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 |
---|---|
String |
getClusterId()
Get 集群ID
|
Boolean |
getDeletionProtection()
Get 删除保护开关
|
String |
getDockerGraphPath()
Get dockerd --graph 指定值, 默认为 /var/lib/docker
|
Boolean |
getEnableAutoscale()
Get 是否开启伸缩
|
InstanceExtraArgs |
getExtraArgs()
Get 节点自定义参数
|
GPUArgs |
getGPUArgs()
Get GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性
|
Boolean |
getIgnoreExistedNode()
Get 更新label和taint时忽略存量节点
|
Label[] |
getLabels()
Get 标签
|
Long |
getMaxNodesNum()
Get 最大节点数
|
Long |
getMinNodesNum()
Get 最小节点数
|
String |
getName()
Get 名称
|
String |
getNodePoolId()
Get 节点池ID
|
String |
getOsCustomizeType()
Get 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
String |
getOsName()
Get 操作系统名称
|
Tag[] |
getTags()
Get 资源标签
|
Taint[] |
getTaints()
Get 污点
|
Long |
getUnschedulable()
Get 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
|
String |
getUserScript()
Get base64编码后的自定义脚本
|
void |
setClusterId(String ClusterId)
Set 集群ID
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set 删除保护开关
|
void |
setDockerGraphPath(String DockerGraphPath)
Set dockerd --graph 指定值, 默认为 /var/lib/docker
|
void |
setEnableAutoscale(Boolean EnableAutoscale)
Set 是否开启伸缩
|
void |
setExtraArgs(InstanceExtraArgs ExtraArgs)
Set 节点自定义参数
|
void |
setGPUArgs(GPUArgs GPUArgs)
Set GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性
|
void |
setIgnoreExistedNode(Boolean IgnoreExistedNode)
Set 更新label和taint时忽略存量节点
|
void |
setLabels(Label[] Labels)
Set 标签
|
void |
setMaxNodesNum(Long MaxNodesNum)
Set 最大节点数
|
void |
setMinNodesNum(Long MinNodesNum)
Set 最小节点数
|
void |
setName(String Name)
Set 名称
|
void |
setNodePoolId(String NodePoolId)
Set 节点池ID
|
void |
setOsCustomizeType(String OsCustomizeType)
Set 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
void |
setOsName(String OsName)
Set 操作系统名称
|
void |
setTags(Tag[] Tags)
Set 资源标签
|
void |
setTaints(Taint[] Taints)
Set 污点
|
void |
setUnschedulable(Long Unschedulable)
Set 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.
|
void |
setUserScript(String UserScript)
Set base64编码后的自定义脚本
|
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, toJsonString
public ModifyClusterNodePoolRequest()
public ModifyClusterNodePoolRequest(ModifyClusterNodePoolRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群IDpublic String getNodePoolId()
public void setNodePoolId(String NodePoolId)
NodePoolId
- 节点池IDpublic String getName()
public void setName(String Name)
Name
- 名称public Long getMaxNodesNum()
public void setMaxNodesNum(Long MaxNodesNum)
MaxNodesNum
- 最大节点数public Long getMinNodesNum()
public void setMinNodesNum(Long MinNodesNum)
MinNodesNum
- 最小节点数public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- 标签public Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints
- 污点public Boolean getEnableAutoscale()
public void setEnableAutoscale(Boolean EnableAutoscale)
EnableAutoscale
- 是否开启伸缩public String getOsName()
public void setOsName(String OsName)
OsName
- 操作系统名称public String getOsCustomizeType()
public void setOsCustomizeType(String OsCustomizeType)
OsCustomizeType
- 镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)public GPUArgs getGPUArgs()
public void setGPUArgs(GPUArgs GPUArgs)
GPUArgs
- GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性public String getUserScript()
public void setUserScript(String UserScript)
UserScript
- base64编码后的自定义脚本public Boolean getIgnoreExistedNode()
public void setIgnoreExistedNode(Boolean IgnoreExistedNode)
IgnoreExistedNode
- 更新label和taint时忽略存量节点public InstanceExtraArgs getExtraArgs()
public void setExtraArgs(InstanceExtraArgs ExtraArgs)
ExtraArgs
- 节点自定义参数public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 资源标签public Long getUnschedulable()
public void setUnschedulable(Long Unschedulable)
Unschedulable
- 设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection
- 删除保护开关public String getDockerGraphPath()
public void setDockerGraphPath(String DockerGraphPath)
DockerGraphPath
- dockerd --graph 指定值, 默认为 /var/lib/dockerCopyright © 2023. All rights reserved.