-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't workinggha-runner-scale-setRelated to the gha-runner-scale-set modeRelated to the gha-runner-scale-set mode
Description
Checks
- I've already read https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors and I'm sure my issue is not covered in the troubleshooting guide.
- I am using charts that are officially provided
Controller Version
0.10.1
Deployment Method
Helm
Checks
- This isn't a question or user support case (For Q&A and community support, go to Discussions).
- I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
To Reproduce
1. Add values for `template.spec.resources` in the gha-runner-scale-set Helm chart valuesDescribe the bug
Kubernetes 1.32 adds the ability to set resource limits on the pod level, the CRD definition for AutoscalingRunnerSet does not allow this. Doing so results in
failed to create typed patch object (arc-runners/cicd-pipelines-dev; actions.github.com/v1alpha1, Kind=AutoscalingRunnerSet): .spec.template.spec.resources: field not declared in schema
Describe the expected behavior
AutoscalingRunnerSet should support pod level resource limits
Additional Context
template:
spec:
resources:
requests:
cpu: "2000m"
memory: "1000Mi"
limits:
cpu: "2000m"
memory: "8000Mi"Controller Logs
failed to create typed patch object (arc-runners/cicd-pipelines-dev; actions.github.com/v1alpha1, Kind=AutoscalingRunnerSet): .spec.template.spec.resources: field not declared in schemaRunner Pod Logs
failed to create typed patch object (arc-runners/cicd-pipelines-dev; actions.github.com/v1alpha1, Kind=AutoscalingRunnerSet): .spec.template.spec.resources: field not declared in schemaMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggha-runner-scale-setRelated to the gha-runner-scale-set modeRelated to the gha-runner-scale-set mode