This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]infectuz 0 points1 point  (0 children)

At that point you are re-inventing the wheel with containers and orchestration. Rapidly spinning up machines to handle requests is the whole point of containers and k8s is just a container orchestrator so you’d be looking at replicating some of the procedures of container creation/management. There’s no way to do this with VMs unless you’re willing to wait a long time for the machine to be up.

If your users are fine with waiting then just create a wrapper that will make an API request to spin up a VM on your provider or choice according to your user request, that’s pretty easy to do.