Interface Affinity

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

    @Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)",
               date="2022-09-13T15:58:19.751Z")
    @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)).