Hello all, 

I am super new to kubernetes and I have a usecase where I would need to deploy 
a specific container(app) which does the following steps..

a) does some operations(business logic)
b) need to build an image from a Dockerfile and publish to registry(through API)
c) deploy POD(s) with that image.(create a deployment)(through API)

Basically, this app can be a master Pod of sorts and that creates a 
multi-container pod through API on the cluster.

If it is possible for that master pod/container(app) to create pods through 
API, I would just need to build image, push to private registry and then create 
a deployment on k8s from that app. 

I did look into init containers, and the reason why I feel init containers 
cannot be used is because there will be good amount of business logic on the 
master POD(app).

I am planning to use the master POD as a way to manage the multi-container POD 
that it created along with other business logic. 



Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to