Page 1 of 1

Kubernetes/Docker support

PostPosted: Wed May 05, 2021 12:18 pm
by cradulescu
Hello,

Our design team is taking into consideration to use DaVinci Resolve for their work. I am trying to set up a POC as fallow:

- Environment Kubernetes
- Rendering remote on specific pods with horizontal scaling. The scaling will be done most probably on events.

Questions:
- Does DaVinci Resolve supports docker/Kubernetes?
- Did anyone has accomplished this task by now?
- Dose DaVinci officially supports docker/Kubernetes on the rendering side?

Thank you!

Re: Kubernetes/Docker support

PostPosted: Wed May 05, 2021 2:09 pm
by peterjackson
Answers: No, no, no.

It's also sort of pointless as one Resolve instance wants all the GPUs a host has to offer. Dedicated.

You may get it working in K8s, but what do you gain? GPU VM Scale Set in Azure may be way easier.

Re: Kubernetes/Docker support

PostPosted: Thu May 06, 2021 6:21 am
by cradulescu
peterjackson wrote:Answers: No, no, no.

It's also sort of pointless as one Resolve instance wants all the GPUs a host has to offer. Dedicated.

You may get it working in K8s, but what do you gain? GPU VM Scale Set in Azure may be way easier.


Thank you Peter. Regarding the GPU I will expose the CUDA device to docker. I will give it a try today to put the studio on a docker file and start from there.

Re: Kubernetes/Docker support

PostPosted: Thu May 06, 2021 6:48 am
by Igor Riđanović
I have set it up in headless mode in Docker, but it was a while ago. I can't remember how far I got. What are you trying to achieve by running a GUI bound app in a container?

Re: Kubernetes/Docker support

PostPosted: Thu May 06, 2021 10:37 am
by cradulescu
Igor Riđanović wrote:I have set it up in headless mode in Docker, but it was a while ago. I can't remember how far I got. What are you trying to achieve by running a GUI bound app in a container?


Hi Igor.

I am trying to create a "rendering farm". The horizontal scaling will be cover by "keda" based on the RabbitMQ event but the first step is to run Davinci Resolver on docker without "desktop requirements". There is a way to run it in docker but is mounting x11 from the local machine and this is not what I want. I want Davinci to run directly on docker and I will make sure I will expose the Cuda graphic card to the docker.

Re: Kubernetes/Docker support

PostPosted: Thu May 06, 2021 8:01 pm
by Igor Riđanović
Right, that kind of rings a bell. The CUDA is the tricky part. I'd love to hear an update on the project later.

Re: Kubernetes/Docker support

PostPosted: Tue May 11, 2021 5:56 pm
by cradulescu
Igor Riđanović wrote:Right, that kind of rings a bell. The CUDA is the tricky part. I'd love to hear an update on the project later.


We have decided not to be the "pioneer" and looking for other solutions that is supporting docker/kubernetes