Skip to content

CPU and Memory Specifications 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/cpumem

Use .$defs.kubernetesQuantity instead.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Deprecated No Forbidden Forbidden none config/schemas/config.yaml*

TYPE:

object (CPU and Memory Specifications)

PROPERTIES:

Property Type Required Nullable Defined by
cpu Multiple Optional cannot be null Compliant Kubernetes Apps Config
memory Multiple Optional cannot be null Compliant Kubernetes Apps Config

cpu

cpu

TYPE:

any of the following: string or integer (Details)

CONSTRAINTS:

pattern: the string must match the following regular expression:

^[1-9][0-9]*m?$

try pattern

DEFAULTS:

The default value is:

"100m"

memory

memory

TYPE:

any of the following: string or integer (Details)

CONSTRAINTS:

pattern: the string must match the following regular expression:

^[0-9]+(\.[0-9]+)?([KMG]i)?$

try pattern

DEFAULTS:

The default value is:

"128Mi"

Return to the root config schema


Generated Sun Jun 23 03:48:25 UTC 2024 from elastisys/compliantkubernetes-apps@main