public class ClusterCIDRSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
ClusterCIDRSettings() |
ClusterCIDRSettings(ClusterCIDRSettings 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 |
getClaimExpiredSeconds()
Get Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)
|
String |
getClusterCIDR()
Get CIDR used to assign container and service IPs for the cluster.
|
String[] |
getEniSubnetIds()
Get Subnet ID of the ENI in VPC-CNI network mode
|
Boolean |
getIgnoreClusterCIDRConflict()
Get Whether to ignore ClusterCIDR conflict errors, which are not ignored by default
|
Boolean |
getIgnoreServiceCIDRConflict()
Get Whether to ignore ServiceCIDR conflict errors.
|
Long |
getMaxClusterServiceNum()
Get The maximum number of services in a cluster.
|
Long |
getMaxNodePodNum()
Get Maximum number of Pods on each node.
|
String |
getServiceCIDR()
Get The CIDR block used to assign cluster service IP addresses.
|
void |
setClaimExpiredSeconds(Long ClaimExpiredSeconds)
Set Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)
|
void |
setClusterCIDR(String ClusterCIDR)
Set CIDR used to assign container and service IPs for the cluster.
|
void |
setEniSubnetIds(String[] EniSubnetIds)
Set Subnet ID of the ENI in VPC-CNI network mode
|
void |
setIgnoreClusterCIDRConflict(Boolean IgnoreClusterCIDRConflict)
Set Whether to ignore ClusterCIDR conflict errors, which are not ignored by default
|
void |
setIgnoreServiceCIDRConflict(Boolean IgnoreServiceCIDRConflict)
Set Whether to ignore ServiceCIDR conflict errors.
|
void |
setMaxClusterServiceNum(Long MaxClusterServiceNum)
Set The maximum number of services in a cluster.
|
void |
setMaxNodePodNum(Long MaxNodePodNum)
Set Maximum number of Pods on each node.
|
void |
setServiceCIDR(String ServiceCIDR)
Set The CIDR block used to assign cluster service IP addresses.
|
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 ClusterCIDRSettings()
public ClusterCIDRSettings(ClusterCIDRSettings 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 VPCpublic Boolean getIgnoreClusterCIDRConflict()
public void setIgnoreClusterCIDRConflict(Boolean IgnoreClusterCIDRConflict)
IgnoreClusterCIDRConflict
- Whether to ignore ClusterCIDR conflict errors, which are not ignored by defaultpublic Long getMaxNodePodNum()
public void setMaxNodePodNum(Long MaxNodePodNum)
MaxNodePodNum
- Maximum number of Pods on each node. Value range: 16 to 256. When its power is not 2, it will round upward to the closest power of 2.public Long getMaxClusterServiceNum()
public void setMaxClusterServiceNum(Long MaxClusterServiceNum)
MaxClusterServiceNum
- The maximum number of services in a cluster. The range is from 32 to 32768. When its power is not 2, it will round upward to the closest power of 2. Default value is 256.public String getServiceCIDR()
public void setServiceCIDR(String ServiceCIDR)
ServiceCIDR
- The CIDR block used to assign cluster service IP addresses. It must conflict with neither the VPC CIDR block nor with CIDR blocks of other clusters in the same VPC instance. The IP range must be within the private network IP range, such as 10.1.0.0/14, 192.168.0.1/18, and 172.16.0.0/16.public String[] getEniSubnetIds()
public void setEniSubnetIds(String[] EniSubnetIds)
EniSubnetIds
- Subnet ID of the ENI in VPC-CNI network modepublic Long getClaimExpiredSeconds()
public void setClaimExpiredSeconds(Long ClaimExpiredSeconds)
ClaimExpiredSeconds
- Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)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`.Copyright © 2024. All rights reserved.