Velero Config 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/v0.41.0/config/schemas/config.yaml#/properties/velero
Configure Velero, the backup and snapshot tool for Kubernetes resources and volumes.
This requires that objectStorage
is configured, and will use the bucket or container set in objectStorage.buckets.velero
.
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
(Velero Config)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
enabled | boolean |
Optional | cannot be null | Compliant Kubernetes Apps Config |
uploaderType | string |
Optional | cannot be null | Compliant Kubernetes Apps Config |
useVolumeSnapshots | boolean |
Optional | cannot be null | Compliant Kubernetes Apps Config |
schedule | string |
Optional | cannot be null | Compliant Kubernetes Apps Config |
retentionPeriod | string |
Optional | cannot be null | Compliant Kubernetes Apps Config |
excludedNamespaces | array |
Optional | cannot be null | Compliant Kubernetes Apps Config |
excludedExtraNamespaces | array |
Optional | cannot be null | Compliant Kubernetes Apps Config |
storagePrefix | string |
Optional | cannot be null | Compliant Kubernetes Apps Config |
nodeAgent | object |
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 |
enabled¶
enabled
-
is optional
-
Type:
boolean
(Velero Enabled) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
boolean
(Velero Enabled)
DEFAULTS:
The default value is:
true
uploaderType¶
uploaderType
-
is optional
-
Type:
string
(Velero Uploader Type) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string
(Velero Uploader Type)
CONSTRAINTS:
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"kopia" |
|
"restic" |
useVolumeSnapshots¶
useVolumeSnapshots
-
is optional
-
Type:
boolean
(Velero Use Volume Snapshots) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
boolean
(Velero Use Volume Snapshots)
schedule¶
schedule
-
is optional
-
Type:
string
(Velero Backup Schedule) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string
(Velero Backup Schedule)
DEFAULTS:
The default value is:
"0 0 * * *"
retentionPeriod¶
A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m".
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
retentionPeriod
-
is optional
-
Type:
string
(Duration String) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string
(Duration String)
CONSTRAINTS:
pattern: the string must match the following regular expression:
^([-+]?[0-9]+(.[0-9]+)?(ns|us|µs|ms|s|m|h))+$
DEFAULTS:
The default value is:
"720h0m0s"
EXAMPLES:
2h45m0s
excludedNamespaces¶
Configure system namespaces to exclude from backups.
excludedNamespaces
-
is optional
-
Type:
string[]
(Namespace) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string[]
(Namespace)
excludedExtraNamespaces¶
Configure dynamic namespaces to exclude from backups, prefer this for overrides over excludedNamespaces
.
excludedExtraNamespaces
-
is optional
-
Type:
string[]
(Namespace) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string[]
(Namespace)
storagePrefix¶
Configure unique storage prefix for this cluster when storing backups and snapshots in object storage.
When multiple workload clusters share the same bucket or container ensure that they use separate storage prefixes.
storagePrefix
-
is optional
-
Type:
string
(Velero Storage Prefix) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
string
(Velero Storage Prefix)
EXAMPLES:
service-cluster
workload-cluster
nodeAgent¶
Configure the node agent of Velero, used to take snapshots of volumes.
nodeAgent
-
is optional
-
Type:
object
(Velero Node Agent) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
object
(Velero Node Agent)
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
-
is optional
-
Type:
object
(Kubernetes Resource Requirements) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
object
(Kubernetes Resource Requirements)
EXAMPLES:
requests:
memory: 128Mi
cpu: 100m
limits:
memory: 256Mi
cpu: 250m
tolerations¶
Kubernetes Tolerations
Kubernetes taint and toleration
tolerations
-
is optional
-
Type: an array of merged types (Details)
-
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
an array of merged types (Details)
nodeSelector¶
Kubernetes node selector
nodeSelector
-
is optional
-
Type:
object
(Kubernetes Node Selector) -
cannot be null
-
defined in: Compliant Kubernetes Apps Config
TYPE:
object
(Kubernetes Node Selector)
EXAMPLES:
kubernetes.io/os: linux
Return to the root config schema
Generated Thu Nov 14 16:21:55 UTC 2024 from elastisys/compliantkubernetes-apps@v0.41.0