mount
This commit is contained in:
parent
aef970dda1
commit
027d1fa5b4
3 changed files with 71 additions and 1 deletions
6
.github/workflows/weekly-k8s-backup.yml
vendored
6
.github/workflows/weekly-k8s-backup.yml
vendored
|
|
@ -22,7 +22,11 @@ jobs:
|
||||||
ls -lah /k8s_storage
|
ls -lah /k8s_storage
|
||||||
|
|
||||||
- name: Verify AWS identity
|
- name: Verify AWS identity
|
||||||
run: aws sts get-caller-identity
|
run: |
|
||||||
|
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
||||||
|
unzip awscliv2.zip
|
||||||
|
./aws/install
|
||||||
|
aws sts get-caller-identity
|
||||||
|
|
||||||
- name: Run backup
|
- name: Run backup
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,6 @@
|
||||||
for each clusteR:
|
for each clusteR:
|
||||||
|
|
||||||
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.4/cert-manager.crds.yaml
|
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.4/cert-manager.crds.yaml
|
||||||
|
|
||||||
|
# to mount k8s
|
||||||
|
k apply -f mist_infra/arc/autoscaling-runner-set.yaml
|
||||||
63
mist_infra/arc/autoscaling-runner-set.yaml
Normal file
63
mist_infra/arc/autoscaling-runner-set.yaml
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
apiVersion: actions.github.com/v1alpha1
|
||||||
|
kind: EphemeralRunnerSet
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
actions.github.com/runner-group-name: Default
|
||||||
|
actions.github.com/runner-scale-set-name: mealcraft-runners
|
||||||
|
actions.github.com/runner-spec-hash: 6ff5485b67
|
||||||
|
creationTimestamp: "2025-12-06T22:42:57Z"
|
||||||
|
finalizers:
|
||||||
|
- ephemeralrunner.actions.github.com/finalizer
|
||||||
|
generateName: mealcraft-runners-
|
||||||
|
generation: 406
|
||||||
|
labels:
|
||||||
|
actions.github.com/organization: MealCraft
|
||||||
|
actions.github.com/scale-set-name: mealcraft-runners
|
||||||
|
actions.github.com/scale-set-namespace: arc-systems
|
||||||
|
app.kubernetes.io/component: runner-set
|
||||||
|
app.kubernetes.io/instance: mealcraft-runners
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: mealcraft-runners
|
||||||
|
app.kubernetes.io/part-of: gha-runner-scale-set
|
||||||
|
app.kubernetes.io/version: 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:
|
||||||
|
ephemeralRunnerSpec:
|
||||||
|
githubConfigSecret: mealcraft-runners-gha-rs-github-secret
|
||||||
|
githubConfigUrl: https://github.com/MealCraft
|
||||||
|
metadata: {}
|
||||||
|
runnerScaleSetId: 14
|
||||||
|
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
|
||||||
|
serviceAccountName: mealcraft-runners-gha-rs-no-permission
|
||||||
|
volumes:
|
||||||
|
- hostPath:
|
||||||
|
path: /home/kimjunte/k8s_storage
|
||||||
|
type: Directory
|
||||||
|
name: k8s-storage
|
||||||
|
patchID: 0
|
||||||
|
status:
|
||||||
|
currentReplicas: 0
|
||||||
|
pendingEphemeralRunners: 0
|
||||||
|
runningEphemeralRunners: 0
|
||||||
Loading…
Add table
Reference in a new issue