Class DNSNodePlacement

    • Constructor Detail

      • DNSNodePlacement

        public DNSNodePlacement()
        No args constructor for use in serialization
    • Method Detail

      • getNodeSelector

        public Map<String,​String> getNodeSelector()
        nodeSelector is the node selector applied to DNS pods.


        If empty, the default is used, which is currently the following:


        kubernetes.io/os: linux


        This default is subject to change.


        If set, the specified selector is used and replaces the default.

      • setNodeSelector

        public void setNodeSelector​(Map<String,​String> nodeSelector)
        nodeSelector is the node selector applied to DNS pods.


        If empty, the default is used, which is currently the following:


        kubernetes.io/os: linux


        This default is subject to change.


        If set, the specified selector is used and replaces the default.

      • getTolerations

        public List<Toleration> getTolerations()
        tolerations is a list of tolerations applied to DNS pods.


        If empty, the DNS operator sets a toleration for the "node-role.kubernetes.io/master" taint. This default is subject to change. Specifying tolerations without including a toleration for the "node-role.kubernetes.io/master" taint may be risky as it could lead to an outage if all worker nodes become unavailable.


        Note that the daemon controller adds some tolerations as well. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

      • setTolerations

        public void setTolerations​(List<Toleration> tolerations)
        tolerations is a list of tolerations applied to DNS pods.


        If empty, the DNS operator sets a toleration for the "node-role.kubernetes.io/master" taint. This default is subject to change. Specifying tolerations without including a toleration for the "node-role.kubernetes.io/master" taint may be risky as it could lead to an outage if all worker nodes become unavailable.


        Note that the daemon controller adds some tolerations as well. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

      • getAdditionalProperties

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

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

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