OpenSearch Snapshot 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/snapshot
Configures the CronJob and repository to take snapshots in OpenSearch.
This requires that objectStorage
is configured, and will use the bucket or container set in objectStorage.buckets.opensearch
.
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 Snapshot)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
enabled | boolean |
Optional | cannot be null | Welkin Apps Config |
repository | string |
Optional | cannot be null | Welkin Apps Config |
ageSeconds | number |
Optional | cannot be null | Welkin Apps Config |
min | number |
Optional | cannot be null | Welkin Apps Config |
max | number |
Optional | cannot be null | Welkin Apps Config |
maxRequestSeconds | number |
Optional | cannot be null | Welkin Apps Config |
backupSchedule | string |
Optional | cannot be null | Welkin Apps Config |
backupStartingDeadlineSeconds | number |
Optional | cannot be null | Welkin Apps Config |
backupActiveDeadlineSeconds | number |
Optional | cannot be null | Welkin Apps Config |
retentionSchedule | string |
Optional | cannot be null | Welkin Apps Config |
retentionStartingDeadlineSeconds | number |
Optional | cannot be null | Welkin Apps Config |
retentionActiveDeadlineSeconds | number |
Optional | cannot be null | Welkin Apps Config |
retentionResources | object |
Optional | cannot be null | Welkin Apps Config |
enabled¶
enabled
-
is optional
-
Type:
boolean
(OpenSearch Snapshot Enabled) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
boolean
(OpenSearch Snapshot Enabled)
DEFAULTS:
The default value is:
true
repository¶
repository
-
is optional
-
Type:
string
(OpenSearch Snapshot Repository) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
(OpenSearch Snapshot Repository)
DEFAULTS:
The default value is:
"opensearch-snapshots"
ageSeconds¶
ageSeconds
-
is optional
-
Type:
number
-
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
DEFAULTS:
The default value is:
864000
min¶
min
-
is optional
-
Type:
number
(OpenSearch Minimum Retained Snapshots) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
(OpenSearch Minimum Retained Snapshots)
DEFAULTS:
The default value is:
7
max¶
max
-
is optional
-
Type:
number
(OpenSearch Maximum Retained Snapshots) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
(OpenSearch Maximum Retained Snapshots)
DEFAULTS:
The default value is:
14
maxRequestSeconds¶
maxRequestSeconds
-
is optional
-
Type:
number
-
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
DEFAULTS:
The default value is:
1200
backupSchedule¶
backupSchedule
-
is optional
-
Type:
string
(OpenSearch Backup CronJob Schedule) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
(OpenSearch Backup CronJob Schedule)
DEFAULTS:
The default value is:
"0 */2 * * *"
backupStartingDeadlineSeconds¶
backupStartingDeadlineSeconds
-
is optional
-
Type:
number
(OpenSearch Backup Job Starting Deadline) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
(OpenSearch Backup Job Starting Deadline)
DEFAULTS:
The default value is:
600
backupActiveDeadlineSeconds¶
backupActiveDeadlineSeconds
-
is optional
-
Type:
number
(OpenSearch Backup Job Active Deadline) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
(OpenSearch Backup Job Active Deadline)
DEFAULTS:
The default value is:
600
retentionSchedule¶
retentionSchedule
-
is optional
-
Type:
string
(OpenSearch Retention CronJob Schedule) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
(OpenSearch Retention CronJob Schedule)
DEFAULTS:
The default value is:
"@daily"
retentionStartingDeadlineSeconds¶
retentionStartingDeadlineSeconds
-
is optional
-
Type:
number
(OpenSearch Retention Job Starting Deadline) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
(OpenSearch Retention Job Starting Deadline)
DEFAULTS:
The default value is:
600
retentionActiveDeadlineSeconds¶
retentionActiveDeadlineSeconds
-
is optional
-
Type:
number
(OpenSearch Retention Job Active Deadline) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
number
(OpenSearch Retention Job Active Deadline)
DEFAULTS:
The default value is:
2700
retentionResources¶
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'.
retentionResources
-
is optional
-
Type:
object
(Kubernetes Resource Requirements) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Kubernetes Resource Requirements)
EXAMPLES:
requests:
memory: 128Mi
cpu: 100m
limits:
memory: 256Mi
cpu: 250m
Return to the root config schema
Generated Sun Nov 17 03:51:36 UTC 2024 from elastisys/compliantkubernetes-apps@main