Skip to content

Commit f06564d

Browse files
Merge pull request openstack-k8s-operators#1477 from stuggi/OSPRH-17187
Bump memory resources for infra-operator-controller-manager
2 parents d07a22a + 8da8c4a commit f06564d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

bindata/operator/managers.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,21 @@ spec:
6060
initialDelaySeconds: 5
6161
periodSeconds: 10
6262
resources:
63+
{{ if (eq $operatorName "infra") }}
64+
limits:
65+
cpu: 500m
66+
memory: 1Gi
67+
requests:
68+
cpu: 10m
69+
memory: 512Mi
70+
{{ else }}
6371
limits:
6472
cpu: 500m
6573
memory: 256Mi
6674
requests:
6775
cpu: 10m
6876
memory: 128Mi
77+
{{ end }}
6978
securityContext:
7079
allowPrivilegeEscalation: false
7180
{{ if or (eq $operatorName "infra") (eq $operatorName "openstack-baremetal") }}

config/operator/managers.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,21 @@ spec:
6060
initialDelaySeconds: 5
6161
periodSeconds: 10
6262
resources:
63+
{{ if (eq $operatorName "infra") }}
64+
limits:
65+
cpu: 500m
66+
memory: 1Gi
67+
requests:
68+
cpu: 10m
69+
memory: 512Mi
70+
{{ else }}
6371
limits:
6472
cpu: 500m
6573
memory: 256Mi
6674
requests:
6775
cpu: 10m
6876
memory: 128Mi
77+
{{ end }}
6978
securityContext:
7079
allowPrivilegeEscalation: false
7180
{{ if or (eq $operatorName "infra") (eq $operatorName "openstack-baremetal") }}

0 commit comments

Comments
 (0)