Skip to content

Commit 90f99d5

Browse files
(chore) Update manager deployment spec (#116)
- Update memory resource limit to avoid OOMKilled error - As we are watching all configmaps in cluster, we hit this error for larger clusters . We can reconfigure the values once we add optimization for ConfigMap watch. - Update imagePullPolicy to always, for easier testing Signed-off-by: Vaishnavi Hire <vhire@redhat.com>
1 parent 3a977c6 commit 90f99d5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

config/manager/manager.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ spec:
4242
- name: OPERATOR_VERSION
4343
value: "latest"
4444
image: controller:latest
45+
imagePullPolicy: Always
4546
name: manager
4647
securityContext:
4748
allowPrivilegeEscalation: false
@@ -65,9 +66,9 @@ spec:
6566
resources:
6667
limits:
6768
cpu: 500m
68-
memory: 128Mi
69+
memory: 1Gi
6970
requests:
7071
cpu: 10m
71-
memory: 64Mi
72+
memory: 256Mi
7273
serviceAccountName: controller-manager
7374
terminationGracePeriodSeconds: 10

release/operator.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2480,6 +2480,7 @@ spec:
24802480
- name: OPERATOR_VERSION
24812481
value: latest
24822482
image: quay.io/llamastack/llama-stack-k8s-operator:latest
2483+
imagePullPolicy: Always
24832484
livenessProbe:
24842485
httpGet:
24852486
path: /healthz
@@ -2496,10 +2497,10 @@ spec:
24962497
resources:
24972498
limits:
24982499
cpu: 500m
2499-
memory: 128Mi
2500+
memory: 1Gi
25002501
requests:
25012502
cpu: 10m
2502-
memory: 64Mi
2503+
memory: 256Mi
25032504
securityContext:
25042505
allowPrivilegeEscalation: false
25052506
capabilities:

0 commit comments

Comments
 (0)