For Kubernetes: Installing and configuring Velero
To protect cluster-scoped resources and namespace-scoped
resources in your container workloads, you must install and configure Velero in a dedicated
namespace. The suggested default for this namespace is spp-velero
.
Before you begin
If you installed an instance of Velero in the cluster for another purpose, you must install another instance of Velero for IBM Spectrum® Protect Plus. Follow the instructions in Installing a second instance of Velero.
About this task
Velero is required to protect cluster-scoped and namespace-scoped resources. If Velero is installed in a cluster in the default namespace, called velero, you can uninstall Velero and follow this procedure to install a new instance.
Procedure
What to do next
kubectl delete namespace/spp-velero clusterrolebinding/velero-namespace_for_velero_install
kubectl delete crds -l component=velero
where
namespace_for_velero_install specifies the namespace where Velero is installed,
for example, spp-velero.After you installed Velero and Container Backup Support and before you can protect cluster-scoped and namespaces-scoped resources, you must run an inventory in the IBM Spectrum Protect Plus user interface so that the Velero instance is detected. For instructions, see Detecting Kubernetes resources.
During the inventory operation, the BackupStorageLocation
that connects to the
BaaS MinIO data mover is created automatically.