mount
This commit is contained in:
parent
db99d625e9
commit
967c43dcbd
1 changed files with 41 additions and 44 deletions
|
|
@ -1,63 +1,60 @@
|
||||||
apiVersion: actions.github.com/v1alpha1
|
apiVersion: actions.github.com/v1alpha1
|
||||||
kind: EphemeralRunnerSet
|
kind: AutoscalingRunnerSet
|
||||||
metadata:
|
metadata:
|
||||||
|
name: mealcraft-runners
|
||||||
|
namespace: arc-systems
|
||||||
annotations:
|
annotations:
|
||||||
|
actions.github.com/cleanup-github-secret-name: mealcraft-runners-gha-rs-github-secret
|
||||||
|
actions.github.com/cleanup-manager-role-binding: mealcraft-runners-gha-rs-manager
|
||||||
|
actions.github.com/cleanup-manager-role-name: mealcraft-runners-gha-rs-manager
|
||||||
|
actions.github.com/cleanup-no-permission-service-account-name: mealcraft-runners-gha-rs-no-permission
|
||||||
actions.github.com/runner-group-name: Default
|
actions.github.com/runner-group-name: Default
|
||||||
actions.github.com/runner-scale-set-name: mealcraft-runners
|
actions.github.com/runner-scale-set-name: mealcraft-runners
|
||||||
actions.github.com/runner-spec-hash: 6ff5485b67
|
meta.helm.sh/release-name: mealcraft-runners
|
||||||
creationTimestamp: "2025-12-06T22:42:57Z"
|
meta.helm.sh/release-namespace: arc-systems
|
||||||
finalizers:
|
|
||||||
- ephemeralrunner.actions.github.com/finalizer
|
|
||||||
generateName: mealcraft-runners-
|
|
||||||
generation: 406
|
|
||||||
labels:
|
labels:
|
||||||
actions.github.com/organization: MealCraft
|
actions.github.com/organization: MealCraft
|
||||||
actions.github.com/scale-set-name: mealcraft-runners
|
actions.github.com/scale-set-name: mealcraft-runners
|
||||||
actions.github.com/scale-set-namespace: arc-systems
|
actions.github.com/scale-set-namespace: arc-systems
|
||||||
app.kubernetes.io/component: runner-set
|
app.kubernetes.io/component: autoscaling-runner-set
|
||||||
app.kubernetes.io/instance: mealcraft-runners
|
app.kubernetes.io/instance: mealcraft-runners
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: mealcraft-runners
|
app.kubernetes.io/name: mealcraft-runners
|
||||||
app.kubernetes.io/part-of: gha-runner-scale-set
|
app.kubernetes.io/part-of: gha-rs
|
||||||
app.kubernetes.io/version: 0.13.0
|
app.kubernetes.io/version: 0.13.0
|
||||||
helm.sh/chart: gha-rs-0.13.0
|
helm.sh/chart: gha-rs-0.13.0
|
||||||
name: mealcraft-runners-gkwf5
|
|
||||||
namespace: arc-systems
|
|
||||||
ownerReferences:
|
|
||||||
- apiVersion: actions.github.com/v1alpha1
|
|
||||||
blockOwnerDeletion: true
|
|
||||||
controller: true
|
|
||||||
kind: AutoscalingRunnerSet
|
|
||||||
name: mealcraft-runners
|
|
||||||
uid: 03e1b6d0-65bb-45d5-be65-fd57b151654d
|
|
||||||
resourceVersion: "7272882"
|
|
||||||
uid: ebe289a8-b038-40a3-879f-010a8cc5ce14
|
|
||||||
spec:
|
spec:
|
||||||
ephemeralRunnerSpec:
|
githubConfigSecret: mealcraft-runners-gha-rs-github-secret
|
||||||
githubConfigSecret: mealcraft-runners-gha-rs-github-secret
|
githubConfigUrl: https://github.com/MealCraft
|
||||||
githubConfigUrl: https://github.com/MealCraft
|
runnerScaleSetName: mealcraft-runners
|
||||||
metadata: {}
|
|
||||||
runnerScaleSetId: 14
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
|
||||||
- command:
|
|
||||||
- /home/runner/run.sh
|
|
||||||
image: ghcr.io/actions/actions-runner:latest
|
|
||||||
name: runner
|
|
||||||
resources: {}
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /k8s_storage
|
|
||||||
name: k8s-storage
|
|
||||||
readOnly: true
|
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
serviceAccountName: mealcraft-runners-gha-rs-no-permission
|
serviceAccountName: mealcraft-runners-gha-rs-no-permission
|
||||||
|
|
||||||
|
# 👇 HOST STORAGE ACCESS
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- name: k8s-storage
|
||||||
path: /home/kimjunte/k8s_storage
|
hostPath:
|
||||||
type: Directory
|
path: /home/kimjunte/k8s_storage
|
||||||
name: k8s-storage
|
type: Directory
|
||||||
patchID: 0
|
|
||||||
status:
|
containers:
|
||||||
currentReplicas: 0
|
- name: runner
|
||||||
pendingEphemeralRunners: 0
|
image: ghcr.io/actions/actions-runner:latest
|
||||||
runningEphemeralRunners: 0
|
command:
|
||||||
|
- /home/runner/run.sh
|
||||||
|
|
||||||
|
# 👇 AWS CREDS FROM K8S SECRET
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: aws-secrets
|
||||||
|
|
||||||
|
# 👇 MOUNT PV STORAGE READ-ONLY
|
||||||
|
volumeMounts:
|
||||||
|
- name: k8s-storage
|
||||||
|
mountPath: /k8s_storage
|
||||||
|
readOnly: true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue