Services such as kafka, rabbitmq can be run using multiple replicas.
For example cp-kafka with kraft
There may be an optional field where we may specify the number of replicas and the containers will be dynamically spun up and assigned port and container names, with all the environment variables required for coordination injected. The wait hook may also configurable waiting for either master, or all replicas to stabilize.