add limit
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user