Interface V1.AffinityOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.Affinity, V1.Affinity.Builder
Enclosing class:
V1

public static interface V1.AffinityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasNodeAffinity

      boolean hasNodeAffinity()
       Describes node affinity scheduling rules for the pod.
       +optional
       
      optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
    • getNodeAffinity

      V1.NodeAffinity getNodeAffinity()
       Describes node affinity scheduling rules for the pod.
       +optional
       
      optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
    • getNodeAffinityOrBuilder

      V1.NodeAffinityOrBuilder getNodeAffinityOrBuilder()
       Describes node affinity scheduling rules for the pod.
       +optional
       
      optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
    • hasPodAffinity

      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;
    • getPodAffinity

      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;
    • getPodAffinityOrBuilder

      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;
    • hasPodAntiAffinity

      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;
    • getPodAntiAffinity

      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;
    • getPodAntiAffinityOrBuilder

      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;