Interface Affinity

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    Affinity.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)",
               date="2023-05-25T02:26:40.717Z")
    @Stability(Stable)
    public interface Affinity
    extends software.amazon.jsii.JsiiSerializable
    Affinity is a group of affinity scheduling rules.
    • Method Detail

      • getNodeAffinity

        @Stability(Stable)
        @Nullable
        default NodeAffinity getNodeAffinity()
        Describes node affinity scheduling rules for the pod.
      • getPodAffinity

        @Stability(Stable)
        @Nullable
        default PodAffinity getPodAffinity()
        Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
      • getPodAntiAffinity

        @Stability(Stable)
        @Nullable
        default 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)).