I am looking for a system to solve this problem, one of my Colleagues hinted me to use Kubernetes - since the "instance" can be containers with uniqe configuration it might be possible, but could anyone comment: does Kubernetes satisfies all my needs? Or maybe something else?
--
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-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
Now: how can I use API or Kubectl to create random pod of type A?
Kind regards,
Tomasz
Now we are lending access to device by manually passing access to chosen container, but my need is to automate it: developer sends request: I need device type A. System checks if there is any resource available and gives access to developer. When developer is done, he sends request: ok, I'm done. Ramp down the container. And next user can request for it.
So:
I have 3 types of devices. Each device has assigned container - to access device you have to connect to container and from there you can use device.
Containers have special environment variable describing to which device it is assigned, e.g. B4 - which means: device type B, number 4.
Now we are lending access to device by manually passing access to chosen container, but my need is to automate it: developer sends request: I need device type A. System checks if there is any resource available and gives access to developer. When developer is done, he sends request: ok, I'm done. Ramp down the container. And next user can request for it.
Let's simplify it:
can I write 5 different pod yamls, put in it a kind of "tag" and write an API request (request should have "tag" value) that will run ONE random pod from those 5?