Skip to content

Commit 4df8abf

Browse files
committed
fix: running just 1 replica of indexer but let consumer autoscale when enabled
1 parent 6d2a5aa commit 4df8abf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

charts/hub-nfts-solana/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 0.2.0
21+
version: 0.3.0
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to

charts/hub-nfts-solana/templates/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ metadata:
55
labels:
66
{{- include "hub-nfts-solana.labels" . | nindent 4 }}
77
spec:
8-
replicas: 1
8+
{{- if not .Values.autoscaling.enabled }}
9+
replicas: {{ .Values.replicaCount }}
10+
{{- end }}
911
selector:
1012
matchLabels:
1113
{{- include "hub-nfts-solana.selectorLabels" . | nindent 6 }}

charts/hub-nfts-solana/templates/indexer.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ metadata:
77
{{- include "hub-nfts-solana.labels" . | nindent 4 }}
88
app.kubernetes.io/component: indexer
99
spec:
10-
{{- if not .Values.autoscaling.enabled }}
11-
replicas: {{ .Values.replicaCount }}
12-
{{- end }}
10+
replicas: 1
1311
selector:
1412
matchLabels:
1513
{{- include "hub-nfts-solana.selectorLabels" . | nindent 6 }}

0 commit comments

Comments
 (0)