Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spawning pods dynamically at runtime from another pod

Tags:

kubernetes

Is it possible for a pod to act like a spawner? When someone calls the api service in the first pod, it should spawn a new pod. This seems like a very simple thing but I cant really figure out where to look in the docs. Someone already mentioned using operators but I dont really see how that would aid me.

Im currenlty migrating a project which uses docker as a spawner to create other dockers. I somehow need this principle to work in kubernetes pods.

Kind regards

like image 247
user16822544 Avatar asked Feb 03 '26 19:02

user16822544


1 Answers

Have you looked into Kubespawner part of JupyterHub ?

I have been trying to find alternatives to Kubespawner and Kubernetes Operators might be the answer. https://kubernetes.io/docs/concepts/extend-kubernetes/operator/

GL

like image 94
stubclan Avatar answered Feb 05 '26 08:02

stubclan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!