TiDBSpec
(Appears on: TidbClusterSpec)
TiDBSpec contains details of TiDB members
Field | Description |
---|---|
ComponentSpec ComponentSpec | (Members of |
ResourceRequirements Kubernetes core/v1.ResourceRequirements | (Members of |
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 |
service TiDBServiceSpec | (Optional) Service defines a Kubernetes service of TiDB cluster. Optional: No kubernetes service will be created by default. |
binlogEnabled bool | (Optional) Whether enable TiDB Binlog, it is encouraged to not set this field and rely on the default behavior Optional: Defaults to true if PumpSpec is non-nil, otherwise false |
maxFailoverCount int32 | (Optional) MaxFailoverCount limit the max replicas could be added in failover, 0 means no failover Optional: Defaults to 3 |
separateSlowLog bool | (Optional) Whether output the slow log in an separate sidecar container Optional: Defaults to true |
tlsClient TiDBTLSClient | (Optional) Whether enable the TLS connection between the SQL client and TiDB server Optional: Defaults to nil |
slowLogTailer TiDBSlowLogTailerSpec | (Optional) The spec of the slow log tailer sidecar |
plugins []string | (Optional) Plugins is a list of plugins that are loaded by TiDB server, empty means plugin disabled |
config TiDBConfig | (Optional) Config is the Configuration of tidb-servers |