INPUT_OBJECT
KubernetesKindPodSpecAffinityPodAffinityInput
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
link GraphQL Schema definition
- input KubernetesKindPodSpecAffinityPodAffinityInput {
- # The weights of all of the matched WeightedPodAffinityTerm fields are added
- # per-node to find the most preferred node(s)
- KubernetesKindPodSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionInput] : [
- # Defines a set of pods (namely those matching the labelSelector relative to the
- # given namespace(s)) that this pod should be co-located (affinity) or not
- # co-located (anti-affinity) with, where co-located is defined as running on a
- # node whose value of the label with key
matches that of any node on - # which a pod of the set of pods is running
- KubernetesKindPodSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecutionInput] : [
- }