Skip to content

PreferredSchedulingTerm 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.PreferredSchedulingTerm

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

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

PROPERTIES:

Property Type Required Nullable Defined by
preference Merged Required cannot be null Compliant Kubernetes Apps Config
weight integer Required cannot be null Compliant Kubernetes Apps Config

preference

A node selector term, associated with the corresponding weight.

preference

TYPE:

merged type (Details)

all of

DEFAULTS:

The default value is:

{}

weight

Weight associated with matching the corresponding nodeSelectorTerm, 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 Sun Jun 23 03:48:25 UTC 2024 from elastisys/compliantkubernetes-apps@main