Skip to content

Commit a1488a8

Browse files
authored
Specify Istio resource requests (#374)
1 parent 51db454 commit a1488a8

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

manager/manifests/istio-values.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ gateways:
2828
labels:
2929
app: operator-istio-gateway
3030
istio: operator-ingressgateway
31+
replicaCount: 1
32+
autoscaleMin: 1
33+
autoscaleMax: 5
34+
resources:
35+
requests:
36+
cpu: 100m
37+
memory: 128Mi
38+
limits:
39+
cpu: 2000m
40+
memory: 1024Mi
3141
type: LoadBalancer
3242
ports:
3343
- port: 80
@@ -56,6 +66,16 @@ gateways:
5666
labels:
5767
app: apis-istio-gateway
5868
istio: apis-ingressgateway
69+
replicaCount: 1
70+
autoscaleMin: 1
71+
autoscaleMax: 5
72+
resources:
73+
requests:
74+
cpu: 100m
75+
memory: 128Mi
76+
limits:
77+
cpu: 2000m
78+
memory: 1024Mi
5979
type: LoadBalancer
6080
ports:
6181
- port: 80
@@ -97,6 +117,16 @@ mixer:
97117
enabled: false
98118
telemetry:
99119
enabled: true
120+
replicaCount: 1
121+
autoscaleMin: 1
122+
autoscaleMax: 5
123+
resources:
124+
requests:
125+
cpu: 1000m
126+
memory: 1G
127+
limits:
128+
cpu: 4800m
129+
memory: 4G
100130
env:
101131
AWS_REGION: $CORTEX_REGION
102132
LOG_GROUP_NAME: $CORTEX_LOG_GROUP
@@ -105,6 +135,13 @@ pilot:
105135
image: $CORTEX_IMAGE_ISTIO_PILOT
106136
enabled: true
107137
sidecar: false
138+
resources:
139+
requests:
140+
cpu: 150m
141+
memory: 128Mi
142+
limits:
143+
cpu: 2000m
144+
memory: 2048Mi
108145

109146
security:
110147
image: $CORTEX_IMAGE_ISTIO_CITADEL
@@ -129,3 +166,13 @@ global:
129166
proxy:
130167
autoInject: disabled
131168
image: $CORTEX_IMAGE_ISTIO_PROXY
169+
resources:
170+
requests:
171+
cpu: 100m
172+
memory: 128Mi
173+
limits:
174+
cpu: 2000m
175+
memory: 1024Mi
176+
defaultResources:
177+
requests:
178+
cpu: 10m

manager/manifests/operator.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ spec:
6060
- name: operator
6161
image: $CORTEX_IMAGE_OPERATOR
6262
imagePullPolicy: Always
63+
resources:
64+
requests:
65+
cpu: 200m
66+
memory: 128Mi
67+
limits:
68+
cpu: 2000m
69+
memory: 1024Mi
6370
ports:
6471
- containerPort: 8888
6572
env:

0 commit comments

Comments
 (0)