How can i spawn a multiple instances of a container using kubernetes?

6/21/2017

I have a container(Service C) which is listening to certain user event and based on the input it needs to spawn one or more instance of an another container(Service X).

-- aks
containers
docker
kubernetes
multiple-instances

1 Answer

6/21/2017

From your use case description, it looks like deployment is what you are looking for https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ . By using deployments you can dynamically scale the number of instances of the pod.

-- Adam Otto
Source: StackOverflow