Affinity Schema¶
Note
This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.
Return to the root config schema
https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/v0.39.2/config/schemas/config.yaml#/properties/externalDns/properties/affinity
Affinity is a group of affinity scheduling rules.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | config/schemas/config.yaml* |
TYPE:
object
(Affinity)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
nodeAffinity | Merged | Optional | cannot be null | Compliant Kubernetes Apps Config |
podAffinity | Merged | Optional | cannot be null | Compliant Kubernetes Apps Config |
podAntiAffinity | Merged | Optional | cannot be null | Compliant Kubernetes Apps Config |
nodeAffinity¶
Describes node affinity scheduling rules for the pod.
nodeAffinity
-
is optional
-
Type: merged type (Details)
-
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
merged type (Details)
all of
podAffinity¶
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
podAffinity
-
is optional
-
Type: merged type (Details)
-
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
merged type (Details)
all of
podAntiAffinity¶
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
podAntiAffinity
-
is optional
-
Type: merged type (Details)
-
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
merged type (Details)
all of
Return to the root config schema
Generated Thu Nov 14 16:14:40 UTC 2024 from elastisys/compliantkubernetes-apps@v0.39.2