Skip to main content
Version: 1.36.1

This page comes from sighupio/distribution: docs/schemas/kfddistribution-kfd-v1alpha2.md (v1.36.1). To change it, change the source.

KFDDistribution: .spec.distribution.modules.dr

This page is part of the KFDDistribution schema reference.

.spec.distribution.modules.dr​

Properties​

PropertyTypeRequired
overridesobjectOptional
typestringRequired
veleroobjectOptional

Description​

Configuration for the Disaster Recovery module.

.spec.distribution.modules.dr.overrides​

Properties​

PropertyTypeRequired
ingressesobjectOptional
nodeSelectorobjectOptional
tolerationsarrayOptional

Description​

Override the common configuration with a particular configuration for the module.

.spec.distribution.modules.dr.overrides.ingresses​

.spec.distribution.modules.dr.overrides.nodeSelector​

Description​

Set to override the node selector used to place the pods of the module.

.spec.distribution.modules.dr.overrides.tolerations​

Properties​

PropertyTypeRequired
effectstringRequired
keystringRequired
operatorstringOptional
valuestringOptional

Description​

Set to override the tolerations that will be added to the pods of the module.

.spec.distribution.modules.dr.overrides.tolerations.effect​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"NoSchedule"
"PreferNoSchedule"
"NoExecute"

.spec.distribution.modules.dr.overrides.tolerations.key​

Description​

The key of the toleration

.spec.distribution.modules.dr.overrides.tolerations.operator​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"Exists"
"Equal"

.spec.distribution.modules.dr.overrides.tolerations.value​

Description​

The value of the toleration

.spec.distribution.modules.dr.type​

Description​

The type of the Disaster Recovery, must be none or on-premises. none disables the module and on-premises will install Velero and an optional MinIO deployment.

Default is none.

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"none"
"on-premises"

.spec.distribution.modules.dr.velero​

Properties​

PropertyTypeRequired
backendstringOptional
externalEndpointobjectOptional
gcsobjectOptional
nodeAgentobjectOptional
overridesobjectOptional
schedulesobjectOptional
snapshotControllerobjectOptional

Description​

Configuration for the Velero package.

.spec.distribution.modules.dr.velero.backend​

Description​

The storage backend type for Velero. minio will use an in-cluster MinIO deployment for object storage, externalEndpoint can be used to point to an external S3-compatible object storage instead of deploying an in-cluster MinIO, gcs can be used to point to gcs object storage instead of deploying an in-cluster MinIO.

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"minio"
"externalEndpoint"
"gcs"

.spec.distribution.modules.dr.velero.externalEndpoint​

Properties​

PropertyTypeRequired
accessKeyIdstringOptional
accessModestringOptional
bucketNamestringOptional
endpointstringOptional
insecurebooleanOptional
prefixNamestringOptional
secretAccessKeystringOptional

Description​

Configuration for Velero's external storage backend.

.spec.distribution.modules.dr.velero.externalEndpoint.accessKeyId​

Description​

The access key ID (username) for the external S3-compatible bucket.

.spec.distribution.modules.dr.velero.externalEndpoint.accessMode​

Description​

How Velero can access the backup storage location.

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"ReadWrite"
"ReadOnly"

.spec.distribution.modules.dr.velero.externalEndpoint.bucketName​

Description​

The bucket name of the external object storage.

.spec.distribution.modules.dr.velero.externalEndpoint.endpoint​

Description​

External S3-compatible endpoint for Velero's storage.

.spec.distribution.modules.dr.velero.externalEndpoint.insecure​

Description​

If true, will use HTTP as protocol instead of HTTPS.

.spec.distribution.modules.dr.velero.externalEndpoint.prefixName​

Description​

The prefix name to use inside the bucket.

.spec.distribution.modules.dr.velero.externalEndpoint.secretAccessKey​

Description​

The secret access key (password) for the external S3-compatible bucket.

.spec.distribution.modules.dr.velero.gcs​

Properties​

PropertyTypeRequired
accessModestringOptional
bucketNamestringOptional
clientEmailstringOptional
prefixNamestringOptional
serviceAccountStringstringOptional

Description​

Configuration for Velero's gcs storage backend.

.spec.distribution.modules.dr.velero.gcs.accessMode​

Description​

How Velero can access the backup storage location.

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"ReadWrite"
"ReadOnly"

.spec.distribution.modules.dr.velero.gcs.bucketName​

Description​

The bucket name of the gcs object storage.

.spec.distribution.modules.dr.velero.gcs.clientEmail​

Description​

Full gcs client email.

.spec.distribution.modules.dr.velero.gcs.prefixName​

Description​

The prefix name to use inside the gcs bucket.

.spec.distribution.modules.dr.velero.gcs.serviceAccountString​

Description​

Service gcs account JSON string.

.spec.distribution.modules.dr.velero.nodeAgent​

Properties​

PropertyTypeRequired
prepareQueueLengthintegerOptional

Description​

Configuration for Velero's node-agent DaemonSet.

.spec.distribution.modules.dr.velero.nodeAgent.prepareQueueLength​

Description​

Defines the maximum number of DataUpload/DataDownload/PodVolumeBackup/PodVolumeRestore CRs under preparation statuses but not yet processed by any node. This constrains the number of intermediate objects (PVCs, VolumeSnapshots, etc.) to prevent unnecessary resource usage when cluster parallelism is limited.

.spec.distribution.modules.dr.velero.overrides​

Properties​

PropertyTypeRequired
nodeSelectorobjectOptional
tolerationsarrayOptional

.spec.distribution.modules.dr.velero.overrides.nodeSelector​

Description​

Set to override the node selector used to place the pods of the package.

.spec.distribution.modules.dr.velero.overrides.tolerations​

Properties​

PropertyTypeRequired
effectstringRequired
keystringRequired
operatorstringOptional
valuestringOptional

Description​

Set to override the tolerations that will be added to the pods of the package.

.spec.distribution.modules.dr.velero.overrides.tolerations.effect​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"NoSchedule"
"PreferNoSchedule"
"NoExecute"

.spec.distribution.modules.dr.velero.overrides.tolerations.key​

Description​

The key of the toleration

.spec.distribution.modules.dr.velero.overrides.tolerations.operator​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"Exists"
"Equal"

.spec.distribution.modules.dr.velero.overrides.tolerations.value​

Description​

The value of the toleration

.spec.distribution.modules.dr.velero.schedules​

Properties​

PropertyTypeRequired
definitionsobjectOptional
installbooleanOptional

Description​

Configuration for Velero's backup schedules.

.spec.distribution.modules.dr.velero.schedules.definitions​

Properties​

PropertyTypeRequired
fullobjectOptional
manifestsobjectOptional

Description​

Configuration for Velero schedules.

.spec.distribution.modules.dr.velero.schedules.definitions.full​

Properties​

PropertyTypeRequired
schedulestringOptional
snapshotMoveDatabooleanOptional
ttlstringOptional

Description​

Configuration for Velero's manifests backup schedule.

.spec.distribution.modules.dr.velero.schedules.definitions.full.schedule​

Description​

The cron expression for the full backup schedule (default 0 1 * * *).

.spec.distribution.modules.dr.velero.schedules.definitions.full.snapshotMoveData​

Description​

EXPERIMENTAL (if you do more than one backups, the following backups after the first are not automatically restorable, see https://github.com/vmware-tanzu/velero/issues/7057#issuecomment-2466815898 for the manual restore solution): SnapshotMoveData specifies whether snapshot data should be moved. Velero will create a new volume from the snapshot and upload the content to the storageLocation.

.spec.distribution.modules.dr.velero.schedules.definitions.full.ttl​

Description​

The Time To Live (TTL) of the backups created by the backup schedules (default 720h0m0s, 30 days). Notice that changing this value will affect only newly created backups, prior backups will keep the old TTL.

.spec.distribution.modules.dr.velero.schedules.definitions.manifests​

Properties​

PropertyTypeRequired
schedulestringOptional
ttlstringOptional

Description​

Configuration for Velero's manifests backup schedule.

.spec.distribution.modules.dr.velero.schedules.definitions.manifests.schedule​

Description​

The cron expression for the manifests backup schedule (default */15 * * * *).

.spec.distribution.modules.dr.velero.schedules.definitions.manifests.ttl​

Description​

The Time To Live (TTL) of the backups created by the backup schedules (default 720h0m0s, 30 days). Notice that changing this value will affect only newly created backups, prior backups will keep the old TTL.

.spec.distribution.modules.dr.velero.schedules.install​

Description​

Whether to install or not the default manifests and full backups schedules. Default is true.

.spec.distribution.modules.dr.velero.snapshotController​

Properties​

PropertyTypeRequired
installbooleanOptional

Description​

Configuration for the additional snapshotController component installation.

.spec.distribution.modules.dr.velero.snapshotController.install​

Description​

Whether to install or not the snapshotController component in the cluster. Before enabling this field, check if your CSI driver does not have snapshotController built-in.