NetBackup™ Deployment Guide for Kubernetes Clusters
- Introduction
- Section I. Configurations
- Prerequisites
- Recommendations and Limitations
- Configurations
- Configuration of key parameters in Cloud Scale deployments
- Section II. Deployment
- Section III. Monitoring and Management
- Monitoring NetBackup
- Monitoring Snapshot Manager
- Monitoring MSDP Scaleout
- Managing NetBackup
- Managing the Load Balancer service
- Managing PostrgreSQL DBaaS
- Performing catalog backup and recovery
- Managing MSDP Scaleout
- Section IV. Maintenance
- MSDP Scaleout Maintenance
- PostgreSQL DBaaS Maintenance
- Patching mechanism for Primary and Media servers
- Upgrading
- Cloud Scale Disaster Recovery
- Uninstalling
- Troubleshooting
- Troubleshooting AKS and EKS issues
- Troubleshooting AKS-specific issues
- Troubleshooting EKS-specific issues
- Troubleshooting AKS and EKS issues
- Appendix A. CR template
Webhooks validation for EKS
This section describes the working, execution and status details of the Webhooks validation for EKS.
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 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.
Note the following points.
A Webhook is an HTTP call back: An HTTP POST that occurs when an event-notification is sent through HTTP POST. A web application implementing Webhooks will POST a message to a URL when certain tasks happen.
Webhooks are called when the following command is applied to create/update the environment to validate the CR input provided into the yaml file:
kubectl apply -f sample/environment.yaml
Webhook validates each check in sequence. Even if one of the validation fails then a validation error is displayed and the execution is stopped.
The error must be fixed and the
environment.yaml
file must be applied so that the next validation check is performed.The environment is created only after webhook validations are passed.