Prerequisites to install the extension on a managed Kubernetes cluster in Azure
Choose the NetBackup Snapshot Manager image supported on Ubuntu or RHEL system that meets the NetBackup Snapshot Manager installation requirements and create a host.
See Creating an instance or preparing the host to install NetBackup Snapshot Manager.
It is not recommended to scale the cluster up or down when a job is running. It might cause the job to fail. Set the cluster size beforehand.
Verify that the port 5671 is open on the main NetBackup Snapshot Manager host.
See Verifying that specific ports are open on the instance or physical host.
The public IP of the virtual machine scale set via which the node pool is configured has to be allowed to communicate through port 22, on the workloads being protected.
Install a Docker or Podman container platform on the host and start the container service.
Prepare the NetBackup Snapshot Manager host to access Kubernetes cluster within your Azure environment.
Install Azure CLI. For more information, refer to the Azure documentation.
Install Kubernetes CLI. For more information, refer to the Kubernetes site.
Login to the Azure environment to access the Kubernetes cluster by running this command on Azure CLI:
# az login --identity
# az account set --subscription <subscriptionID>
# az aks get-credentials --resource-group <resource_group_name> --name <cluster_name>
Ensure that you create an Azure Container Registry or use the existing one if available, to which the NetBackup Snapshot Manager images will be pushed (uploaded). See Azure documentation.
To run the kubectl and container registry commands from the host system, assign the following role permissions to your VM and cluster. You can assign a 'Contributor', 'Owner', or any custom role that grants full access to manage all resources.
Navigate to your Virtual Machine and click Identity on the left.
Under System assigned tab, turn the Status to 'ON'.
Click Azure role assignment and click Add role assignments and select Scope as 'Subscription' or 'Resource Group'.
Select Role and assign the following roles :
Azure Kubernetes Service RBAC Writer, AcrPush, Azure Kubernetes Service Cluster User Role, and click Save.
Navigate to your Kubernetes cluster and click Access Control (IAM) on the left .
Click Add role assignments and select Role as 'Contributor '.
Select Assign access to as 'Virtual Machines' and select your VM from the drop-down and click Save.
While defining consider using CSI provisioner for
Azure Fileswith NFS protocol.For example,
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: test-sc parameters: skuName: Premium_LRS protocol: nfs provisioner: file.csi.azure.com reclaimPolicy: Retain volumeBindingMode: WaitForFirstConsumer
Create a namespace for NetBackup Snapshot Manager from the command line interface on host system:
# kubectl create namespace cloudpoint-system
Then create a new or use an existing managed Kubernetes cluster in Azure, and add a new node pool dedicated for NetBackup Snapshot Manager use. Configure Autoscaling as per your requirement.
Ensure that Azure plug-in is configured.