Deploying the operators
To perform these steps, log on to the Linux workstation or VM where you have extracted the TAR file.
To deploy the operators
- Use the following command to save the operators chart values to a file:
helm show values operators-<version>.tgz operators-values.yaml
- Use the following command to edit the chart values to fit your requirement:
vi operators-values.yaml
- Execute the following command to deploy the operators:
helm upgrade --install operators operators-<version>.tgz -f operators-values.yaml --create-namespace --namespace netbackup-operator-system
Or
If using the OCI container registry, use the following command:
helm upgrade --install operators oci://abcd.veritas.com:5000/helm-charts/operators --version <version> -f operators-values.yaml --create-namespace --namespace netbackup-operator-system
Following is the output of the above command:
$ helm show values operators-11.1.x.x.xxxx.tgz > operators-values.yaml $ $ vi operators-values.yaml $ $ helm upgrade --install operators operators-11.1.x.x.xxxx.tgz \ > -f operators-values.yaml \ > --create-namespace \ > --namespace netbackup-operator-system Release "operators" does not exist. Installing it now. NAME: operators LAST DEPLOYED: Tue Feb 27 00:01:29 2024 NAMESPACE: netbackup-operator-system STATUS: deployed REVISION: 1 TEST SUITE: None
Following is an example for
operators-values.yamlfile which includes the parameter for private registry support.flexsnap-operator: image: name: veritas/flexsnap-deploy pullPolicy: Always tag: 11.1.0.0-1001-ar1 namespace: labels: {} nodeSelector: node_selector_key: agentpool node_selector_value: nbuxpool replicas: 1 global: containerRegistry: name.azurecr.io operatorNamespace: netbackup-operator-system platform: aks storage: aks: storageAccountName: null storageAccountRG: null eks: fileSystemId: fs-id timezone: null msdp-operator: corePattern: /core/core.%e.%p.%t image: name: msdp-operator pullPolicy: Always tag: 21.1-0002-ar1 logging: age: 28 debug: false num: 20 namespace: labels: control-plane: controller-manager nodeSelector: {} replicas: 2 resources: limits: {} requests: cpu: 150m memory: 150Mi storageClass: name: nb-disk-premium size: 5Gi nb-operator: flexsnap-operator: image: tag: 11.1.0.0-1001-ar1 image: name: netbackup/operator pullPolicy: Always tag: 11.1-0004-ar1 loglevel: value: "0" msdp-operator: image: tag: 21.1-0002-ar1 namespace: labels: nb-control-plane: nb-controller-manager nodeSelector: node_selector_key: agentpool node_selector_value: nbuxpool