Difference between revisions of "Helm install velero"

From wikieduonline
Jump to navigation Jump to search
Line 33: Line 33:
 
== See also ==
 
== See also ==
 
* {{Velero}}
 
* {{Velero}}
 +
* {{helm install}}
  
 
[[Category:Velero]]
 
[[Category:Velero]]

Revision as of 09:12, 23 October 2023

helm repo add vmware-tanzu https://vmware-tanzu.github.io/helm-charts


helm install velero vmware-tanzu/velero \
--namespace velero \
--create-namespace \
--set-file credentials.secretContents.cloud=<FULL PATH TO FILE> \
--set configuration.backupStorageLocation[0].name=<BACKUP STORAGE LOCATION NAME> \
--set configuration.backupStorageLocation[0].provider=<PROVIDER NAME> \
--set configuration.backupStorageLocation[0].bucket=<BUCKET NAME> \
--set configuration.backupStorageLocation[0].config.region=<REGION> \
--set configuration.volumeSnapshotLocation[0].name=<VOLUME SNAPSHOT LOCATION NAME> \
--set configuration.volumeSnapshotLocation[0].provider=<PROVIDER NAME> \
--set configuration.volumeSnapshotLocation[0].config.region=<REGION> \
--set initContainers[0].name=velero-plugin-for-<PROVIDER NAME> \
--set initContainers[0].image=velero/velero-plugin-for-<PROVIDER NAME>:<PROVIDER PLUGIN TAG> \
--set initContainers[0].volumeMounts[0].mountPath=/target \
--set initContainers[0].volumeMounts[0].name=plugins


helm install velero vmware-tanzu/velero --namespace velero --create-namespace 


Error: INSTALLATION FAILED: 2 errors occurred:
	* BackupStorageLocation.velero.io "default" is invalid: [spec.objectStorage.bucket: 
Required value, spec.provider: Required value] 

* VolumeSnapshotLocation.velero.io "default" is invalid: spec.provider: Required value


Users of zsh might need to put quotes around key/value pairs.

See also

Advertising: