Skip to content

WeightedPodAffinityTerm 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/main/config/schemas/config.yaml#/$defs/io.k8s.api.core.v1.WeightedPodAffinityTerm

The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

Imported from Kubernetes project

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 (WeightedPodAffinityTerm)

PROPERTIES:

Property Type Required Nullable Defined by
podAffinityTerm Merged Required cannot be null Welkin Apps Config
weight integer Required cannot be null Welkin Apps Config

podAffinityTerm

Required. A pod affinity term, associated with the corresponding weight.

podAffinityTerm

TYPE:

merged type (Details)

all of

DEFAULTS:

The default value is:

{}

weight

weight associated with matching the corresponding podAffinityTerm, in the range 1-100.

weight

TYPE:

integer

CONSTRAINTS:

unknown format: the value of this string must follow the format: int32

Return to the root config schema


Generated Thu Dec 19 03:51:01 UTC 2024 from elastisys/compliantkubernetes-apps@main