Update k8s/apps/gitea/deployment.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 30s

This commit is contained in:
ab
2025-09-09 19:54:13 +00:00
parent 56125caedf
commit 4c571f63e7

View File

@@ -61,6 +61,7 @@ spec:
volumeMounts:
- name: storage
mountPath: /data
---
apiVersion: apps/v1
kind: Deployment
@@ -84,18 +85,20 @@ spec:
path: /var/run/docker.sock
type: Socket
- name: runner-data
persistentVolumeClaim:
claimName: gitea-runner-pvc
emptyDir:
sizeLimit: 30Gi
containers:
- name: gitea-runner
image: gitea/act_runner:nightly
resources:
requests:
memory: "256Mi"
cpu: "100m"
memory: "256Mi"
ephemeral-storage: "1Gi" # reserve ephemeral storage
limits:
memory: "4Gi"
cpu: "2000m"
memory: "4Gi"
ephemeral-storage: "28Gi" # hard cap for /data usage
volumeMounts:
- name: docker-sock
mountPath: /var/run/docker.sock
@@ -113,17 +116,3 @@ spec:
value: "k8s-runner"
- name: GITEA_RUNNER_LABELS
value: "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: gitea-runner-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: local-path