On Thursday, May 17, 2018, <tomasz.szand...@gmail.com> wrote:

> 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.


What do you mean with 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.


You can easily create pods based on a yaml. And use the Kubernetes API or
kubectl to create them or delete.

IIUC, that is what you need, right?

-- 
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