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 any global configuration used for vsphere platforms.
    See Also:
    Serialized Form
    • Method Detail

      • getApiVIP

        public String getApiVIP()
        DeprecatedAPIVIP is the virtual IP address for the api endpoint Deprecated: Use APIVIPs
      • setApiVIP

        public void setApiVIP​(String apiVIP)
        DeprecatedAPIVIP is the virtual IP address for the api endpoint Deprecated: Use APIVIPs
      • getApiVIPs

        public List<String> getApiVIPs()
        APIVIPs contains the VIP(s) for the api endpoint. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
      • setApiVIPs

        public void setApiVIPs​(List<String> apiVIPs)
        APIVIPs contains the VIP(s) for the api endpoint. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
      • getCluster

        public String getCluster()
        Cluster is the name of the cluster virtual machines will be cloned into. Deprecated: Use FailureDomains.Topology.Cluster
      • setCluster

        public void setCluster​(String cluster)
        Cluster is the name of the cluster virtual machines will be cloned into. Deprecated: Use FailureDomains.Topology.Cluster
      • getClusterOSImage

        public String getClusterOSImage()
        ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS OVA
      • setClusterOSImage

        public void setClusterOSImage​(String clusterOSImage)
        ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS OVA
      • getDatacenter

        public String getDatacenter()
        Datacenter is the name of the datacenter to use in the vCenter. Deprecated: Use FailureDomains.Topology.Datacenter
      • setDatacenter

        public void setDatacenter​(String datacenter)
        Datacenter is the name of the datacenter to use in the vCenter. Deprecated: Use FailureDomains.Topology.Datacenter
      • getDefaultDatastore

        public String getDefaultDatastore()
        DefaultDatastore is the default datastore to use for provisioning volumes. Deprecated: Use FailureDomains.Topology.Datastore
      • setDefaultDatastore

        public void setDefaultDatastore​(String defaultDatastore)
        DefaultDatastore is the default datastore to use for provisioning volumes. Deprecated: Use FailureDomains.Topology.Datastore
      • getDefaultMachinePlatform

        public MachinePool getDefaultMachinePlatform()
        Platform stores any global configuration used for vsphere platforms.
      • setDefaultMachinePlatform

        public void setDefaultMachinePlatform​(MachinePool defaultMachinePlatform)
        Platform stores any global configuration used for vsphere platforms.
      • getDiskType

        public String getDiskType()
        DiskType is the name of the disk provisioning type, valid values are thin, thick, and eagerZeroedThick. When not specified, it will be set according to the default storage policy of vsphere.
      • setDiskType

        public void setDiskType​(String diskType)
        DiskType is the name of the disk provisioning type, valid values are thin, thick, and eagerZeroedThick. When not specified, it will be set according to the default storage policy of vsphere.
      • getFailureDomains

        public List<FailureDomain> getFailureDomains()
        FailureDomains holds the VSpherePlatformFailureDomainSpec which 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<FailureDomain> failureDomains)
        FailureDomains holds the VSpherePlatformFailureDomainSpec which contains the definition of region, zone and the vCenter topology. If this is omitted failure domains (regions and zones) will not be used.
      • getFolder

        public String getFolder()
        Folder is the absolute path of the folder that will be used and/or created for virtual machines. The absolute path is of the form /<datacenter>/vm/<folder>/<subfolder>. Deprecated: Use FailureDomains.Topology.Folder
      • setFolder

        public void setFolder​(String folder)
        Folder is the absolute path of the folder that will be used and/or created for virtual machines. The absolute path is of the form /<datacenter>/vm/<folder>/<subfolder>. Deprecated: Use FailureDomains.Topology.Folder
      • getHosts

        public List<Host> getHosts()
        Hosts defines network configurations to be applied by the installer. Hosts is available in TechPreview.
      • setHosts

        public void setHosts​(List<Host> hosts)
        Hosts defines network configurations to be applied by the installer. Hosts is available in TechPreview.
      • getIngressVIP

        public String getIngressVIP()
        DeprecatedIngressVIP is the virtual IP address for ingress Deprecated: Use IngressVIPs
      • setIngressVIP

        public void setIngressVIP​(String ingressVIP)
        DeprecatedIngressVIP is the virtual IP address for ingress Deprecated: Use IngressVIPs
      • getIngressVIPs

        public List<String> getIngressVIPs()
        IngressVIPs contains the VIP(s) for ingress. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
      • setIngressVIPs

        public void setIngressVIPs​(List<String> ingressVIPs)
        IngressVIPs contains the VIP(s) for ingress. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
      • getLoadBalancer

        public io.fabric8.openshift.api.model.config.v1.VSpherePlatformLoadBalancer getLoadBalancer()
        Platform stores any global configuration used for vsphere platforms.
      • setLoadBalancer

        public void setLoadBalancer​(io.fabric8.openshift.api.model.config.v1.VSpherePlatformLoadBalancer loadBalancer)
        Platform stores any global configuration used for vsphere platforms.
      • getNetwork

        public String getNetwork()
        Network specifies the name of the network to be used by the cluster. Deprecated: Use FailureDomains.Topology.Network
      • setNetwork

        public void setNetwork​(String network)
        Network specifies the name of the network to be used by the cluster. Deprecated: Use FailureDomains.Topology.Network
      • getNodeNetworking

        public io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking getNodeNetworking()
        Platform stores any global configuration used for vsphere platforms.
      • setNodeNetworking

        public void setNodeNetworking​(io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking nodeNetworking)
        Platform stores any global configuration used for vsphere platforms.
      • getPassword

        public String getPassword()
        Password is the password for the user to use to connect to the vCenter. Deprecated: Use VCenters.Password
      • setPassword

        public void setPassword​(String password)
        Password is the password for the user to use to connect to the vCenter. Deprecated: Use VCenters.Password
      • getResourcePool

        public String getResourcePool()
        ResourcePool is the absolute path of the resource pool where virtual machines will be created. The absolute path is of the form /<datacenter>/host/<cluster>/Resources/<resourcepool>. Deprecated: Use FailureDomains.Topology.ResourcePool
      • setResourcePool

        public void setResourcePool​(String resourcePool)
        ResourcePool is the absolute path of the resource pool where virtual machines will be created. The absolute path is of the form /<datacenter>/host/<cluster>/Resources/<resourcepool>. Deprecated: Use FailureDomains.Topology.ResourcePool
      • getUsername

        public String getUsername()
        Username is the name of the user to use to connect to the vCenter. Deprecated: Use VCenters.Username
      • setUsername

        public void setUsername​(String username)
        Username is the name of the user to use to connect to the vCenter. Deprecated: Use VCenters.Username
      • getVCenter

        public String getVCenter()
        VCenter is the domain name or IP address of the vCenter. Deprecated: Use VCenters.Server
      • setVCenter

        public void setVCenter​(String vCenter)
        VCenter is the domain name or IP address of the vCenter. Deprecated: Use VCenters.Server
      • getVcenters

        public List<VCenter> getVcenters()
        VCenters holds the connection details for services to communicate with vCenter.
      • setVcenters

        public void setVcenters​(List<VCenter> vcenters)
        VCenters holds the connection details for services to communicate with vCenter.
      • getAdditionalProperties

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

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

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