Last active
July 30, 2022 07:12
-
-
Save VishDev12/9389520bf10afd780f6a5f64919dcaab to your computer and use it in GitHub Desktop.
Captures the two components needed for a runner using ARC.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: actions.summerwind.dev/v1alpha1 | |
| kind: RunnerDeployment | |
| metadata: | |
| name: general-runner | |
| namespace: actions-runner-system | |
| spec: | |
| template: | |
| spec: | |
| metadata: | |
| labels: | |
| - cpu-medium | |
| repository: cool-organization/private_repository | |
| resources: | |
| limits: | |
| cpu: "4" | |
| memory: "12Gi" | |
| requests: | |
| cpu: "1" | |
| memory: "4Gi" | |
| --- | |
| apiVersion: actions.summerwind.dev/v1alpha1 | |
| kind: HorizontalRunnerAutoscaler | |
| metadata: | |
| name: general-runner-autoscaler | |
| namespace: actions-runner-system | |
| spec: | |
| scaleTargetRef: | |
| name: general-runner | |
| minReplicas: 0 | |
| maxReplicas: 60 | |
| metrics: | |
| - type: TotalNumberOfQueuedAndInProgressWorkflowRuns | |
| repositoryNames: | |
| - cool-organization/private_repository |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment