TidbInitializer

TidbInitializer is a TiDB cluster initializing job

FieldDescription
apiVersion
string
pingcap.com/v1alpha1
kind
string
TidbInitializer
metadata
Kubernetes meta/v1.ObjectMeta
Refer to the Kubernetes API documentation for the fields of the metadata field.
spec
TidbInitializerSpec

Spec defines the desired state of TidbInitializer



image
string
cluster
TidbClusterRef
imagePullPolicy
Kubernetes core/v1.PullPolicy
(Optional)
permitHost
string
(Optional)

permitHost is the host which will only be allowed to connect to the TiDB.

initSql
string
(Optional)

InitSql is the SQL statements executed after the TiDB cluster is bootstrapped.

initSqlConfigMap
string
(Optional)

InitSqlConfigMapName reference a configmap that provide init-sql, take high precedence than initSql if set

passwordSecret
string
(Optional)
resources
Kubernetes core/v1.ResourceRequirements
(Optional)
timezone
string
(Optional)

Time zone of TiDB initializer Pods

status
TidbInitializerStatus

Most recently observed status of the TidbInitializer