#1864  OneDev agent on Kubernetes
Closed
andrzej opened 2 weeks ago

We have a Kubernetes cluster on which OneDev is running and we are using for builds with Kubernetes executor. However, as one of the builds takes a lot of memory and processing power, we would like to schedule it to run on a different hardware. I'm aware that right now we could do that using OneDev agent and Docker, however, as we have a second Kubernetes cluster (different hardware and provider), we would like to run those builds on this second cluster.

Would it be possible?

I tried using OneDev agent and it started, but failed to run builds as we have build steps that relay on containers and there is no docker available on Kubernetes cluster on which OneDev agent is running.

Robin Shen commented 1 week ago

You may add two k8s executors. The first executor uses default setting to use current cluster. The second executor should be configured with a config file in more settings to point to the other cluster. Then configure your memory demanding jobs to run on second executor.

Robin Shen changed state to 'Closed' 1 week ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1864
Please wait...
Page is in error, reload to recover