Closed sokada1221 closed 5 years ago
Thanks for your detailed report Shinno, the problem is that the helm_release
resource will wait for all resources running by default. I thinks we should disable waiting for helm release, then the behavior will be same as an ordinary helm install.
Sounds good Aylei! Thanks.
Bug Report
What version of Kubernetes are you using?
What version of TiDB Operator are you using? latest master
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
What's the status of the TiDB cluster pods?
What did you do?
deploy/aws/default-cluster.yaml
:terraform apply
fromdeploy/aws
What did you expect to see? Helm deployment completes within the default timeout (5 minutes?) so that
terraform apply
successfully completes.What did you see instead?
terraform apply
fails due to timeout during helm release.Root cause is that the pvc is pending and waiting for the cronjob to be triggered for the first time. Helm release is pending until pvc is bound.
Workaround
OR
timeout
argument for thehelm_release
resource so that the terraform waits until the configured cronjob is triggered for the first time.