WeightedPodAffinityTerm class
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
Constructors
-
WeightedPodAffinityTerm({required Input<
PodAffinityTerm> podAffinityTerm, required Input<int> weight}) -
Creates a new WeightedPodAffinityTerm.
podAffinityTermRequired. A pod affinity term, associated with the corresponding weight.weightweight associated with matching the corresponding podAffinityTerm, in the range 1-100.const -
WeightedPodAffinityTerm.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
podAffinityTerm
→ Input<
PodAffinityTerm> -
Required. A pod affinity term, associated with the corresponding weight.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weight
→ Input<
int> -
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited