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 defines an individual cluster network. The CIDRs cannot overlap with other cluster network CIDRs, CIDRs reserved for external ips, CIDRs reserved for service networks, and CIDRs reserved for ingress ips.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterNetworkEntry

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

        public ClusterNetworkEntry​(String cIDR,
                                   Long hostSubnetLength)
    • Method Detail

      • getCIDR

        public String getCIDR()
        CIDR defines the total range of a cluster networks address space.
      • setCIDR

        public void setCIDR​(String cIDR)
        CIDR defines the total range of a cluster networks address space.
      • getHostSubnetLength

        public Long getHostSubnetLength()
        hostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.
      • setHostSubnetLength

        public void setHostSubnetLength​(Long hostSubnetLength)
        hostSubnetLength is the number of bits of the accompanying CIDR address to allocate to each node. eg, 8 would mean that each node would have a /24 slice of the overlay network for its pods.
      • getAdditionalProperties

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

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

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