apps/forgejo/resources/runners/act-cache.yaml

39 lines
No EOL
907 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: act-runner-cache
labels:
app.kubernetes.io/name: act-runner-cache
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: act-runner-cache
template:
metadata:
labels:
app.kubernetes.io/name: act-runner-cache
spec:
containers:
- name: act-runner-cache
image: act_runner
command:
- /usr/local/bin/act_runner
args:
- cache-server
- --port=8080
- --dir=/data
resources:
limits:
memory: "384Mi"
cpu: "250m"
ports:
- containerPort: 8080
volumeMounts:
- name: cache-data
mountPath: /data
volumes:
- name: cache-data
persistentVolumeClaim:
claimName: act-runner-cache