Class VSpherePlatformSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.VSpherePlatformSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VSpherePlatformSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VSpherePlatformSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<VSpherePlatformSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VSpherePlatformSpec holds the desired state of the vSphere infrastructure provider. In the future the cloud provider operator, storage operator and machine operator will use these fields for configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VSpherePlatformSpec()No args constructor for use in serializationVSpherePlatformSpec(List<String> apiServerInternalIPs, List<VSpherePlatformFailureDomainSpec> failureDomains, List<String> ingressIPs, List<String> machineNetworks, VSpherePlatformNodeNetworking nodeNetworking, List<VSpherePlatformVCenterSpec> vcenters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VSpherePlatformSpecBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getApiServerInternalIPs()apiServerInternalIPs are the IP addresses to contact the Kubernetes API server that can be used by components inside the cluster, like kubelets using the infrastructure rather than Kubernetes networking.List<VSpherePlatformFailureDomainSpec>getFailureDomains()failureDomains contains the definition of region, zone and the vCenter topology.List<String>getIngressIPs()ingressIPs are the external IPs which route to the default ingress controller.List<String>getMachineNetworks()machineNetworks are IP networks used to connect all the OpenShift cluster nodes.VSpherePlatformNodeNetworkinggetNodeNetworking()VSpherePlatformSpec holds the desired state of the vSphere infrastructure provider.List<VSpherePlatformVCenterSpec>getVcenters()vcenters holds the connection details for services to communicate with vCenter.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiServerInternalIPs(List<String> apiServerInternalIPs)apiServerInternalIPs are the IP addresses to contact the Kubernetes API server that can be used by components inside the cluster, like kubelets using the infrastructure rather than Kubernetes networking.voidsetFailureDomains(List<VSpherePlatformFailureDomainSpec> failureDomains)failureDomains contains the definition of region, zone and the vCenter topology.voidsetIngressIPs(List<String> ingressIPs)ingressIPs are the external IPs which route to the default ingress controller.voidsetMachineNetworks(List<String> machineNetworks)machineNetworks are IP networks used to connect all the OpenShift cluster nodes.voidsetNodeNetworking(VSpherePlatformNodeNetworking nodeNetworking)VSpherePlatformSpec holds the desired state of the vSphere infrastructure provider.voidsetVcenters(List<VSpherePlatformVCenterSpec> vcenters)vcenters holds the connection details for services to communicate with vCenter.VSpherePlatformSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
VSpherePlatformSpec
public VSpherePlatformSpec()
No args constructor for use in serialization
-
VSpherePlatformSpec
public VSpherePlatformSpec(List<String> apiServerInternalIPs, List<VSpherePlatformFailureDomainSpec> failureDomains, List<String> ingressIPs, List<String> machineNetworks, VSpherePlatformNodeNetworking nodeNetworking, List<VSpherePlatformVCenterSpec> vcenters)
-
-
Method Detail
-
getApiServerInternalIPs
public List<String> getApiServerInternalIPs()
apiServerInternalIPs are the IP addresses to contact the Kubernetes API server that can be used by components inside the cluster, like kubelets using the infrastructure rather than Kubernetes networking. These are the IPs for a self-hosted load balancer in front of the API servers. In dual stack clusters this list contains two IP addresses, one from IPv4 family and one from IPv6. In single stack clusters a single IP address is expected. When omitted, values from the status.apiServerInternalIPs will be used. Once set, the list cannot be completely removed (but its second entry can).
-
setApiServerInternalIPs
public void setApiServerInternalIPs(List<String> apiServerInternalIPs)
apiServerInternalIPs are the IP addresses to contact the Kubernetes API server that can be used by components inside the cluster, like kubelets using the infrastructure rather than Kubernetes networking. These are the IPs for a self-hosted load balancer in front of the API servers. In dual stack clusters this list contains two IP addresses, one from IPv4 family and one from IPv6. In single stack clusters a single IP address is expected. When omitted, values from the status.apiServerInternalIPs will be used. Once set, the list cannot be completely removed (but its second entry can).
-
getFailureDomains
public List<VSpherePlatformFailureDomainSpec> getFailureDomains()
failureDomains contains the definition of region, zone and the vCenter topology. If this is omitted failure domains (regions and zones) will not be used.
-
setFailureDomains
public void setFailureDomains(List<VSpherePlatformFailureDomainSpec> failureDomains)
failureDomains contains the definition of region, zone and the vCenter topology. If this is omitted failure domains (regions and zones) will not be used.
-
getIngressIPs
public List<String> getIngressIPs()
ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IP addresses, one from IPv4 family and one from IPv6. In single stack clusters a single IP address is expected. When omitted, values from the status.ingressIPs will be used. Once set, the list cannot be completely removed (but its second entry can).
-
setIngressIPs
public void setIngressIPs(List<String> ingressIPs)
ingressIPs are the external IPs which route to the default ingress controller. The IPs are suitable targets of a wildcard DNS record used to resolve default route host names. In dual stack clusters this list contains two IP addresses, one from IPv4 family and one from IPv6. In single stack clusters a single IP address is expected. When omitted, values from the status.ingressIPs will be used. Once set, the list cannot be completely removed (but its second entry can).
-
getMachineNetworks
public List<String> getMachineNetworks()
machineNetworks are IP networks used to connect all the OpenShift cluster nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, for example "10.0.0.0/8" or "fd00::/8".
-
setMachineNetworks
public void setMachineNetworks(List<String> machineNetworks)
machineNetworks are IP networks used to connect all the OpenShift cluster nodes. Each network is provided in the CIDR format and should be IPv4 or IPv6, for example "10.0.0.0/8" or "fd00::/8".
-
getNodeNetworking
public VSpherePlatformNodeNetworking getNodeNetworking()
VSpherePlatformSpec holds the desired state of the vSphere infrastructure provider. In the future the cloud provider operator, storage operator and machine operator will use these fields for configuration.
-
setNodeNetworking
public void setNodeNetworking(VSpherePlatformNodeNetworking nodeNetworking)
VSpherePlatformSpec holds the desired state of the vSphere infrastructure provider. In the future the cloud provider operator, storage operator and machine operator will use these fields for configuration.
-
getVcenters
public List<VSpherePlatformVCenterSpec> getVcenters()
vcenters holds the connection details for services to communicate with vCenter. Currently, only a single vCenter is supported, but in tech preview 3 vCenters are supported. Once the cluster has been installed, you are unable to change the current number of defined vCenters except in the case where the cluster has been upgraded from a version of OpenShift where the vsphere platform spec was not present. You may make modifications to the existing vCenters that are defined in the vcenters list in order to match with any added or modified failure domains.
-
setVcenters
public void setVcenters(List<VSpherePlatformVCenterSpec> vcenters)
vcenters holds the connection details for services to communicate with vCenter. Currently, only a single vCenter is supported, but in tech preview 3 vCenters are supported. Once the cluster has been installed, you are unable to change the current number of defined vCenters except in the case where the cluster has been upgraded from a version of OpenShift where the vsphere platform spec was not present. You may make modifications to the existing vCenters that are defined in the vcenters list in order to match with any added or modified failure domains.
-
edit
public VSpherePlatformSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VSpherePlatformSpecBuilder>
-
toBuilder
public VSpherePlatformSpecBuilder toBuilder()
-
-