Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying controller to support multiple github organizations #442

Closed
tzejohn opened this issue Apr 7, 2021 · 3 comments
Closed

Deploying controller to support multiple github organizations #442

tzejohn opened this issue Apr 7, 2021 · 3 comments

Comments

@tzejohn
Copy link

tzejohn commented Apr 7, 2021

Is there any guidance around deploying this controller in a single EKS cluster to support multiple different GitHub organizations? We have a couple github.com hosted organizations, as well as an on-prem Github Enterprise instance. I was looking to support all of those with actions runners running in the same EKS cluster.

@callum-tait-pbx
Copy link
Contributor

callum-tait-pbx commented Apr 7, 2021

You probably want to explore deploying multiple controllers using the watchNamespace feature, it's not really documented unfortunately. The feature was added as part of #377, you might be able to gleam more details from the issue.

@mumoshu can provide more details if you get stuck

@mumoshu
Copy link
Collaborator

mumoshu commented Apr 7, 2021

Yeah, if you also need to isolate each organization('s runners) into a dedicated namespace, --watch-namespace should be handy.

In the Helm chart it is configurable via:

https://github.com/summerwind/actions-runner-controller/blob/b42b8406a2b6d606ef9b531867720039e1de1b42/charts/actions-runner-controller/values.yaml#L103-L104

Also, if you're okay with sharing the GitHub token/app and the namespace across GitHub orgs, I believe just creating RunnerDeployments with various organization field values work.

@mumoshu
Copy link
Collaborator

mumoshu commented May 2, 2021

Please let me move this to Discussions as the question is already answered, the feature that supports the use case already exists, and the documentation enhancement is tracked in another issue #455.

@mumoshu mumoshu closed this as completed May 2, 2021
@actions actions locked and limited conversation to collaborators May 2, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants