Class Networking

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Networking
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NetworkingBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Networking defines the pod network provider in the cluster.
    See Also:
    Serialized Form
    • Method Detail

      • getClusterNetwork

        public List<ClusterNetworkEntry> getClusterNetwork()
        ClusterNetwork is the list of IP address pools for pods. Default is 10.128.0.0/14 and a host prefix of /23.
      • setClusterNetwork

        public void setClusterNetwork​(List<ClusterNetworkEntry> clusterNetwork)
        ClusterNetwork is the list of IP address pools for pods. Default is 10.128.0.0/14 and a host prefix of /23.
      • getClusterNetworkMTU

        public Long getClusterNetworkMTU()
        ClusterNetworkMTU is the Maximum Transmit (MTU) Unit size in bytes to allocate to the cluster network. For example, 1200 would set the MTU of the entire overlay network. If the deployment does not require changes in the network plugin, leave it unset and the MTU will be calculated automatically based on the host network MTU.
      • setClusterNetworkMTU

        public void setClusterNetworkMTU​(Long clusterNetworkMTU)
        ClusterNetworkMTU is the Maximum Transmit (MTU) Unit size in bytes to allocate to the cluster network. For example, 1200 would set the MTU of the entire overlay network. If the deployment does not require changes in the network plugin, leave it unset and the MTU will be calculated automatically based on the host network MTU.
      • setClusterNetworks

        public void setClusterNetworks​(List<ClusterNetworkEntry> clusterNetworkList)
        Deprecated name for ClusterNetwork
      • getMachineCIDR

        public String getMachineCIDR()
        Networking defines the pod network provider in the cluster.
      • setMachineCIDR

        public void setMachineCIDR​(String machineCIDR)
        Networking defines the pod network provider in the cluster.
      • getMachineNetwork

        public List<MachineNetworkEntry> getMachineNetwork()
        MachineNetwork is the list of IP address pools for machines. This field replaces MachineCIDR, and if set MachineCIDR must be empty or match the first entry in the list. Default is 10.0.0.0/16 for all platforms other than Power VS. For Power VS, the default is 192.168.0.0/24.
      • setMachineNetwork

        public void setMachineNetwork​(List<MachineNetworkEntry> machineNetwork)
        MachineNetwork is the list of IP address pools for machines. This field replaces MachineCIDR, and if set MachineCIDR must be empty or match the first entry in the list. Default is 10.0.0.0/16 for all platforms other than Power VS. For Power VS, the default is 192.168.0.0/24.
      • getNetworkType

        public String getNetworkType()
        NetworkType is the type of network to install. The default value is OVNKubernetes.
      • setNetworkType

        public void setNetworkType​(String networkType)
        NetworkType is the type of network to install. The default value is OVNKubernetes.
      • getOvnKubernetesConfig

        public OVNKubernetesConfig getOvnKubernetesConfig()
        Networking defines the pod network provider in the cluster.
      • setOvnKubernetesConfig

        public void setOvnKubernetesConfig​(OVNKubernetesConfig ovnKubernetesConfig)
        Networking defines the pod network provider in the cluster.
      • getServiceCIDR

        public String getServiceCIDR()
        Networking defines the pod network provider in the cluster.
      • setServiceCIDR

        public void setServiceCIDR​(String serviceCIDR)
        Networking defines the pod network provider in the cluster.
      • getServiceNetwork

        public List<String> getServiceNetwork()
        ServiceNetwork is the list of IP address pools for services. Default is 172.30.0.0/16. NOTE: currently only one entry is supported.
      • setServiceNetwork

        public void setServiceNetwork​(List<String> serviceNetwork)
        ServiceNetwork is the list of IP address pools for services. Default is 172.30.0.0/16. NOTE: currently only one entry is supported.
      • getType

        public String getType()
        Deprecated name for NetworkType
      • setType

        public void setType​(String type)
        Deprecated name for NetworkType
      • getAdditionalProperties

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

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

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