ajust limits and requests
This commit is contained in:
parent
908899b2cd
commit
7b83a3009b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
|||
containerPort: 5432
|
||||
resources:
|
||||
requests:
|
||||
cpu: 500m
|
||||
cpu: 250m
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
monitor: prometheus
|
||||
resources:
|
||||
requests:
|
||||
cpu: 750m
|
||||
cpu: 500m
|
||||
memory: 2Gi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue