Skip to content

Commit e57cb31

Browse files
authored
Adjust default replicas and resources (#351)
1 parent ff3f6ac commit e57cb31

8 files changed

Lines changed: 18 additions & 5 deletions

File tree

charts/tidepool/charts/clinic-worker/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ deployment:
88
# -- Docker image
99
image: tidepool/clinic-worker:main-latest
1010
# -- the number of replicas to use
11-
replicas: 0
11+
replicas: 2
1212
serviceMonitor:
1313
# whether to generate a prometheus-operator service monitor
1414
enabled: false

charts/tidepool/charts/clinic/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ deployment:
1515
# -- Docker image
1616
image: tidepool/clinic:master-latest
1717
# -- the number of replicas to use
18-
replicas: 0
18+
replicas: 2
1919
serviceMonitor:
2020
# whether to generate a prometheus-operator service monitor
2121
enabled: false

charts/tidepool/charts/devices/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
deployment:
22
image: tidepool/devices:master-latest
3-
replicas: 0
3+
replicas: 2
44
# -- annotations for each pod in deployment
55
podAnnotations: {}
66

charts/tidepool/charts/kafka/templates/1-kafka-connect-mongo-cluster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ spec:
5252
{{- end }}
5353
image: {{ .Values.connect.image | quote }}
5454
replicas: {{ .Values.global.kafka.connect.replicas | int }}
55+
resources:
56+
{{- toYaml .Values.resources | nindent 10 }}
5557
{{ if .Values.global.kafka.connect.tlsEnabled }}
5658
tls:
5759
trustedCertificates: []

charts/tidepool/charts/kafka/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ keycloak:
5252
snapshotMode: "never"
5353
kafka:
5454
secretName: "kafka"
55+
# -- memory and cpu resources for pods
56+
resources:
57+
requests:
58+
memory: "600Mi"
5559
secret:
5660
enabled: false
5761
podMonitor:

charts/tidepool/charts/mailer/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ deployment:
22
# -- Docker image
33
image: tidepool/mailer:master-latest
44
# -- the number of replicas to use
5-
replicas: 0
5+
replicas: 2
66
env:
77
backend: "ses"
88
fromName: "Tidepool"

charts/tidepool/charts/plotly-orca/templates/0-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ spec:
3838
periodSeconds: 10
3939
timeoutSeconds: 5
4040
{{ template "charts.service.lifecycle"}}
41+
resources:
42+
{{- toYaml .Values.resources | nindent 10 }}
4143
ports:
4244
- containerPort: {{ .Values.global.ports.plotly_orca }}
4345
name: "http"
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
deployment:
22
image: tidepool/plotly-orca:latest
3-
replicas: 1
3+
replicas: 1
4+
5+
# -- memory and cpu resources for pods
6+
resources:
7+
requests:
8+
memory: "700Mi"

0 commit comments

Comments
 (0)