NetBackup™ Web UI Kubernetes Administrator's Guide

Last Published:
Product(s): NetBackup & Alta Data Protection (10.0)
  1. Introducing the NetBackup web user interface
    1.  
      About the NetBackup web UI
    2.  
      Terminology
    3.  
      Sign in to the NetBackup web UI
    4.  
      Sign out of the NetBackup web UI
  2. Monitoring NetBackup
    1.  
      The NetBackup dashboard
    2.  
      Job monitoring
    3.  
      Jobs: cancel, suspend, restart, resume, delete
    4.  
      Search for or filter jobs in the jobs list
  3. Overview of NetBackup for Kubernetes
    1.  
      Overview
    2.  
      Features of NetBackup support for Kubernetes
  4. Deploying and configuring the NetBackup Kubernetes operator
    1.  
      Deploy service package on NetBackup Kubernetes operator
    2.  
      Port requirements for Kubernetes operator deployment
    3.  
      Upgrade the NetBackup Kubernetes operator
    4.  
      Delete the NetBackup Kubernetes operator
    5.  
      Configure NetBackup Kubernetes datamover
    6.  
      Configure settings for NetBackup snapshot operation
    7.  
      Troubleshooting NetBackup servers with short names
    8. Managing image groups
      1.  
        About image expiration
      2.  
        About image copy
  5. Deploying certificates on NetBackup Kubernetes operator
    1.  
      Deploy certificates on the Kubernetes operator
    2.  
      Perform Host-ID-based certificate operations
    3.  
      Perform ECA certificate operations
    4.  
      Identify certificate types
  6. Managing Kubernetes assets
    1.  
      Add a Kubernetes cluster
    2.  
      Configure settings
    3.  
      Add protection to the assets
  7. Managing Kubernetes intelligent groups
    1.  
      About intelligent group
    2.  
      Create an intelligent group
    3.  
      Delete an intelligent group
    4.  
      Edit an intelligent group
  8. Protecting Kubernetes assets
    1.  
      Protect an intelligent group
    2.  
      Remove protection from an intelligent group
    3.  
      Configure backup schedule
    4.  
      Configure backup options
    5.  
      Configure backups
    6.  
      Configure storage units
  9. Recovering Kubernetes assets
    1.  
      Explore and validate recovery points
    2.  
      Restore from snapshot
    3.  
      Restore from backup copy
  10. Troubleshooting Kubernetes issues
    1.  
      Error during certificate deployment on the Kubernetes operator
    2.  
      Error during the primary server upgrade: NBCheck fails
    3.  
      Error during an old image restore: Operation fails
    4.  
      Error during persistent volume recovery API
    5.  
      Error during restore: Final job status shows partial failure
    6.  
      Error during restore on the same namespace
    7.  
      Datamover pods exceed the Kubernetes resource limit
    8.  
      Error during restore: Job fails on the highly loaded cluster
    9.  
      Custom Kubernetes role created for specific clusters cannot view the jobs

Deploy service package on NetBackup Kubernetes operator

Before deploying the NetBackup Kubernetes operator, you must install the Helm chart and provide space for persistent volume.

You must deploy the operator in each cluster, where you want to deploy NetBackup.

Configuring the Helm chart

You can use the Helm chart to deploy the NetBackup Kubernetes operator.

Note:

You must install a new NetBackup plug-in Helm chart, as Helm chart upgrade is not supported.

Before installing a new plug-in, you must uninstall the older plug-in.

To install a new Helm chart

  1. To uninstall an older plug-in, run the command:
    • helm uninstall <plugin-name> -n <namespace>

  2. To install a new plug-in, run the command:
    • helm install <plugin-name> <chart-path> -n <namespace>

Here is the Helm chart and tree structure layout:

netbackupkops-helm-chart

   ├── charts
   ├── Chart.yaml
   ├── templates
   │   └── deployment.yaml
   └── values.yaml

Directory structure:

tar --list -f netbackupkops-10.0.tar.gz
veritas_license.txt
netbackupkops-helm-chart/
netbackupkops-helm-chart/Chart.yaml
netbackupkops-helm-chart/Values.yaml
netbackupkops-helm-chart/.helmignore
netbackupkops-helm-chart/templates
netbackupkops-helm-chart/templates/development.yaml
netbackupkops-helm-chart/Charts/

To deploy the NetBackup Kubernetes operator:

  1. Download the tar package from Veritas Support website: https://www.veritas.com/content/support
  2. Extract the package to the home directory. The netbackupkops-helm-chart folder should be in the home directory.
  3. To list all cluster contexts, run the command: kubectl config get-contexts
  4. To switch to the cluster where you want to deploy the operator service, run the command:

    kubectl config use-context <cluster-context-name>

  5. To change the current directory to your home directory, run the command: cd ~
  6. If you use a private docker registry, follow the instructions in this step to create a secret nb-docker-cred in NetBackup namespace. Otherwise, skip to the next step.
    • To log on to the private docker registry, run the command: docker login -u <user name><repo-name>

      After log in, the config.json file containing the authorization token is created or updated. To view the config.json file, run the command: cat ~/.docker/config.json

      The output looks like:

      {
         "auths": {
             "https://index.docker.io/v1/": {
                 "auth": "c3R...zE2"
            }
         }
      }
    • To create a secret named as netbackupkops-docker-cred in the NetBackup namespace, run the command:

      kubectl create secret generic netbackupkops-docker-cred \

      --from-file=.dockerconfigjson=.docker/config.json \

      --type=kubernetes.io/dockerconfigjson -n netbackup

      You can provide any namespace to create a secret.

    • To check if the secret netbackupkops-docker-cred is created in the NetBackup namespace, run the command:

      kubectl get secrets -n netbackup

  7. To load the image to the docker cache and push the image to the docker image repository, run the 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>

  8. Open the netbackupkops-helm-chart/values.yaml file in a text editor and then replace the value for image in the manager section, with your image name and tag repo-name/image-name:tag-name and then save the file.
  9. To deploy the NetBackup Kubernetes operator service, run the command:

    helm install <release name of the deployment> ./netbackupkops-helm-chart -n <namespace which runs NetBackup operator service>

    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 and NetBackup is intended to run.

  10. To check the status of the deployment, run the command:

    helm list -n <namespace which runs NetBackup operator service >

    Example:

    helm list -n netbackup

  11. To check the release history, run the command:

    helm history veritas-netbackupkops -n

    <namespace which runs NetBackup operator service>.

    Example:

    helm history veritas-netbackupkops -n netbackup