public class ClusterNetworkSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
ClusterNetworkSettings() |
ClusterNetworkSettings(ClusterNetworkSettings 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 |
getCiliumMode()
Get Cluster Cilium Mode configuration
- clusterIP
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 |
getIgnoreServiceCIDRConflict()
Get Whether to ignore ServiceCIDR conflict errors.
|
String |
getIpv6ServiceCIDR()
Get It is used to automatically assign the IP ranges for the service.
|
Boolean |
getIpvs()
Get Whether IPVS is enabled.
|
Boolean |
getIsDualStack()
Get Whether it is a dual-stack cluster in VPC-CNI mode.
|
String |
getKubeProxyMode()
Get The network mode of service.
|
Long |
getMaxClusterServiceNum()
Get Maximum number of cluster services.
|
Long |
getMaxNodePodNum()
Get Maximum number of pods on each node in the cluster.
|
String |
getServiceCIDR()
Get The IP range for service assignment.
|
String[] |
getSubnets()
Get The container subnet associated with the cluster
Note: this field may return `null`, indicating that no valid value can be obtained.
|
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 |
setCiliumMode(String CiliumMode)
Set Cluster Cilium Mode configuration
- clusterIP
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 |
setIgnoreServiceCIDRConflict(Boolean IgnoreServiceCIDRConflict)
Set Whether to ignore ServiceCIDR conflict errors.
|
void |
setIpv6ServiceCIDR(String Ipv6ServiceCIDR)
Set It is used to automatically assign the IP ranges for the service.
|
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 |
setKubeProxyMode(String KubeProxyMode)
Set The network mode of service.
|
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 |
setServiceCIDR(String ServiceCIDR)
Set The IP range for service assignment.
|
void |
setSubnets(String[] Subnets)
Set The container subnet associated with the cluster
Note: this field may return `null`, indicating that no valid value can be obtained.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ClusterNetworkSettings()
public ClusterNetworkSettings(ClusterNetworkSettings source)
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: enabledpublic String getKubeProxyMode()
public void setKubeProxyMode(String KubeProxyMode)
KubeProxyMode
- The network mode of service. This parameter is only applicable to ipvs+bpf mode.
Note: this field may return `null`, indicating that no valid value can be obtained.public String getServiceCIDR()
public void setServiceCIDR(String ServiceCIDR)
ServiceCIDR
- The IP range for service assignment. It cannot conflict with the VPC’s CIDR block nor the CIDR blocks of other clusters in the same VPC.
Note: this field may return `null`, indicating that no valid value can be obtained.public String[] getSubnets()
public void setSubnets(String[] Subnets)
Subnets
- The container subnet associated with the cluster
Note: this field may return `null`, indicating that no valid value can be obtained.public Boolean getIgnoreServiceCIDRConflict()
public void setIgnoreServiceCIDRConflict(Boolean IgnoreServiceCIDRConflict)
IgnoreServiceCIDRConflict
- Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`.
Note: This field may return `null`, indicating that no valid value can be obtained.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.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getIpv6ServiceCIDR()
public void setIpv6ServiceCIDR(String Ipv6ServiceCIDR)
Ipv6ServiceCIDR
- It is used to automatically assign the IP ranges for the service.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getCiliumMode()
public void setCiliumMode(String CiliumMode)
CiliumMode
- Cluster Cilium Mode configuration
- clusterIP
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.