Replies: 4 comments 1 reply
-
Hello! Thank you for filing an issue. The maintainers will triage your issue shortly. In the meantime, please take a look at the troubleshooting guide for bug reports. If this is a feature request, please review our contribution guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hey @jaskolla, I will try my best to answer all questions As you pointed out, helm has some drawbacks that we need to adhere to. Helm was picked as one of the most widely used tools. There could be an argument for I'm glad that you find the design of AutoscalingRunnerSet simple. However, there are some internal variables that we are using while applying a chart. They could be documented, but instead of that, a simple The community is always welcome to write their charts. The support poses an issue here. We can offer support for our officially supported charts, but not for custom-built ones. Resources can be created in many ways, and there is just no way we can support every single one of them. To answer the question for template runners, you can provide any PodSpecTemplate. If you are building your runner image, there is just no way for us to know the entrypoint, or other configuration variables that should be exposed. ARC sets appropriate configuration variables with the assumption that the container named Any container mode that we provide contains only the off-the-shelf implementation. It does not affect the controller in any way. Customizations are very well described in this discussion post. Adding labels to resources is available, and you can control most of the visible resources. However, we do create some internal resources that we need to fully control. It would be great if you could provide an example of why would someone pick special annotations to the As for the multiple runners, all scale sets are homogenous. All runners that belong to that scale set should behave the same way. A single installation of the chart creates a single instance of the scale set. You can always use sub-charts to manage multiple installations at once. That being said, what kind of documentation would you be interested in? |
Beta Was this translation helpful? Give feedback.
-
I already did run dry-run before and found it simple, just to make it clear I am talking about following k8s kind. Can you give examples of the internal variables you are talking about, I am asking that because I don't see any in the helm generated
And
Yes, Of course. I am only asking enable others to write their own chart. Specifically, I meant that make the k8s underlying resource kind Why I think Github ARSS chart is limited, and community needs their own charts:
One example I can give is the way role is created. , It doesn't allow labels to be defined by values.yaml. Another example of not being able to define resource limits to dind containers. If you see this template function , It hardcodes everything and doesn't allow defining resource limit such as following
Yes, But the problem is, ARSS chart creates resources without giving option to disable it such as service accounts and roles. While a individual repo needs multiple runners but it doesn't make sense to create multiple service accounts.
Sorry for not being clear. I meant that containers are declared as array instead of map, which means if I want to override one property I need to declare the whole thing. Reason for that is, Helm merges the map and replaces the arrays. |
Beta Was this translation helpful? Give feedback.
-
Just checking if you can take a look at the above follow up comment. Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
Checks
Controller Version
0.6.1
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
IMO, Github runner scaled set helm chart is a not a great design ( see bottom on why I think so) and it's mostly due to helm tool's own restrictions and design choices.
AutoscalingRunnerSet is pretty simple and mostly self explanatory, I think community should be able to write their own helm chart to suit their purposes. But, I couldn't find any official documentation for AutoscalingRunnerSet, and all the docs point to using ARSS helm chart.
Reason on why helm chart is limited:
PS: Above strong opinions are my own, not related to my employer.
Describe the expected behavior
Documentation for AutoscalingRunnerSet
Additional Context
NA
Controller Logs
Runner Pod Logs
Beta Was this translation helpful? Give feedback.
All reactions