Skip to content

Commit 08aa6dd

Browse files
manifests: add $GOMEMLIMIT to PSM
This component has inuse_space around 3MiB in the wild. Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent f2de7eb commit 08aa6dd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

manifests/0000_50_olm_06-psm-operator.deployment.ibm-cloud-managed.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ spec:
5454
fieldPath: metadata.namespace
5555
- name: RELEASE_VERSION
5656
value: "0.0.1-snapshot"
57+
- name: GOMEMLIMIT
58+
value: "5MiB"
5759
resources:
5860
requests:
5961
cpu: 10m
60-
memory: 50Mi
62+
memory: 10Mi
6163
livenessProbe:
6264
httpGet:
6365
path: /healthz

manifests/0000_50_olm_06-psm-operator.deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ spec:
5454
fieldPath: metadata.namespace
5555
- name: RELEASE_VERSION
5656
value: "0.0.1-snapshot"
57+
- name: GOMEMLIMIT
58+
value: "5MiB"
5759
resources:
5860
requests:
5961
cpu: 10m
60-
memory: 50Mi
62+
memory: 10Mi
6163
livenessProbe:
6264
httpGet:
6365
path: /healthz

scripts/generate_crds_manifests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@ spec:
164164
fieldPath: metadata.namespace
165165
- name: RELEASE_VERSION
166166
value: "0.0.1-snapshot"
167+
- name: GOMEMLIMIT
168+
value: "5MiB"
167169
resources:
168170
requests:
169171
cpu: 10m
170-
memory: 50Mi
172+
memory: 10Mi
171173
livenessProbe:
172174
httpGet:
173175
path: /healthz

0 commit comments

Comments
 (0)