Class PreferredSchedulingTerm

    • Constructor Detail

      • PreferredSchedulingTerm

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

      • getPreference

        public NodeSelectorTerm getPreference()
        An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
      • setPreference

        public void setPreference​(NodeSelectorTerm preference)
        An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).
      • getWeight

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

        public void setWeight​(Integer weight)
        Weight associated with matching the corresponding nodeSelectorTerm, 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)