PumpSpec

(Appears on: TidbClusterSpec)

PumpSpec contains details of Pump members

FieldDescription
ComponentSpec
ComponentSpec

(Members of ComponentSpec are embedded into this type.)

ResourceRequirements
Kubernetes core/v1.ResourceRequirements

(Members of ResourceRequirements are embedded into this type.)

replicas
int32

The desired ready replicas

baseImage
string
(Optional)

TODO: remove optional after defaulting introduced Base image of the component, image tag is now allowed during validation

storageClassName
string
(Optional)

The storageClassName of the persistent volume for Pump data storage. Defaults to Kubernetes default storage class.

GenericConfig
github.com/pingcap/tidb-operator/pkg/util/config.GenericConfig

(Members of GenericConfig are embedded into this type.)

(Optional)

TODO: add schema The configuration of Pump cluster.

setTimeZone
bool

For backward compatibility with helm chart