fix: dind stability — memory request 1Gi, liveness probe, emptyDir sizeLimit 10Gi

This commit is contained in:
ChemaVX
2026-05-04 11:09:31 +00:00
parent ffeb0d2f1e
commit 5f3e1d5584
+10 -3
View File
@@ -25,7 +25,8 @@ spec:
configMap: configMap:
name: gitea-runner-config name: gitea-runner-config
- name: dind-storage - name: dind-storage
emptyDir: {} emptyDir:
sizeLimit: "10Gi"
- name: docker-daemon-config - name: docker-daemon-config
configMap: configMap:
name: docker-daemon-config name: docker-daemon-config
@@ -43,11 +44,17 @@ spec:
privileged: true privileged: true
resources: resources:
requests: requests:
cpu: 100m cpu: 500m
memory: 256Mi memory: 1Gi
limits: limits:
cpu: "2" cpu: "2"
memory: 2Gi memory: 2Gi
livenessProbe:
exec:
command: ["docker", "info"]
initialDelaySeconds: 20
periodSeconds: 30
failureThreshold: 3
volumeMounts: volumeMounts:
- mountPath: /var/lib/docker - mountPath: /var/lib/docker
name: dind-storage name: dind-storage