Skip to content

Disk Alert Pattern Rule 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#/properties/prometheus/$defs/diskAlerts/properties/patternRule

Configure disk alerts when disk usage is predicted to reach the limit.

The hours key is only supported when configured under predictLinear.

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

TYPE:

object (Disk Alert Pattern Rule)

PROPERTIES:

Property Type Required Nullable Defined by
hours number Optional cannot be null Welkin Apps Config
freeSpacePercentage number Optional cannot be null Welkin Apps Config
for string Optional cannot be null Welkin Apps Config
severity string Optional cannot be null Welkin Apps Config
pattern object Optional cannot be null Welkin Apps Config

hours

hours

TYPE:

number (Alert Rule Prediction Window)

DEFAULTS:

The default value is:

24

freeSpacePercentage

Percentage, 0% - 100%

freeSpacePercentage

TYPE:

number (Percentage)

CONSTRAINTS:

maximum: the value of this number must smaller than or equal to: 100

minimum: the value of this number must greater than or equal to: 0

DEFAULTS:

The default value is:

5

for

An amount of time

for

TYPE:

string (Time Range)

CONSTRAINTS:

pattern: the string must match the following regular expression:

^[0-9]+[hmsd]+$

try pattern

DEFAULTS:

The default value is:

"1h"

EXAMPLES:

300s
72h
3d

severity

severity

TYPE:

string (Alert Rule Severity)

DEFAULTS:

The default value is:

"warning"

pattern

Select applicable nodes and disks to include or exclude using patterns.

pattern

TYPE:

object (Disk Alert Patterns)

Return to the root config schema


Generated Sun Nov 17 03:51:36 UTC 2024 from elastisys/compliantkubernetes-apps@main