Replies: 1 comment 2 replies
-
Hey, You are correct, deployment is only used to create controller manager deployment. The way scale-sets are created is that they are spinning up runners based on the workflows acquired from the service. There is no HPA in the ARC running scale sets. It also would not work. We are creating a JIT token for a runner, so each runner has only one registration token. Spinning up the same pod would result in a duplicated session and fail. HPA is not an option |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is using replicas and setting cpu limit and requests plus HPA an option for when you use the setup that has the controller and scalesets (dind)?
I cannot seem to find info/directions on how to allow the pods to have replicas? I want to set limit/request values for cpu low, but allow the pods to scale based on cpu 50% or greater for example. The commands/documents like https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-scale?tabs=azure-cli#autoscale-pods don't seem to apply for github runners using arc and runner scalesets. The only deployment I see is for the controller itself. The controller values.yaml does allow you to set replica count greater than one, but I think that would just apply to the controller, not the runners themselves.
Please let me know if HPA is an option or not or if I am missing the point somehow of the controller/runner scaleset solution and why.
Beta Was this translation helpful? Give feedback.
All reactions