TiKVSpec

(Appears on: TidbClusterSpec)

TiKVSpec contains details of TiKV 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.)

serviceAccount
string

Specify a Service Account for tikv

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

privileged
bool
(Optional)

Whether create the TiKV container in privileged mode, it is highly discouraged to enable this in critical environment. Optional: defaults to false

maxFailoverCount
int32
(Optional)

MaxFailoverCount limit the max replicas could be added in failover, 0 means no failover Optional: Defaults to 3

storageClassName
string
(Optional)

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

config
TiKVConfig
(Optional)

Config is the Configuration of tikv-servers