chore(k8s): CPU- und Speicher-Reservierung entfernen
Docker-Images bauen und veroeffentlichen / build-and-push (push) Canceled after 1m17s
Docker-Images bauen und veroeffentlichen / build-and-push (push) Canceled after 1m17s
Requests stehen explizit auf 0 statt zu fehlen, weil Kubernetes einen fehlenden Request auf das Limit setzt und dann noch mehr reserviert. Die Limits bleiben als Obergrenze. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
98d1f7686c
commit
d3a7f8b824
3 files changed
+4
-2
No files matched your search
@@ -41,7 +41,7 @@ spec:
|
|||||||
exec: { command: ["pg_isready", "-U", "artista"] }
|
exec: { command: ["pg_isready", "-U", "artista"] }
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
requests: { cpu: 100m, memory: 256Mi }
|
requests: { cpu: "0", memory: "0" }
|
||||||
limits: { memory: 1Gi }
|
limits: { memory: 1Gi }
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef: { name: artista-modelcamp-secrets }
|
- secretRef: { name: artista-modelcamp-secrets }
|
||||||
resources:
|
resources:
|
||||||
|
requests: { cpu: "0", memory: "0" }
|
||||||
limits: { memory: 512Mi }
|
limits: { memory: 512Mi }
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
@@ -52,7 +53,7 @@ spec:
|
|||||||
initialDelaySeconds: 20
|
initialDelaySeconds: 20
|
||||||
periodSeconds: 20
|
periodSeconds: 20
|
||||||
resources:
|
resources:
|
||||||
requests: { cpu: 200m, memory: 256Mi }
|
requests: { cpu: "0", memory: "0" }
|
||||||
limits: { memory: 768Mi }
|
limits: { memory: 768Mi }
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ spec:
|
|||||||
- configMapRef: { name: artista-modelcamp-config }
|
- configMapRef: { name: artista-modelcamp-config }
|
||||||
- secretRef: { name: artista-modelcamp-secrets }
|
- secretRef: { name: artista-modelcamp-secrets }
|
||||||
resources:
|
resources:
|
||||||
|
requests: { cpu: "0", memory: "0" }
|
||||||
limits: { memory: 512Mi }
|
limits: { memory: 512Mi }
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
Reference in new issue
Block a user