Pod Configuration
This section describes how to configure the Pod of a Backup.
Resource Requirements
It is possible to set the resource requirements of the Pod of the Backup process.
To do so, set the .spec.resources
field to a
ResourceRequirements object.
It is advised to set the memory limits to the same value as the memory requests, and to not set any CPU limit.
To define how much CPU and memory is needed, see the Backup Requirements.
Service Account
A ServiceAccount is used to provide an identity for processes that run in a Pod . The identity is used to determine what resources the process has access to.
To configure the ServiceAccount that will be attached to the Pod of the Backup,
set the .spec.serviceAccountName
field to the name of the ServiceAccount.
Arguments
It is possible to add extra arguments to the Backup process. This can be useful for debugging or for enabling additional features.
To do so, add the .spec.extraArgs
field with a list of args.
Environment Variables
It is possible to set environment variables for the Backup process.
To do so, set the .spec.extraEnvVars
field to a list of environment variables.
Image Pull Secrets
When using a private container registry, it is necessary to provide credentials to pull images from the registry.
It is possible to set the image pull secrets for the Pod of the Backup process. Note that this feature is also available as a global setting during the installation of the operator. This section is only for setting the image pull secrets for a specific Backup.
To set the image pull secrets, set the .spec.imagePullSecrets
field to an array of objects with the name of a Secret.
Tolerations
It is possible to set Tolerations for the Pod of the Backup process.
To do so, set the .spec.tolerations
field to a list of tolerations.
Note that these tolerations are in addition to the default tolerations set by the operator.
Affinity
It is possible to set the affinity of the Pod of the Backup process.
To do so, set the .spec.affinity
field to an
Affinity object.
Note that these affinities override the default affinities set by the operator.
Node Selector
It is possible to set the node selector of the Pod of the Backup process.
To do so, set the .spec.nodeSelector
field to a map of key-value pairs.
Note that this overrides the default node selector set by the operator.