actions / actions/actions-runner-controller
Support scale subresource to scale Runners with kubectl
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 1.5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 27
Description
Is your feature request related to a problem? Please describe.
According to https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#subresources :
Custom resources support
/statusand/scalesubresources.
The status and scale subresources can be optionally enabled by defining them in the CustomResourceDefinition.
Describe the solution you'd like
Being able to scale RunnerDeployments, RunnerStatefulSets and/or RunnerReplicaSets with kubectl:
kubectl scale rdeploy github-runner --replicas=4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked actions.summerwind.dev_runnerdeployments.yaml CRD definition and inspect how RunnerDeployments, RunnerStatefulSets, and RunnerReplicaSets are represented. Verify the Kubernetes scale subresource behavior with the kubectl scale example; done means the requested runner resources can be scaled through kubectl.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100