Resource Quotas
This page outlines necessary resource quotas required within the install namespace to support backup resources, ensuring that resource constraints do not lead to operational failures.
For guidance on setting quotas in Kubernetes, refer to the official documentation: Kubernetes Resource Quotas.
Resource Requirements:
All jobs are exclusively created in the install namespace(namespace where T4K is installed), and as such, quotas are only required for that namespace.
Target Validation:
Resource | Resource Kind | Resource Type | Number of PVCss | Number of Pods |
---|---|---|---|---|
Target Validator | Job | Ephemeral | 1 PVC (for NFS Storage) | 1 Pod |
Note: While the Target Validator pod is ephemeral, the associated PVC remains static.
Target Browsing:
Resource | Resource Kind | Resource Type | Number of PVCss | Number of Pods |
---|---|---|---|---|
Target Browser | Deployment | Static | 1 PVC (for NFS Storage) | 1 Pod |
Backup or Restore:
The jobs in the install namespace are ephemeral. They'll be automatically removed when their related operations are successfully completed.
In the event of an operation failure, the corresponding job will persist. To clean up any remaining failed jobs, you can do so by deleting the respective operation's Custom Resource.
Quota requirements for sample application with 5 PVCs
This is an example for an application with 5PVCs. Make sure to tailor the quota settings to match the specific PVC requirements of your application.
Resource | Resource Kind | Number of PVCs | Number of Pods |
---|---|---|---|
DataMover (for an application with 5 PVCs) | 5 Jobs | 5 PVCs | 5 Pods |
MetaMover | 2 Jobs | - | 2 Pods |
Image Backup | 1 Job | - | 1 Pod |
Retention | 1 Job | - | 1 Pod |
Hook (Quiesce) | 1 Job | - | 1 Pod |
Hook (UnQuiesce) | 1 Job | - | 1 Pod |
If sufficient quota for any of the resources is not available then operation might result in failure. With above example, if you have quota of 4 PVCs only, then creation of 5th PVC will fail which will result in failed Backup
Last updated