Class Platform

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Platform
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Platform stores all the global configuration that all machinesets use.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PlatformBuilder edit()  
      Map<String,​Object> getAdditionalProperties()  
      String getApiFloatingIP()
      APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.
      String getApiVIP()
      DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPs
      List<String> getApiVIPs()
      APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned.
      String getCloud()
      Cloud is the name of OpenStack cloud to use from clouds.yaml.
      String getClusterOSImage()
      ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.
      Map<String,​String> getClusterOSImageProperties()
      ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage.
      String getComputeFlavor()
      DeprecatedFlavorName is the name of the flavor to use for instances in this cluster.
      PortTarget getControlPlanePort()
      Platform stores all the global configuration that all machinesets use.
      MachinePool getDefaultMachinePlatform()
      Platform stores all the global configuration that all machinesets use.
      List<String> getExternalDNS()
      ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.
      String getExternalNetwork()
      ExternalNetwork is name of the external network in your OpenStack cluster.
      String getIngressFloatingIP()
      IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress port
      String getIngressVIP()
      DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPs
      List<String> getIngressVIPs()
      IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned.
      String getLbFloatingIP()
      LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer.
      io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer getLoadBalancer()
      Platform stores all the global configuration that all machinesets use.
      String getMachinesSubnet()
      DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet.
      String getOctaviaSupport()
      OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing.
      String getRegion()
      Region specifies the OpenStack region where the cluster will be created.
      String getTrunkSupport()
      TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster.
      void setAdditionalProperties​(Map<String,​Object> additionalProperties)  
      void setAdditionalProperty​(String name, Object value)  
      void setApiFloatingIP​(String apiFloatingIP)
      APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.
      void setApiVIP​(String apiVIP)
      DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPs
      void setApiVIPs​(List<String> apiVIPs)
      APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned.
      void setCloud​(String cloud)
      Cloud is the name of OpenStack cloud to use from clouds.yaml.
      void setClusterOSImage​(String clusterOSImage)
      ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.
      void setClusterOSImageProperties​(Map<String,​String> clusterOSImageProperties)
      ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage.
      void setComputeFlavor​(String computeFlavor)
      DeprecatedFlavorName is the name of the flavor to use for instances in this cluster.
      void setControlPlanePort​(PortTarget controlPlanePort)
      Platform stores all the global configuration that all machinesets use.
      void setDefaultMachinePlatform​(MachinePool defaultMachinePlatform)
      Platform stores all the global configuration that all machinesets use.
      void setExternalDNS​(List<String> externalDNS)
      ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.
      void setExternalNetwork​(String externalNetwork)
      ExternalNetwork is name of the external network in your OpenStack cluster.
      void setIngressFloatingIP​(String ingressFloatingIP)
      IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress port
      void setIngressVIP​(String ingressVIP)
      DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPs
      void setIngressVIPs​(List<String> ingressVIPs)
      IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned.
      void setLbFloatingIP​(String lbFloatingIP)
      LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer.
      void setLoadBalancer​(io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer loadBalancer)
      Platform stores all the global configuration that all machinesets use.
      void setMachinesSubnet​(String machinesSubnet)
      DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet.
      void setOctaviaSupport​(String octaviaSupport)
      OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing.
      void setRegion​(String region)
      Region specifies the OpenStack region where the cluster will be created.
      void setTrunkSupport​(String trunkSupport)
      TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster.
      PlatformBuilder toBuilder()  
    • Method Detail

      • getApiFloatingIP

        public String getApiFloatingIP()
        APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.
      • setApiFloatingIP

        public void setApiFloatingIP​(String apiFloatingIP)
        APIFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift API load balancer.
      • getApiVIP

        public String getApiVIP()
        DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPs
      • setApiVIP

        public void setApiVIP​(String apiVIP)
        DeprecatedAPIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned Default: will be set to the 5 on the first entry in the machineNetwork CIDR Deprecated: Use APIVIPs
      • getApiVIPs

        public List<String> getApiVIPs()
        APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 5 on the first entry in the machineNetwork CIDR
      • setApiVIPs

        public void setApiVIPs​(List<String> apiVIPs)
        APIVIPs contains the VIP(s) on the nodes subnet that the api port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 5 on the first entry in the machineNetwork CIDR
      • getCloud

        public String getCloud()
        Cloud is the name of OpenStack cloud to use from clouds.yaml.
      • setCloud

        public void setCloud​(String cloud)
        Cloud is the name of OpenStack cloud to use from clouds.yaml.
      • getClusterOSImage

        public String getClusterOSImage()
        ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.
      • setClusterOSImage

        public void setClusterOSImage​(String clusterOSImage)
        ClusterOSImage is either a URL with `http(s)` or `file` scheme to override the default OS image for cluster nodes, or an existing Glance image name.
      • getClusterOSImageProperties

        public Map<String,​String> getClusterOSImageProperties()
        ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage. Default: the default is to not set any properties.
      • setClusterOSImageProperties

        public void setClusterOSImageProperties​(Map<String,​String> clusterOSImageProperties)
        ClusterOSImageProperties is a list of properties to be added to the metadata of the uploaded Glance ClusterOSImage. Default: the default is to not set any properties.
      • getComputeFlavor

        public String getComputeFlavor()
        DeprecatedFlavorName is the name of the flavor to use for instances in this cluster. Deprecated: use FlavorName in DefaultMachinePlatform to define default flavor.
      • setComputeFlavor

        public void setComputeFlavor​(String computeFlavor)
        DeprecatedFlavorName is the name of the flavor to use for instances in this cluster. Deprecated: use FlavorName in DefaultMachinePlatform to define default flavor.
      • getControlPlanePort

        public PortTarget getControlPlanePort()
        Platform stores all the global configuration that all machinesets use.
      • setControlPlanePort

        public void setControlPlanePort​(PortTarget controlPlanePort)
        Platform stores all the global configuration that all machinesets use.
      • getDefaultMachinePlatform

        public MachinePool getDefaultMachinePlatform()
        Platform stores all the global configuration that all machinesets use.
      • setDefaultMachinePlatform

        public void setDefaultMachinePlatform​(MachinePool defaultMachinePlatform)
        Platform stores all the global configuration that all machinesets use.
      • getExternalDNS

        public List<String> getExternalDNS()
        ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.
      • setExternalDNS

        public void setExternalDNS​(List<String> externalDNS)
        ExternalDNS holds the IP addresses of dns servers that will be added to the dns resolution of all instances in the cluster.
      • getExternalNetwork

        public String getExternalNetwork()
        ExternalNetwork is name of the external network in your OpenStack cluster.
      • setExternalNetwork

        public void setExternalNetwork​(String externalNetwork)
        ExternalNetwork is name of the external network in your OpenStack cluster.
      • getIngressFloatingIP

        public String getIngressFloatingIP()
        IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress port
      • setIngressFloatingIP

        public void setIngressFloatingIP​(String ingressFloatingIP)
        IngressFloatingIP is the ID of an available floating IP in your OpenStack cluster that will be associated with the OpenShift ingress port
      • getIngressVIP

        public String getIngressVIP()
        DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPs
      • setIngressVIP

        public void setIngressVIP​(String ingressVIP)
        DeprecatedIngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned Default: will be set to the 7 on the first entry in the machineNetwork CIDR Deprecated: Use IngressVIPs
      • getIngressVIPs

        public List<String> getIngressVIPs()
        IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 7 on the first entry in the machineNetwork CIDR
      • setIngressVIPs

        public void setIngressVIPs​(List<String> ingressVIPs)
        IngressVIPs contains the VIP(s) on the nodes subnet that the apps port for openshift will be assigned. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP Default: will be set to the 7 on the first entry in the machineNetwork CIDR
      • getLbFloatingIP

        public String getLbFloatingIP()
        LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer. Deprecated: this value has been renamed to apiFloatingIP.
      • setLbFloatingIP

        public void setLbFloatingIP​(String lbFloatingIP)
        LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster to associate with the OpenShift load balancer. Deprecated: this value has been renamed to apiFloatingIP.
      • getLoadBalancer

        public io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer getLoadBalancer()
        Platform stores all the global configuration that all machinesets use.
      • setLoadBalancer

        public void setLoadBalancer​(io.fabric8.openshift.api.model.config.v1.OpenStackPlatformLoadBalancer loadBalancer)
        Platform stores all the global configuration that all machinesets use.
      • getMachinesSubnet

        public String getMachinesSubnet()
        DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet. This subnet will be used by all nodes created by the installer. By setting this, the installer will no longer create a network and subnet. The subnet and network specified in MachinesSubnet will not be deleted or modified by the installer. Deprecated: Use ControlPlanePort
      • setMachinesSubnet

        public void setMachinesSubnet​(String machinesSubnet)
        DeprecatedMachinesSubnet is a string of the UUIDv4 of an openstack subnet. This subnet will be used by all nodes created by the installer. By setting this, the installer will no longer create a network and subnet. The subnet and network specified in MachinesSubnet will not be deleted or modified by the installer. Deprecated: Use ControlPlanePort
      • getOctaviaSupport

        public String getOctaviaSupport()
        OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing. Deprecated: this value is set by the installer automatically.
      • setOctaviaSupport

        public void setOctaviaSupport​(String octaviaSupport)
        OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack cluster supports Octavia Loadbalancing. Deprecated: this value is set by the installer automatically.
      • getRegion

        public String getRegion()
        Region specifies the OpenStack region where the cluster will be created. Deprecated: this value is not used by the installer.
      • setRegion

        public void setRegion​(String region)
        Region specifies the OpenStack region where the cluster will be created. Deprecated: this value is not used by the installer.
      • getTrunkSupport

        public String getTrunkSupport()
        TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster. Deprecated: the machine manifest should be used to specify that trunk should be used.
      • setTrunkSupport

        public void setTrunkSupport​(String trunkSupport)
        TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports in your OpenShift cluster. Deprecated: the machine manifest should be used to specify that trunk should be used.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)