NetBackup™ Web UI Kubernetes Administrator's Guide
- Introducing the NetBackup web user interface
- Monitoring NetBackup
- Overview of NetBackup for Kubernetes
- Deploying and configuring the NetBackup Kubernetes operator
- Managing Kubernetes assets
- Protecting Kubernetes assets
- Recovering Kubernetes assets
- Troubleshooting Kubernetes issues
Deploying the NetBackup Kubernetes operator
After configuring your cluster(s), you can deploy the NetBackup Kubernetes operator in them. You must deploy the operator in each cluster, where you want to use NetBackup.
You can use Helm Chart to deploy NetBackup Kubernetes operator. You can create a chart for the NetBackup Kubernetes operator. Here is the Helm chart and tree structure layout.
netbackupkops-helm-chart ├── charts ├── Chart.yaml ├── templates │ └── deployment.yaml └── values.yaml
To deploy the NetBackup Kubernetes operator:
- Download the operator service package.
- Extract the package to the home directory. The
netbackupkops-helm-chart
folder should be in the home directory. - To list all cluster contexts, run the command: kubectl config get-contexts
- To switch to the cluster where you want to deploy the operator service, run the command: kubectl config use-context <cluster-context-name>
- To change the current directory to your home directory, run cd ~
- If you use a private docker registry, follow the instructions in this step to create a secret
nb-docker-cred
in Velero namespace. Otherwise, skip to the next step.To log on to the private docker registry, run the command: docker login -d <user name> -p <password>
After logon, the
config.json
file containing the authorization token is created or updated. To view theconfig.json
file, run the command: cat ~/.docker/config.jsonThe output looks like:
{ "auths": { "https://index.docker.io/v1/": { "auth": "c3R...zE2" } } }
To create a secret named as
netbackupkops-docker-cred
in the Velero namespace, run the command:kubectl create secret generic netbackupkops-docker-cred \
--from-file=.dockerconfigjson=.docker/config.json \
--type=kubernetes.io/dockerconfigjson -n velero
To check if the secret
netbackupkops-docker-cred
is created in the Velero namespace, run the command: kubectl get secrets -n veleroIf you use an image tar file, to load the image to the docker cache and push the image to the docker image repository, run the following commands:
docker load -i <name of the tar file>
docker tag <image name:tag of the loaded image> <repo-name/image-name:tag-name>
docker push <repo-name/image-name:tag-name>
Open the
netbackupkops-helm-chart/values.yaml
file in a text editor, and then replace the value image in the manager section, with your image name with tag ( repo-name/image-name:tag-name ) and save the file.
- To deploy the NetBackup Kubernetes operator service, run the following command in a single line:
helm install <release name of the deployment> ./netbackupkops-helm-chart -n <namespace in which NetBackup operator service will run>
For example: helm install veritas-netbackupkops ./netbackupkops-helm-chart -n netbackup
You can change the release name of the deployment as required.
The -n option is required to specify the namespace in which NetBackup operator service is intended to run. It must be the same namespace where Velero is intended to run.
- To check the status of the deployment, run the command:
helm list -n <namespace in which NetBackup operator service will run>
For example:
helm list -n netbackup
- To check the release history, run the command: helm history veritas-netbackupkops -n <namespace in which NetBackup operator service will run>
For example:
helm history veritas-netbackupkops -n netbackup