✨ add CPU and MEMORY limit

This commit is contained in:
2024-07-24 15:16:10 +01:00
parent 1ea0cb0670
commit 059901d7d8
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -31,6 +31,10 @@ spec:
mountPath: /data/db
- name: unifi-db-init
mountPath: /docker-entrypoint-initdb.d/init-mongo.js
resources:
limits:
cpu: 100m
memory: 50Mi
ports:
- containerPort: 27017
protocol: TCP
+4
View File
@@ -47,6 +47,10 @@ spec:
value: #optional
- name: MONGO_AUTHSOURCE
value: #optional
resources:
limits:
cpu: 100m
memory: 50Mi
volumeMounts:
- name: unifi-ui-config
mountPath: /config