public static final class ClustersTypes.NCPClusterNetworkUpdateSpec.Builder
extends java.lang.Object
ClustersTypes.NCPClusterNetworkUpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClustersTypes.NCPClusterNetworkUpdateSpec . |
Modifier and Type | Method and Description |
---|---|
ClustersTypes.NCPClusterNetworkUpdateSpec |
build() |
ClustersTypes.NCPClusterNetworkUpdateSpec.Builder |
setDefaultIngressTlsCertificate(java.lang.String defaultIngressTlsCertificate)
PEM-encoded x509 certificate used by NSX as a default fallback certificate for
Kubernetes Ingress services.
|
ClustersTypes.NCPClusterNetworkUpdateSpec.Builder |
setEgressCidrs(java.util.List<Ipv4Cidr> egressCidrs)
CIDR blocks from which NSX assigns IP addresses used for performing SNAT from
container IPs to external IPs.
|
ClustersTypes.NCPClusterNetworkUpdateSpec.Builder |
setIngressCidrs(java.util.List<Ipv4Cidr> ingressCidrs)
CIDR blocks from which NSX assigns IP addresses for Kubernetes Ingresses and
Kubernetes Services of type LoadBalancer.
|
ClustersTypes.NCPClusterNetworkUpdateSpec.Builder |
setPodCidrs(java.util.List<Ipv4Cidr> podCidrs)
CIDR blocks from which Kubernetes allocates pod IP addresses.
|
public Builder()
ClustersTypes.NCPClusterNetworkUpdateSpec
.public ClustersTypes.NCPClusterNetworkUpdateSpec.Builder setPodCidrs(java.util.List<Ipv4Cidr> podCidrs)
com.vmware.vcenter.namespace_management.EnableSpec#serviceCidr
, ClustersTypes.NCPClusterNetworkUpdateSpec.getIngressCidrs()
,
ClustersTypes.NCPClusterNetworkUpdateSpec.getEgressCidrs()
,
or other services running in the datacenter. An update operation only allows for
addition of new CIDR blocks to the existing list. All Pod CIDR blocks must be of
at least subnet size /23.
If null
, CIDRs from which Kubernetes allocates pod IP addresses will not
be modified.podCidrs
- New value for the property.public ClustersTypes.NCPClusterNetworkUpdateSpec.Builder setIngressCidrs(java.util.List<Ipv4Cidr> ingressCidrs)
ClustersTypes.NCPClusterNetworkUpdateSpec.getPodCidrs()
,
com.vmware.vcenter.namespace_management.EnableSpec#serviceCidr
, ClustersTypes.NCPClusterNetworkUpdateSpec.getEgressCidrs()
,
or other services running in the datacenter. An update operation only allows for
addition of new CIDR blocks to the existing list.
If null
, CIDRs from which Kubernetes allocates ingress IP addresses will
not be modified.ingressCidrs
- New value for the property.public ClustersTypes.NCPClusterNetworkUpdateSpec.Builder setEgressCidrs(java.util.List<Ipv4Cidr> egressCidrs)
ClustersTypes.NCPClusterNetworkUpdateSpec.getPodCidrs()
,
com.vmware.vcenter.namespace_management.EnableSpec#serviceCidr
, ClustersTypes.NCPClusterNetworkUpdateSpec.getIngressCidrs()
,
or other services running in the datacenter. An update operation only allows for
addition of new CIDR blocks to the existing list.
If null
, CIDR from which Kubernetes allocates egress IP addresses will
not be modified.egressCidrs
- New value for the property.public ClustersTypes.NCPClusterNetworkUpdateSpec.Builder setDefaultIngressTlsCertificate(java.lang.String defaultIngressTlsCertificate)
defaultIngressTlsCertificate
- New value for the property.public ClustersTypes.NCPClusterNetworkUpdateSpec build()