1
0
Fork 0

ajust limits and requests

This commit is contained in:
Massaki Archambault 2021-12-26 01:58:38 -05:00
parent 908899b2cd
commit 7b83a3009b
9 changed files with 24 additions and 34 deletions

View File

@ -38,11 +38,11 @@ spec:
containerPort: 3000
resources:
requests:
cpu: 250m
memory: 250Mi
cpu: 100m
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi
cpu: 100m
memory: 250Mi
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1

View File

@ -57,10 +57,10 @@ spec:
resources:
requests:
cpu: 250m
memory: 250Mi
memory: 100Mi
limits:
cpu: 500m
memory: 500Mi
cpu: 250m
memory: 250Mi
volumeMounts:
- mountPath: /data
name: drone-server-pv

View File

@ -43,11 +43,11 @@ spec:
containerPort: 22
resources:
requests:
cpu: 250m
memory: 250Mi
limits:
cpu: 500m
memory: 500Mi
limits:
cpu: 750m
memory: 750Mi
volumeMounts:
- name: gitea-pv
mountPath: /data

View File

@ -59,10 +59,10 @@ spec:
resources:
requests:
cpu: 250m
memory: 500Mi
memory: 250Mi
limits:
cpu: 500m
memory: 750Mi
memory: 500Mi
volumeMounts:
- name: grafana-datasources
mountPath: /etc/grafana/provisioning/datasources

View File

@ -26,11 +26,11 @@ spec:
- $(ACCOUNTS)
resources:
requests:
memory: 128Mi
cpu: 100m
memory: 100Mi
limits:
memory: 128Mi
cpu: 500m
cpu: 100m
memory: 100Mi
ports:
- containerPort: 9865
name: http-metrics

View File

@ -66,24 +66,14 @@ spec:
containerPort: 80
resources:
requests:
cpu: 2000m
cpu: 1000m
memory: 1Gi
limits:
cpu: 4000m
memory: 1.5Gi
cpu: 2000m
memory: 2Gi
volumeMounts:
- name: nextcloud-pv
mountPath: /var/www/html
# - name: nextcloud-cron
# image: badjware/nextcloud-tweak
# command: ['cron', '-f']
# volumeMounts:
# - name: nextcloud-pv
# mountPath: /var/www/html
# resources:
# limits:
# cpu: 250m
# memory: 250Mi
volumes:
- name: nextcloud-pv
persistentVolumeClaim:

View File

@ -41,7 +41,7 @@ spec:
containerPort: 5432
resources:
requests:
cpu: 500m
cpu: 250m
memory: 1Gi
limits:
cpu: 1000m

View File

@ -18,7 +18,7 @@ spec:
monitor: prometheus
resources:
requests:
cpu: 750m
cpu: 500m
memory: 2Gi
limits:
cpu: 1000m

View File

@ -29,11 +29,11 @@ spec:
containerPort: 6379
resources:
requests:
cpu: 500m
memory: 500Mi
cpu: 250m
memory: 250Mi
limits:
cpu: 1000m
memory: 1Gi
cpu: 500m
memory: 250Mi
---
apiVersion: v1
kind: Service