public static interface V1.AffinityOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
V1.NodeAffinity |
getNodeAffinity()
Describes node affinity scheduling rules for the pod.
|
V1.NodeAffinityOrBuilder |
getNodeAffinityOrBuilder()
Describes node affinity scheduling rules for the pod.
|
V1.PodAffinity |
getPodAffinity()
Describes pod affinity scheduling rules (e.g.
|
V1.PodAffinityOrBuilder |
getPodAffinityOrBuilder()
Describes pod affinity scheduling rules (e.g.
|
V1.PodAntiAffinity |
getPodAntiAffinity()
Describes pod anti-affinity scheduling rules (e.g.
|
V1.PodAntiAffinityOrBuilder |
getPodAntiAffinityOrBuilder()
Describes pod anti-affinity scheduling rules (e.g.
|
boolean |
hasNodeAffinity()
Describes node affinity scheduling rules for the pod.
|
boolean |
hasPodAffinity()
Describes pod affinity scheduling rules (e.g.
|
boolean |
hasPodAntiAffinity()
Describes pod anti-affinity scheduling rules (e.g.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasNodeAffinity()
Describes node affinity scheduling rules for the pod. +optional
optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
V1.NodeAffinity getNodeAffinity()
Describes node affinity scheduling rules for the pod. +optional
optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
V1.NodeAffinityOrBuilder getNodeAffinityOrBuilder()
Describes node affinity scheduling rules for the pod. +optional
optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
boolean hasPodAffinity()
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAffinity podAffinity = 2;
V1.PodAffinity getPodAffinity()
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAffinity podAffinity = 2;
V1.PodAffinityOrBuilder getPodAffinityOrBuilder()
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAffinity podAffinity = 2;
boolean hasPodAntiAffinity()
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAntiAffinity podAntiAffinity = 3;
V1.PodAntiAffinity getPodAntiAffinity()
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAntiAffinity podAntiAffinity = 3;
V1.PodAntiAffinityOrBuilder getPodAntiAffinityOrBuilder()
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAntiAffinity podAntiAffinity = 3;
Copyright © 2021. All rights reserved.