public class InstanceAdvancedSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
InstanceAdvancedSettings() |
InstanceAdvancedSettings(InstanceAdvancedSettings 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 |
---|---|
Long |
getDesiredPodNumber()
Get When the node is in the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
|
InstanceExtraArgs |
getExtraArgs()
Get Node-related custom parameter information.
|
String |
getPreStartUserScript()
Get base64 encoded user script, executed before initializing the node and currently effective only for adding existing nodes
Note: This field may return "null", indicating that no valid value can be obtained.
|
RuntimeConfig |
getRuntimeConfig()
Get Runtime description
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getUserScript()
Get Base64-encoded user script.
|
void |
setDesiredPodNumber(Long DesiredPodNumber)
Set When the node is in the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
|
void |
setExtraArgs(InstanceExtraArgs ExtraArgs)
Set Node-related custom parameter information.
|
void |
setPreStartUserScript(String PreStartUserScript)
Set base64 encoded user script, executed before initializing the node and currently effective only for adding existing nodes
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setRuntimeConfig(RuntimeConfig RuntimeConfig)
Set Runtime description
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setUserScript(String UserScript)
Set Base64-encoded user script.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InstanceAdvancedSettings()
public InstanceAdvancedSettings(InstanceAdvancedSettings source)
public Long getDesiredPodNumber()
public void setDesiredPodNumber(Long DesiredPodNumber)
DesiredPodNumber
- When the node is in the podCIDR size customization mode, you can specify the upper limit of the number of pods running on the node.
Note: This field may return "null", indicating that no valid value can be obtained.public String getPreStartUserScript()
public void setPreStartUserScript(String PreStartUserScript)
PreStartUserScript
- base64 encoded user script, executed before initializing the node and currently effective only for adding existing nodes
Note: This field may return "null", indicating that no valid value can be obtained.public RuntimeConfig getRuntimeConfig()
public void setRuntimeConfig(RuntimeConfig RuntimeConfig)
RuntimeConfig
- Runtime description
Note: This field may return "null", indicating that no valid value can be obtained.public String getUserScript()
public void setUserScript(String UserScript)
UserScript
- Base64-encoded user script. This script is executed after the k8s components start running. Users must ensure the reenterable and retry logic of the script. The script and the log files generated by it can be viewed at the /data/ccs_userscript/ path of the node. If a node must be initialized before joining the scheduling, it can be used in conjunction with the unschedulable parameter. After initializing with userScript, add the command `kubectl uncordon nodename --kubeconfig=/root/.kube/config` to add the node to scheduling.
Note: This field may return "null", indicating that no valid value can be obtained.public InstanceExtraArgs getExtraArgs()
public void setExtraArgs(InstanceExtraArgs ExtraArgs)
ExtraArgs
- Node-related custom parameter information.
Note: This field may return "null", indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.