public class PrometheusClusterAgentPodConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
PrometheusClusterAgentPodConfig() |
PrometheusClusterAgentPodConfig(PrometheusClusterAgentPodConfig 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 |
getHostNet()
Get 是否使用HostNetWork
|
Label[] |
getNodeSelector()
Get 指定pod运行节点
|
Toleration[] |
getTolerations()
Get 容忍污点
|
void |
setHostNet(Boolean HostNet)
Set 是否使用HostNetWork
|
void |
setNodeSelector(Label[] NodeSelector)
Set 指定pod运行节点
|
void |
setTolerations(Toleration[] Tolerations)
Set 容忍污点
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PrometheusClusterAgentPodConfig()
public PrometheusClusterAgentPodConfig(PrometheusClusterAgentPodConfig source)
public Boolean getHostNet()
public void setHostNet(Boolean HostNet)
HostNet
- 是否使用HostNetWorkpublic Label[] getNodeSelector()
public void setNodeSelector(Label[] NodeSelector)
NodeSelector
- 指定pod运行节点public Toleration[] getTolerations()
public void setTolerations(Toleration[] Tolerations)
Tolerations
- 容忍污点Copyright © 2024. All rights reserved.