Class NetworkSpec

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class NetworkSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NetworkSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    NetworkSpec is the desired network configuration. As a general rule, this SHOULD NOT be read directly. Instead, you should consume the NetworkStatus, as it indicates the currently deployed configuration. Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.
    See Also:
    Serialized Form
    • Method Detail

      • getClusterNetwork

        public List<ClusterNetworkEntry> getClusterNetwork()
        IP address pool to use for pod IPs. This field is immutable after installation.
      • setClusterNetwork

        public void setClusterNetwork​(List<ClusterNetworkEntry> clusterNetwork)
        IP address pool to use for pod IPs. This field is immutable after installation.
      • getExternalIP

        public ExternalIPConfig getExternalIP()
        NetworkSpec is the desired network configuration. As a general rule, this SHOULD NOT be read directly. Instead, you should consume the NetworkStatus, as it indicates the currently deployed configuration. Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.
      • setExternalIP

        public void setExternalIP​(ExternalIPConfig externalIP)
        NetworkSpec is the desired network configuration. As a general rule, this SHOULD NOT be read directly. Instead, you should consume the NetworkStatus, as it indicates the currently deployed configuration. Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.
      • getNetworkDiagnostics

        public NetworkDiagnostics getNetworkDiagnostics()
        NetworkSpec is the desired network configuration. As a general rule, this SHOULD NOT be read directly. Instead, you should consume the NetworkStatus, as it indicates the currently deployed configuration. Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.
      • setNetworkDiagnostics

        public void setNetworkDiagnostics​(NetworkDiagnostics networkDiagnostics)
        NetworkSpec is the desired network configuration. As a general rule, this SHOULD NOT be read directly. Instead, you should consume the NetworkStatus, as it indicates the currently deployed configuration. Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.
      • getNetworkType

        public String getNetworkType()
        networkType is the plugin that is to be deployed (e.g. OVNKubernetes). This should match a value that the cluster-network-operator understands, or else no networking will be installed. Currently supported values are: - OVNKubernetes This field is immutable after installation.
      • setNetworkType

        public void setNetworkType​(String networkType)
        networkType is the plugin that is to be deployed (e.g. OVNKubernetes). This should match a value that the cluster-network-operator understands, or else no networking will be installed. Currently supported values are: - OVNKubernetes This field is immutable after installation.
      • getServiceNetwork

        public List<String> getServiceNetwork()
        IP address pool for services. Currently, we only support a single entry here. This field is immutable after installation.
      • setServiceNetwork

        public void setServiceNetwork​(List<String> serviceNetwork)
        IP address pool for services. Currently, we only support a single entry here. This field is immutable after installation.
      • getServiceNodePortRange

        public String getServiceNodePortRange()
        The port range allowed for Services of type NodePort. If not specified, the default of 30000-32767 will be used. Such Services without a NodePort specified will have one automatically allocated from this range. This parameter can be updated after the cluster is installed.
      • setServiceNodePortRange

        public void setServiceNodePortRange​(String serviceNodePortRange)
        The port range allowed for Services of type NodePort. If not specified, the default of 30000-32767 will be used. Such Services without a NodePort specified will have one automatically allocated from this range. This parameter can be updated after the cluster is installed.
      • getAdditionalProperties

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

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

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