Class ClusterNetworkEntry

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ClusterNetworkEntry
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ClusterNetworkEntryBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterNetworkEntry

        public ClusterNetworkEntry()
        No args constructor for use in serialization
      • ClusterNetworkEntry

        public ClusterNetworkEntry​(String cidr,
                                   Long hostPrefix)
    • Method Detail

      • getCidr

        public String getCidr()
        ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
      • setCidr

        public void setCidr​(String cidr)
        ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
      • getHostPrefix

        public Long getHostPrefix()
        ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
      • setHostPrefix

        public void setHostPrefix​(Long hostPrefix)
        ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
      • getAdditionalProperties

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

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

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