Class WeightedPodAffinityTerm

    • Constructor Detail

      • WeightedPodAffinityTerm

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

        public WeightedPodAffinityTerm​(PodAffinityTerm podAffinityTerm,
                                       Integer weight)
    • Method Detail

      • getPodAffinityTerm

        public PodAffinityTerm getPodAffinityTerm()
        The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
      • setPodAffinityTerm

        public void setPodAffinityTerm​(PodAffinityTerm podAffinityTerm)
        The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
      • getWeight

        public Integer getWeight()
        weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
      • setWeight

        public void setWeight​(Integer weight)
        weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
      • getAdditionalProperties

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

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

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