container
container copied to clipboard
[Request]: Move cluster creation / bootstrapping to helper service
Feature or enhancement request details
After this change https://github.com/apple/container/pull/2451, there exists a race condition, where when two concurrent cluster creation requests are issued at the same time the state maintained on disk may not line up with the with the running containers.
This happens because the nodes of the cluster are instantiated by the CLI where no coordination mechanisms exist.
This can be fixed my moving the business logic of node provisioning to the daemon, similar to how container machine does it.
Code of Conduct
- [x] I agree to follow this project's Code of Conduct