Dynamically created services

I want to create a cloud service, where clients create services dynamically… A service is basically one pod running an API container, let’s say nginx and is accessed through ingress-controller specific url path.

How do I create and maintain these services dynamically, which means being able to spin them up again in case of node failure.

Thanks

Hace you looked the docs to create a deployment? Or am I missing something?

Kubernetes is good at managing stateless resources because everything is ephemeral… but when you provide a hosting service to hundreds of customers the issue becomes complicated … because you have to maintain the state (user customization) and be able to upgrade , rollback , reload in case of node failure …

What is the state? A configmap?

And what is the question, then? Sorry, I really don’t follow

1 Like