Deploying Cloud Scale using kubectl plugin
To deploy Cloud Scale using kubectl plugin
- Download the NetBackup TAR package from Cohesity Download Center which contains the kubectl plugin.
- Extract the contents of the TAR file.
- Execute the following command:
./kubectl-cloudscale install
/xxx/xx/VRTSk8s-netbackup-11.1-xxxx/bin kubectl-cloudscale kubectl-msdp [root@user bin]# ./kubectl-cloudscale -h A kubectl plugin to manage cloudscale installation, upgrade and uninstallation Usage: kubectl-cloudscale [flags] kubectl-cloudscale [command] Available Commands: help Help about any command install Install's the CloudScale setup uninstall Uninstall the CloudScale setup. upgrade Upgrades the CloudScale setup Flags: -h, --help help for kubectl-cloudscale Use "kubectl-cloudscale [command] --help" for more information about a command. [root@user bin]#
- Provide inputs for the installation that follow.
Note:
You can skip the image validation for image tags by running the following command:
kubectl create configmap cs-image-validation-config -n <netbackup-namespace> --from-literal=SKIP_IMAGE_VALIDATION=true
Note:
The following CLI example is for AKS.
For AWS, eks-specific inputs would be required (such as file-system and so on).
Provide the file path of the extracted Cloud Scale folder: /new-disk/VRTSk8s-netbackup-11.1-0004 Provide a namespace for the Environment: nb registry? (y/n): n Provide the container registry where the Cloud Scale images are stored (for example, example.azurecr.io or 123456789012.dkr.ecr.us-east-1.amazonaws.com): nbuk8sreg.azurecr.io Provide the image tag for NetBackup images: 11.1-0004-ar1 Validating images... Provide the image tag for MSDP images: 21.1-0002-ar1 Validating images... Provide the image tag for NetBackup Snapshot Manager images: 11.1.0.0-1001-ar1 Validating images... Provide a name for the Environment: anuj Provide the timezone (for example, /usr/share/zoneinfo/Asia/Kolkata) or press enter to use the default timezone: Provide the node selector key value pair in the key=value format: agentpool=nbuxpool Provide the node selector key value pair for the Media server in the key=value format: agentpool=mediapool Provide the node selector key value pair for the MSDP server in the key=value format: agenntpoool=msdpxpool Provide the node selector key value pair for the data plane of the NetBackup Snapshot Manager server in the key=value format: agentpool = cppool Provide the image tag for PostgreSQL images: 16.10.1.0-0001-ar1 Validating images... Provide the prefix for the media server name: media Specify the maximum number of replicas for the Media server: 1 Specify the scale-out size or replica for the MSDP server: 1 Provide the IP address for the primary server loadbalancer: xx.xxx.xx.xx Provide the FQDN for the Primary server loadbalancer: nbux-xx-xxx-xx-xx.vxindia.veritas.com Provide the IP address for the MSDP server loadbalancer: xx.xxx.xx.xx Provide the FQDN for the MSDP server loadbalancer: nbux-xx-xxx-xx-xx.vxindia.veritas.com Provide the IP address for NetBackup Snapshot Manager server loadbalancer: xx.xxx.xx.xx Provide the FQDN for NetBackup Snapshot Manager loadbalancer: nbux-xx-xxx-xx-xx.vxindia.veritas.com Provide the username for the Primary server credentials: root Provide the password for the Primary server credentials: Confirm password: Provide the HMK ID for the Primary server KMS database secret: hmkid Provide the HMK passphrase for the Primary server KMS database secret: Confirm password: Provide the KPK ID for the Primary server KMS database secret: kpkid Provide the KPK passphrase for the Primary server KMS database secret: Confirm password: Provide the username for the KMS database secret: devuser Provide the passphrase for the KMS database secret: Confirm password: Provide the username for the MSDP server credentials: devuser Provide the password for the MSDP server credentials: Confirm password: Specify the subnet name that will be used for the loadbalancer: LB-RESERVED Would you like to set up the proxy for CloudPoint? (y/n): n Do you want to provide the information for the Disaster Recovery secret? (y/n): n Do you want to set the email server configuration? (y/n): n