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