Skip to main content
Version: 1.36.1

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

OnPremises: .spec.distribution.modules.dr

This page is part of the OnPremises schema reference.

.spec.distribution.modules.dr​

Properties​

PropertyTypeRequired
etcdBackupobjectOptional
overridesobjectOptional
typestringRequired
veleroobjectOptional

Description​

Configuration for the Disaster Recovery module.

.spec.distribution.modules.dr.etcdBackup​

Properties​

PropertyTypeRequired
backupPrefixstringOptional
pvcobjectOptional
s3objectOptional
typestringOptional

Description​

Configuration for the ETCD backup package.

.spec.distribution.modules.dr.etcdBackup.backupPrefix​

Description​

A prefix to be prepended to the backup filenames. If unset, the prefix defaults to the cluster's name.

.spec.distribution.modules.dr.etcdBackup.pvc​

Properties​

PropertyTypeRequired
accessModesarrayOptional
namestringOptional
retentionTimestringOptional
schedulestringOptional
sizestringOptional
storageClassstringOptional

Description​

Configuration parameters for the pvc type of etcdBackup.

.spec.distribution.modules.dr.etcdBackup.pvc.accessModes​

Description​

The accessModes that the furyctl-managed PersistentVolumeClaim will use. This has no effect and is ignored if name is set. Default is ["ReadOnlyOnce"]

.spec.distribution.modules.dr.etcdBackup.pvc.name​

Description​

The PersistentVolumeClaim name where the backups will be saved. If set, size and storageClass will be ignored and etcd-backup will use the PersistentVolumeClaim that matches the name set. Please note that the PersistentVolumeClaim must be created inside the kube-system namespace.

If you leave name unset furyctl will create a PersistentVolumeClaim for you with an arbitrary name.

.spec.distribution.modules.dr.etcdBackup.pvc.retentionTime​

Description​

The retention time of the backups inside the PersistentVolumeClaim. Follows rclone's min-age format. Example: '30d' for 30 days. Default is 10d (ten days).

.spec.distribution.modules.dr.etcdBackup.pvc.schedule​

Description​

The cron expression for the etcd-backup-pvc backup schedule. Default is 0 1 * * * (everyday at 01:00).

.spec.distribution.modules.dr.etcdBackup.pvc.size​

Description​

The size that the furyctl-managed PersistentVolumeClaim will use. This has no effect and is ignored if name is set. Default is 10G.

.spec.distribution.modules.dr.etcdBackup.pvc.storageClass​

Description​

The storage class that the furyctl-managed PersistentVolumeClaim will use. This has no effect and is ignored if name is set. Default is default.

.spec.distribution.modules.dr.etcdBackup.s3​

Properties​

PropertyTypeRequired
accessKeyIdstringRequired
bucketNamestringRequired
endpointstringRequired
insecurebooleanOptional
retentionTimestringOptional
schedulestringOptional
secretAccessKeystringRequired

Description​

Configuration parameters for the s3 type of etcdBackup.

.spec.distribution.modules.dr.etcdBackup.s3.accessKeyId​

Description​

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

.spec.distribution.modules.dr.etcdBackup.s3.bucketName​

Description​

The bucket name of the external S3-compatible object storage.

.spec.distribution.modules.dr.etcdBackup.s3.endpoint​

Description​

External S3-compatible endpoint for etcd-backup-s3's storage.

.spec.distribution.modules.dr.etcdBackup.s3.insecure​

Description​

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

.spec.distribution.modules.dr.etcdBackup.s3.retentionTime​

Description​

The retention time of the external S3-compatible object storage. Follows rclone's min-age format. Example: '30d' for 30 days. Default is 10d (ten days).

.spec.distribution.modules.dr.etcdBackup.s3.schedule​

Description​

The cron expression for the etcd-backup-s3 backup schedule. Default is 0 1 * * * (everyday at 01:00).

.spec.distribution.modules.dr.etcdBackup.s3.secretAccessKey​

Description​

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

.spec.distribution.modules.dr.etcdBackup.type​

Description​

The type of the etcd backup to enable, options are:

  • none: no etcd backup CronJob will be installed and no etcd backup will be performed.
  • s3: the etcd-backup-s3 package will be enabled. It will deploy a CronJob which continuously snapshots a healthy etcd node and will save the backups in a configured S3 bucket.
  • pvc: the etcd-backup-pvc package will be enabled. It will deploy a CronJob which continuously snapshots a healthy etcd node and will save the backups in a configured PersistentVolumeClaim.
  • all: both kinds of backups will be enabled.

Default is none.

Constraints​

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

Value
"s3"
"pvc"
"none"
"all"

.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, an optional MinIO deployment and optionally etcd-backup.

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 an external 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.