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
How does the webhook validation works
Webhooks are implemented to validate the CR input provided in the
sample/environment.yaml
file which is the interface of NetBackup installation on the EKS cluster.For each user input in the
sample/environment.yaml
file a validation webhook is implemented.If any of the input value is not in the required form, then webhooks displays an error and prevents the creation of an environment.
For primary server deployment, following webhook validations have been implemented:
Validate PV and PVC exists: This check ensures that the PV and PVC created using static provisioning exists. User must create PV and PVC in the form of recommended naming conventions other wise the check will fail.
Validate RetainReclaimPolicy: This check verifies that the storage classes used for PVC creation in the CR have reclaim policy as
The check fails if any of the webhook do not have the reclaim policy.Validate MinimumVolumeSize: This check verifies that the PVC storage capacity meets the minimum required volume size for each volume in the CR. The check fails if any of the volume capacity sizes does not meet the following requirements for Primary server.
Catalog volume size: 100Gi
Log volume size: 30Gi
Data volume size: 30Gi
Validate CSI driver: This will verify that the PV created is provisioned using the
efs.csi.aws.com
driver, that is, AWS Elastic file system (EFS) for volumes catalog. If any other driver type is used, the webhook fails.Validate AWS Elastic file system (EFS) controller add-on: Verifies if the AWS Elastic file system (EFS) controller add-on is installed on the cluster. This AWS Elastic file system (EFS) controller is required to use EFS as persistence storage for pods which will be running on cluster. Webhooks will check the EFS controller add-on is installed and it is running properly. If no, then validation error is displayed.
AWS Load Balancer Controller add-on check: Verifies if the AWS load balancer controller add-on is installed on the cluster. This load balancer controller is required to use load balancer in the cluster. Webhooks will check the load balancer controller add-on is installed and it is running properly. If no, then a validation error is displayed.