✨ add CPU and MEMORY limit

This commit is contained in:
2024-07-24 15:12:31 +01:00
parent e52d2b5615
commit e03930dc6b
2 changed files with 8 additions and 1 deletions
+4
View File
@@ -76,6 +76,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
resources:
limits:
cpu: 100m
memory: 50Mi
ports:
- containerPort: 9001
protocol: TCP
+4 -1
View File
@@ -28,7 +28,10 @@ spec:
volumeMounts:
- name: portainer-config
mountPath: /data
resources:
limits:
cpu: 100m
memory: 50Mi
volumes:
- name: portainer-config
hostPath: