-
-
Save sofiegonzalez/36108f31678e4113f6911d489e1a780d to your computer and use it in GitHub Desktop.
AutoscalingRunnerSet
This file contains 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.github.com/v1alpha1 | |
kind: AutoscalingRunnerSet | |
metadata: | |
annotations: | |
actions.github.com/cleanup-github-secret-name: gha-runner-scale-set-kubernetes-gha-rs-github-secret | |
actions.github.com/cleanup-kubernetes-mode-role-binding-name: gha-runner-scale-set-kubernetes-gha-rs-kube-mode | |
actions.github.com/cleanup-kubernetes-mode-role-name: gha-runner-scale-set-kubernetes-gha-rs-kube-mode | |
actions.github.com/cleanup-kubernetes-mode-service-account-name: gha-runner-scale-set-kubernetes-gha-rs-kube-mode | |
actions.github.com/cleanup-manager-role-binding: gha-runner-scale-set-kubernetes-gha-rs-manager | |
actions.github.com/cleanup-manager-role-name: gha-runner-scale-set-kubernetes-gha-rs-manager | |
actions.github.com/runner-group-name: Default | |
actions.github.com/runner-scale-set-name: gha-runner-scale-set-kubernetes | |
actions.github.com/values-hash: 6d7d7201e9c1af1b6c83a438335a3cc73600b7e5f376cf30f5e39ac7c477a00 | |
meta.helm.sh/release-name: gha-runner-scale-set-kubernetes | |
meta.helm.sh/release-namespace: gha-runner-scale-set-runners | |
runner-scale-set-id: "8" | |
creationTimestamp: "2024-05-08T20:19:29Z" | |
finalizers: | |
- autoscalingrunnerset.actions.github.com/finalizer | |
generation: 5 | |
labels: | |
actions.github.com/organization: Medium | |
actions.github.com/repository: mono | |
actions.github.com/scale-set-name: gha-runner-scale-set-kubernetes | |
actions.github.com/scale-set-namespace: gha-runner-scale-set-runners | |
app.kubernetes.io/component: autoscaling-runner-set | |
app.kubernetes.io/instance: gha-runner-scale-set-kubernetes | |
app.kubernetes.io/managed-by: Helm | |
app.kubernetes.io/name: gha-runner-scale-set-kubernetes | |
app.kubernetes.io/part-of: gha-rs | |
app.kubernetes.io/version: 0.9.0 | |
helm.sh/chart: gha-rs-0.9.0 | |
name: gha-runner-scale-set-kubernetes | |
namespace: gha-runner-scale-set-runners | |
resourceVersion: "762473456" | |
uid: 0a86794f-34db-4cf2-8f52-aac2e9236e2d | |
spec: | |
githubConfigSecret: gha-runner-scale-set-kubernetes-gha-rs-github-secret | |
githubConfigUrl: https://github.com/Medium/mono | |
maxRunners: 5 | |
minRunners: 2 | |
runnerScaleSetName: gha-runner-scale-set-kubernetes | |
template: | |
metadata: | |
annotations: | |
iam.amazonaws.com/role: arn:aws:iam::674804321375:role/kbfd | |
spec: | |
containers: | |
- command: | |
- /home/runner/run.sh | |
env: | |
- name: ACTIONS_RUNNER_CONTAINER_HOOKS | |
value: /home/runner/k8s/index.js | |
- name: ACTIONS_RUNNER_CONTAINER_HOOK_TEMPLATE | |
value: /home/runner/pod-template/default.yaml | |
- name: ACTIONS_RUNNER_POD_NAME | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.name | |
- name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER | |
value: "true" | |
image: ghcr.io/actions/actions-runner:2.316.1 | |
name: runner | |
volumeMounts: | |
- mountPath: /home/runner/_work | |
name: work | |
- mountPath: /home/runner/pod-template | |
name: pod-template | |
readOnly: true | |
initContainers: | |
- command: | |
- sudo | |
- chown | |
- -R | |
- 1001:123 | |
- /home/runner/_work | |
image: ghcr.io/actions/actions-runner:latest | |
name: kube-init | |
volumeMounts: | |
- mountPath: /home/runner/_work | |
name: work | |
restartPolicy: Never | |
serviceAccountName: gha-runner-scale-set-kubernetes-gha-rs-kube-mode | |
volumes: | |
- ephemeral: | |
volumeClaimTemplate: | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 5Gi | |
storageClassName: gp3-medium | |
name: work | |
- configMap: | |
name: pod-template | |
name: pod-template | |
status: | |
currentRunners: 2 | |
pendingEphemeralRunners: 2 | |
runningEphemeralRunners: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment