public class ClusterNetworkSettings extends AbstractModel
Constructor and Description |
---|
ClusterNetworkSettings() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterCIDR()
Get CIDR used to assign container and service IPs for the cluster.
|
Boolean |
getCni()
Get Whether CNI is enabled for network plugin(s).
|
Boolean |
getIgnoreClusterCIDRConflict()
Get Whether to ignore ClusterCIDR conflict errors.
|
Boolean |
getIpvs()
Get Whether IPVS is enabled.
|
Long |
getMaxClusterServiceNum()
Get Maximum number of cluster services.
|
Long |
getMaxNodePodNum()
Get Maximum number of pods on each node in the cluster.
|
String |
getVpcId()
Get Cluster VPC ID, which is required when you create an empty cluster; otherwise, it is automatically set to be consistent with that of the nodes in the cluster
|
void |
setClusterCIDR(String ClusterCIDR)
Set CIDR used to assign container and service IPs for the cluster.
|
void |
setCni(Boolean Cni)
Set Whether CNI is enabled for network plugin(s).
|
void |
setIgnoreClusterCIDRConflict(Boolean IgnoreClusterCIDRConflict)
Set Whether to ignore ClusterCIDR conflict errors.
|
void |
setIpvs(Boolean Ipvs)
Set Whether IPVS is enabled.
|
void |
setMaxClusterServiceNum(Long MaxClusterServiceNum)
Set Maximum number of cluster services.
|
void |
setMaxNodePodNum(Long MaxNodePodNum)
Set Maximum number of pods on each node in the cluster.
|
void |
setVpcId(String VpcId)
Set Cluster VPC ID, which is required when you create an empty cluster; otherwise, it is automatically set to be consistent with that of the nodes in the cluster
|
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 String getClusterCIDR()
public void setClusterCIDR(String ClusterCIDR)
ClusterCIDR
- CIDR used to assign container and service IPs for the cluster. It cannot conflict with the VPC's CIDR or the CIDRs of other clusters in the same VPC.public Boolean getIgnoreClusterCIDRConflict()
public void setIgnoreClusterCIDRConflict(Boolean IgnoreClusterCIDRConflict)
IgnoreClusterCIDRConflict
- Whether to ignore ClusterCIDR conflict errors. It defaults to not ignore.public Long getMaxNodePodNum()
public void setMaxNodePodNum(Long MaxNodePodNum)
MaxNodePodNum
- Maximum number of pods on each node in the cluster. Default value: 256public Long getMaxClusterServiceNum()
public void setMaxClusterServiceNum(Long MaxClusterServiceNum)
MaxClusterServiceNum
- Maximum number of cluster services. Default value: 256public Boolean getIpvs()
public void setIpvs(Boolean Ipvs)
Ipvs
- Whether IPVS is enabled. Default value: disabledpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- Cluster VPC ID, which is required when you create an empty cluster; otherwise, it is automatically set to be consistent with that of the nodes in the clusterpublic Boolean getCni()
public void setCni(Boolean Cni)
Cni
- Whether CNI is enabled for network plugin(s). Default value: enabledCopyright © 2020. All rights reserved.