fix: dind stability — memory request 1Gi, liveness probe, emptyDir sizeLimit 10Gi
This commit is contained in:
@@ -25,7 +25,8 @@ spec:
|
||||
configMap:
|
||||
name: gitea-runner-config
|
||||
- name: dind-storage
|
||||
emptyDir: {}
|
||||
emptyDir:
|
||||
sizeLimit: "10Gi"
|
||||
- name: docker-daemon-config
|
||||
configMap:
|
||||
name: docker-daemon-config
|
||||
@@ -43,11 +44,17 @@ spec:
|
||||
privileged: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
cpu: 500m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: 2Gi
|
||||
livenessProbe:
|
||||
exec:
|
||||
command: ["docker", "info"]
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 30
|
||||
failureThreshold: 3
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/docker
|
||||
name: dind-storage
|
||||
|
||||
Reference in New Issue
Block a user