weixin_39716160 2020-11-19 12:00
浏览 0

Provision pods immediately for faster node auto-provisioning

Currently when a new tidb cluster is created, new PD pods are created immediately. Then TiKV once PD is ready and TiDB once TiKV is ready.

Node auto provisioning looks at pending pods. Currently, the TiDB pods won't show up for a while, and their nodes are not auto-provisioned until then.

I would like to work out a design for a mode to create all the pods immediately on install (I don't care about upgrade). The pods would be initially created so that they are not schedulable (I think that means they have to request a resource that is not available?). Or they could be created so that they are scheduleable, but only start running a pause container until their dependencies are ready.

It is possible that this is generally useful for a user of tidb-operator to understand if they have capacity for all the pods that will be created.

  • 写回答

7条回答 默认 最新

  • weixin_39716160 2020-11-19 12:00
    关注

    We do already create the services ahead of time.

    评论

报告相同问题?