NetBackup™ Deployment Guide for Amazon Elastic Kubernetes Services (EKS) Cluster
- Introduction to NetBackup on EKS
- Deployment with environment operators
- Assessing cluster configuration before deployment
- Deploying NetBackup
- About primary server CR and media server CR
- Upgrading NetBackup
- Deploying MSDP Scaleout
- Upgrading MSDP Scaleout
- Monitoring NetBackup
- Monitoring MSDP Scaleout
- Managing the Load Balancer service
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- About MSDP Scaleout maintenance
- Uninstalling MSDP Scaleout from EKS
- Troubleshooting
- Appendix A. CR template
Preparing the environment for NetBackup installation on EKS
Ensure that the following prerequisites are met before proceeding with the deployment:
EKS-specific requirements
- Create a Kubernetes cluster with the following guidelines:
Use Kubernetes version 1.21 onwards.
AWS default CNI is used during cluster creation.
Create a nodegroup with only one availability zone and instance type should be of atleast m5.4xlarge configuration.
Note:
Using separate nodegroups is required for NetBackup servers and MSDP deployments. If more than one mediaServer objects are created then they should use separate nodegroups.
The nodepool uses AWS manual or autoscaling group feature which allows your nodepool to scale by provisioning and de-provisioning the nodes as required automatically.
Note:
All the nodes in node group must be running on the Linux operating system.
Minimum required policies in IAM role:
AmazonEKSClusterPolicy
AmazonEKSWorkerNodePolicy
AmazonEC2ContainerRegistryReadOnly
AmazonEKS_CNI_Policy
AmazonEKSServicePolicy
- Use an existing AWS Elastic Container Registry or create a new one and ensure that the EKS has full access to pull images from the elastic container registry.
- Deploy aws load balancer controller add-on in the cluster.
For more information on installing the add-on, see Installing the AWS Load Balancer Controller add-on.
- Install cert-manager by using the following command:
$ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
For more information, see Documentation for cert-manager installation.
- The FQDN that will be provided in primary server CR and media server CR specifications in networkLoadBalancer section must be DNS resolvable to the provided IP address.
- Amazon Elastic File System (Amazon EFS) for shared persistence storage. To create EFS for primary server, see Create your Amazon EFS file system.
EFS configuration can be as follow and user can update Throughput mode as required:
Performance mode: General Purpose
Throughput mode: Provisioned (256 MiB/s)
Availability zone: Regional
Note:
Throughput mode can be increased at runtime depending on the size of workloads and also if you are seeing performance issue you can increase the Throughput mode till 1024 MiB/s.
- If NetBackup client is outside VPC or if you want to access the WEB UI from outside VPC then NetBackup client CIDR must be added with all NetBackup ports in security group inbound rule of cluster. For more information on NetBackup ports, See About the Load Balancer service..
To obtain the cluster security group, run the following command:
aws eks describe-cluster --name <my-cluster> --query cluster.resourcesVpcConfig.clusterSecurityGroupId
The following link helps to add inbound rule to the security group:
- Create a storage class with
EBS
storage type withallowVolumeExpansion = true
andReclaimPolicy=Retain
. This storage class is to be used for data and log for both primary and media servers. - The EFS based PV must be specified for Primary server catalog volume with
ReclaimPolicy=Retain
.
Host-specific requirements
- Install AWS CLI.
For more information on installing the AWS CLI, see Installing or updating the latest version of the AWS CLI.
- Install Kubectl CLI.
For more information on installing the Kubectl CLI, see Installing kubectl.
- Configure docker to enable the push of the container images to the container registry.
- Create the OIDC provider for the AWS EKS cluster.
For more information on creating the OIDC provider, see Create an IAM OIDC provider for your cluster.
- Create an IAM service account for the AWS EKS cluster.
For more information on creating an IAM service account, see Amazon EFS CSI driver.
- If an IAM role needs an access to the EKS cluster, run the following command from the system that already has access to the EKS cluster:
kubectl edit -n kube-system configmap/aws-auth
For more information on creating an IAM role, see Enabling IAM user and role access to your cluster.
- Login to the AWS environment to access the Kubernetes cluster by running the following command on AWS CLI:
aws eks --region <region_name> update-kubeconfig --name <cluster_name>
- Free space of approximately 8.5GB on the location where you copy and extract the product installation TAR package file. If using docker locally, there should be approximately 8GB available on the
/var/lib/docker
location so that the images can be loaded to the docker cache, before being pushed to the container registry. - AWS EFS-CSI driver should be installed for static PV/PVC creation of primary catalog volume.