This document collects frequently asked questions (FAQs) about the TiDB cluster in Kubernetes.
The default time zone setting for each component container of a TiDB cluster in Kubernetes is UTC. To modify this setting, take the steps below based on your cluster status:
If it is the first time you deploy the cluster:
values.yaml file of the TiDB cluster, modify the
timezone setting. For example, you can set it to
timezone: Asia/Shanghai before you deploy the TiDB cluster.
If the cluster is running:
values.yamlfile of the TiDB cluster, modify
timezonesettings in the
values.yamlfile of the TiDB cluster. For example, you can set it to
timezone: Asia/Shanghaiand then upgrade the TiDB cluster.