Pod Configuration
This page describes the configuration options for the Job of a SchemaRegistryRestore.
To set global configurations for all SchemaRegistryRestore resources, see the Default Pod Settings section.
Resource Requirements
It is possible to set the resource requirements of the Job of the SchemaRegistryRestore 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.
Service Account
A ServiceAccount is used to provide an identity for processes that run in a Job. The identity is used to determine what resources the process has access to.
It is possible to set the ServiceAccount for the Job of the SchemaRegistryRestore 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 SchemaRegistryRestore 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 SchemaRegistryRestore 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 Job of the SchemaRegistryRestore 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 SchemaRegistryRestore.
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 Job of the SchemaRegistryRestore 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 Job of the SchemaRegistryRestore 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 Job of the SchemaRegistryRestore 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.