add limit

This commit is contained in:
2024-10-31 08:46:56 +00:00
parent fe646e7923
commit 13b9570649
+8 -4
View File
@@ -63,10 +63,10 @@ spec:
mountPath: /data/ mountPath: /data/
- name: gitea-documents-backup - name: gitea-documents-backup
mountPath: /backup mountPath: /backup
# resources: resources:
# limits: limits:
# cpu: 250m cpu: 500m
# memory: 250Mi memory: 500Mi
volumes: volumes:
- name: gitea-data - name: gitea-data
@@ -113,6 +113,10 @@ spec:
mountPath: /var/run/docker.sock mountPath: /var/run/docker.sock
- name: gitea-runner-configfile - name: gitea-runner-configfile
mountPath: /config mountPath: /config
resources:
limits:
cpu: 500m
memory: 1000Mi
volumes: volumes:
- name: gitea-var-docker-sock - name: gitea-var-docker-sock
hostPath: hostPath: