Closed yeya24 closed 5 years ago
@yeya24 what is the output of helm template . -f my-values.yml
?
@yeya24 the reason is kubectl apply
will autosave the resource's data to it's annotations with key name kubectl.kubernetes.io/last-applied-configuration
when created or update. that cause our monitor ConfigMap's annotations data is too big to created. so please use helm to deploy according to doc: https://pingcap.com/docs-cn/v3.0/how-to/deploy/orchestrated/tidb-in-kubernetes/general-kubernetes/
@qiffang we should avoid to use ConfigMap to save the monitor data which is too big, directly save it in image would be better.
@xiaojingchen Thanks for your reply. I will close this issue.
Bug Report
What version of Kubernetes are you using?
v1.15.0
What version of TiDB Operator are you using?
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
storage class created by local-volume-provisioner
What's the status of the TiDB cluster pods?
What did you do?
customize tidb-cluster helm chart value and then deploy using
helm template . -f my-values.yml | kubectl apply -f -
As formy-values.yml
, I only change storage class name from the original one.What did you expect to see? Install successfully
What did you see instead?
kubectl apply -f
output