Class OpenStackPlatformSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.OpenStackPlatformSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<OpenStackPlatformSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class OpenStackPlatformSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<OpenStackPlatformSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
OpenStackPlatformSpec holds the desired state of the OpenStack infrastructure provider. This only includes fields that can be modified in the cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenStackPlatformSpec()No args constructor for use in serializationOpenStackPlatformSpec(List<String> apiServerInternalIPs, List<String> ingressIPs, List<String> machineNetworks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenStackPlatformSpecBuilderedit()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<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.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.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.OpenStackPlatformSpecBuildertoBuilder()
-
-
-
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).
-
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".
-
edit
public OpenStackPlatformSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OpenStackPlatformSpecBuilder>
-
toBuilder
public OpenStackPlatformSpecBuilder toBuilder()
-
-