Open kos-team opened 1 month ago
Thanks for your report. Currently, we need to config an empty config
for these components to let operator create an empty ConfigMap.
I see. Should the default value for the config
get changed to empty string?
I see. Should the default value for the
config
get changed to empty string?
yes. an empty string may be better.
Bug Report
What version of Kubernetes are you using? Client Version: v1.31.1 Kustomize Version: v5.4.2 Server Version: v1.29.1
What version of TiDB Operator are you using? v1.6.0
What's the status of the TiDB cluster pods? All the pods are in the
ContainerCreating
state, because the referenced ConfigMap does not exist.What did you do? We created a tidb cluster without specifying the
spec.tidb.config
property.Reproduction Steps
spec.tidb.config
property in the CR, e.g.:What did you expect to see? We expected to see that the cluster started running and be in
Healthy
stateWhat did you see instead? We saw that all Pods were stuck in the
ContainerCreating
state due to theconfigMap
did not exist. The same issue happened when we try to create TiKV withoutspec.tikv.config
which suggests that all TiDB components are affected by this bug.