OneDev agent on Kubernetes (OD-1864)
andrzej opened 2 years 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 2 years 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' 2 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-1864
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover