Installing the docker images for NetBackup
The NetBackup package VRTSk8s-netbackup-<version>.tar.gz for Kubernetes includes the following:
A docker image for NetBackup operator
3 docker images for NetBackup: operator, main, media and requestrouter
To install the docker images
- Download
VRTSk8s-netbackup-<version>.tar.gzfrom the Veritas site. - Run the following commands to load the docker images to the local docker instance:
$ docker load -i netbackup-main-<version>.tar.gz
$ docker load -i netbackup-media-<version>.tar.gz
$ docker load -i netbackup-operator-<version>.tar.gz
$ docker load -i netbackup-requestrouter-<version>.tar.gz
Run the command docker image ls command to confirm that the NetBackup images are loaded properly to the docker cache.
<version>: Represents the NetBackup product version.
- Run the following commands to re-tag the images to associate them with your container registry, keep the image name and version same as original:
(AKS-specific): $ REGISTRY=<example.azurecr.io> (Replace with your own container registry name)
(EKS-specific): $ REGISTRY=<<AccountID>.dkr.ecr.<region>.amazonaws.com
$ docker tag netbackup/main:<version> ${REGISTRY}/netbackup/main:<version>
$ docker tag netbackup/media:<version> ${REGISTRY}/netbackup/media:<version>
$ docker tag netbackup/operator:<version> ${REGISTRY}/netbackup/operator:<version>
$ docker tag netbackup/requestrouter:<version> ${REGISTRY}/netbackup/requestrouter:<version>
- (EKS-specific) Login using the following command:
docker login -u AWS -p $(aws ecr get-login-password --region <region-name>) <account-id>.dkr.ecr.<region-name>.amazonaws.com
If the repository is not created, then create the repository using the following command:
aws ecr create-repository --repository-name <image-name> --region <region-name>
For example, aws ecr create-repository --repository-name veritas/flexsnap-datamover --region us-east-2
- Run the following commands to push the images to the container registry:
$ docker push ${REGISTRY}/netbackup/main:<version>
$ docker push ${REGISTRY}/netbackup/media:<version>
$ docker push ${REGISTRY}/netbackup/operator:<version>
$ docker push {REGISTRY}/netbackup/requestrouter:<version>