Pod Configuration
This page describes the configuration options for the Pod of a SchemaRegistryBackup.
To set global configurations for all SchemaRegistryBackup resources, see the Default Pod Settings section.
Resource Requirements
It is possible to set the resource requirements of the Pod of the SchemaRegistryBackup 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 Restore 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.
It is possible to set the ServiceAccount for the Pod of the SchemaRegistryBackup process.
To do so, set the .spec.serviceAccountName
field to the name of the ServiceAccount.
Arguments
It is possible to add extra arguments to the SchemaRegistryBackup process.
To do so, add the .spec.extraArgs
field with a list of args.
Environment Variables
It is possible to set environment variables for the SchemaRegistryBackup 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 SchemaRegistryBackup 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 SchemaRegistryBackup.
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 SchemaRegistryBackup 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 SchemaRegistryBackup 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 SchemaRegistryBackup 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.