Skip to content

OpenSearch Curator 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/opensearch/properties/curator

Configures the CronJob that removes indices.

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 (OpenSearch Curator)

PROPERTIES:

Property Type Required Nullable Defined by
enabled boolean Optional cannot be null Compliant Kubernetes Apps Config
retention array Optional cannot be null Compliant Kubernetes Apps Config
startingDeadlineSeconds number Optional cannot be null Compliant Kubernetes Apps Config
activeDeadlineSeconds number Optional cannot be null Compliant Kubernetes Apps Config
resources object Optional cannot be null Compliant Kubernetes Apps Config
tolerations array Optional cannot be null Compliant Kubernetes Apps Config
nodeSelector object Optional cannot be null Compliant Kubernetes Apps Config
affinity object Optional cannot be null Compliant Kubernetes Apps Config

enabled

enabled

TYPE:

boolean (OpenSearch Curator Enabled)

DEFAULTS:

The default value is:

true

retention

Configures the retention of indices in OpenSearch.

retention

TYPE:

object[] (OpenSearch Curator Retention)

DEFAULTS:

The default value is:

[
  {
    "pattern": "authlog-*",
    "ageDays": 30,
    "sizeGB": 1
  },
  {
    "pattern": "kubeaudit-*",
    "ageDays": 30,
    "sizeGB": 50
  },
  {
    "pattern": "kubernetes-*",
    "ageDays": 30,
    "sizeGB": 50
  },
  {
    "pattern": "other-*",
    "ageDays": 7,
    "sizeGB": 1
  },
  {
    "pattern": "security-auditlog-*",
    "ageDays": 7,
    "sizeGB": 1
  }
]

startingDeadlineSeconds

startingDeadlineSeconds

TYPE:

number (OpenSearch Curator Starting Deadline Seconds)

DEFAULTS:

The default value is:

600

activeDeadlineSeconds

activeDeadlineSeconds

TYPE:

number (OpenSearch Curator Active Deadline Seconds)

DEFAULTS:

The default value is:

2700

resources

Resource requests are used by the kube-scheduler to pick a node to schedule pods on.

Limits are enforced. Resources are commonly 'cpu' and 'memory'.

resources

TYPE:

object (Kubernetes Resource Requirements)

EXAMPLES:

requests:
  memory: 128Mi
  cpu: 100m
limits:
  memory: 256Mi
  cpu: 250m

tolerations

Kubernetes Tolerations

Kubernetes taint and toleration

tolerations

TYPE:

an array of merged types (Details)

nodeSelector

Kubernetes node selector

Kubernetes assign pod node

nodeSelector

TYPE:

object (Kubernetes Node Selector)

EXAMPLES:

kubernetes.io/os: linux

affinity

Affinity is a group of affinity scheduling rules.

affinity

TYPE:

object (Affinity)

Return to the root config schema


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