NetBackup™ Web UI Kubernetes Administrator's Guide
- Overview of NetBackup for Kubernetes
- Deploying and configuring the NetBackup Kubernetes operator
- Configure settings for NetBackup snapshot operation
- Managing image groups
- Deploying certificates on NetBackup Kubernetes operator
- Managing Kubernetes assets
- Managing Kubernetes intelligent groups
- Protecting Kubernetes assets
- Recovering Kubernetes assets
- Troubleshooting Kubernetes issues
Configure NetBackup protection for Kubernetes
Before configuring the NetBackup on the Kubernetes workload, you must run a NetBackup server with access to ports 443, 1556, and 13724.
NetBackup Kubernetes operator and datamover images must be uploaded to container registry accessible from the Kubernetes cluster.
Pre-installation
- Edit the following fields in
netbackupkops-helm-chart/values.yaml
image: Container registry URL for pulling NetBackup Kubernetes controller image
imagePullSecrets: name: name of image pull secret if container registry requires authentication to pull images.
nbprimaryserver: FQDN for NetBackup primary server.
nbapikey: API key from the NetBackup primary server.
To create a new key, go to the NetBackup web UI > Security > Access keys and click Add. Select validity of one day to avoid misuse of API key.
nbsha256fingerprint: Fetch sha256 fingerprint from the NetBackup web UI. Go to Security > Certificates > Certificate Authority
k8sCluster: FQDN for Kubernetes cluster API server.
k8sPort: Port on which the Kubernetes API server is listed.
The information is available on the UI console of Kubernetes cluster.
- If it is not present, run the following command to get Kubernetes cluster and Kubernetes port# kubectl cluster-infoKubernetes control plane runs at https://<Kubernetes FQDN>:6443
datamoverimage: Container registry URL to pull datamover image.
Storage parameters are required for snapshot and backup from snapshot operations. At least one of the Block or Filesystem storage parameters are mandatory.
- To get the storage classes, run the command # kubectl get storageclasses
storageclassblock: Storage class used for provisioning block volumes.
storageclassfilesystem: Storage class used for provisioning filesystem volumes.
- To get the volume snapshot class, run the command # kubectl get volumesnapshotclasses
volumesnapshotclassblock: Volume snapshot class for creating block volume snapshots.
volumesnapshotclassfilesystem: Volume snapshot class for creating filesystem volume snapshots.
waitTimeBeforeCleanupMinutes: Time in minutes to wait before configuration deployment is deleted in case of success. Max value can be set to 129600 (90 days). In case of failure, NetBackup resources of security token and credentials are deleted automatically but deployment runs to debug the failure.
To install helm, run the command# helm install veritas-netbackupkops <path to netbackupkops-helm-chart> -n <kops namespace>
To get the config-deploy pod from the Kubernetes operator namespace, run the command# kubectl get pod -n <kops namespace> | grep "config-deploy"
To check logs from the pod <namespace>-netbackup-config-deploy, run the command# kubectl logs <pod-name> -n <kops namespace>