Update pkg/cluster/internal/providers/nerdctl/provider.go

Add todo nerdctl handles concurrency better

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
This commit is contained in:
Kay Yan
2024-04-07 09:52:46 +08:00
parent a73cd978ae
commit 724ea1a7ae

View File

@@ -107,6 +107,8 @@ func (p *provider) Provision(status *cli.Status, cfg *config.Cluster) (err error
}
// actually create nodes
// TODO: remove once nerdctl handles concurrency better
// xref: https://github.com/containerd/nerdctl/issues/2908
for _, f := range createContainerFuncs {
if err := f(); err != nil {
return err