Skip to content

Commit 176c150

Browse files
authored
[Helm] update configs for helm (#1084)
1 parent ddef8ee commit 176c150

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

helm/templates/ingestor-statefulset.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ spec:
5252
exit 1
5353
terminationGracePeriodSeconds: 10
5454
serviceAccountName: {{ include "parseable.serviceAccountName" . }}
55+
{{- with .Values.parseable.highAvailability.ingestor.nodeSelector }}
56+
nodeSelector:
57+
{{- toYaml . | nindent 8 }}
58+
{{- end }}
59+
{{- with .Values.parseable.highAvailability.ingestor.tolerations }}
60+
tolerations:
61+
{{- toYaml . | nindent 8 }}
62+
{{- end }}
5563
containers:
5664
- name: {{ .Chart.Name }}
5765
securityContext:

helm/templates/querier-statefulset.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ spec:
3737
spec:
3838
terminationGracePeriodSeconds: 10
3939
serviceAccountName: {{ include "parseable.serviceAccountName" . }}
40+
{{- with .Values.parseable.toleration }}
41+
tolerations:
42+
{{ toYaml . | nindent 8 }}
43+
{{- end }}
4044
containers:
4145
- name: {{ .Chart.Name }}
4246
securityContext:
@@ -55,6 +59,8 @@ spec:
5559
{{- if .Values.parseable.persistence.querier.enabled }}
5660
- name: P_HOT_TIER_DIR
5761
value: "/parseable/hot-tier"
62+
- name: P_MAX_DISK_USAGE_PERCENT
63+
value: "95.0"
5864
{{- end }}
5965
{{- range $key, $value := .Values.parseable.env }}
6066
- name: {{ $key }}
@@ -113,7 +119,7 @@ spec:
113119
{{- end }}
114120
ports:
115121
- containerPort: 8000
116-
{{- with .Values.readinessProbe }}
122+
{{- with .Values.parseable.readinessProbe }}
117123
readinessProbe:
118124
{{ toYaml . | nindent 12 }}
119125
{{- end }}
@@ -159,6 +165,15 @@ spec:
159165
resources:
160166
requests:
161167
storage: {{ .Values.parseable.persistence.querier.size | quote }}
168+
- metadata:
169+
name: stage-volume
170+
spec:
171+
accessModes:
172+
- {{ .Values.parseable.persistence.querier.accessMode | quote }}
173+
storageClassName: {{ .Values.parseable.persistence.querier.storageClass | quote }}
174+
resources:
175+
requests:
176+
storage: 5Gi
162177
{{- end }}
163178
{{- if .Values.parseable.sidecar.enabled}}
164179
{{- .Values.parseable.sidecar.volumeClaimTemplates | toYaml | nindent 4 }}

helm/templates/standalone-deployment.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,7 @@ spec:
145145
nodeSelector:
146146
{{- toYaml . | nindent 8 }}
147147
{{- end }}
148-
{{- with .Values.parseable.affinity }}
149-
affinity:
150-
{{- toYaml . | nindent 8 }}
151-
{{- end }}
152-
{{- with .Values.parseable.tolerations }}
148+
{{- with .Values.parseable.toleration }}
153149
tolerations:
154150
{{- toYaml . | nindent 8 }}
155151
{{- end }}

helm/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ parseable:
1212
ingestor:
1313
port: 8000
1414
podAnnotations: {}
15+
nodeSelector: {}
16+
tolerations: []
1517
labels:
1618
app: parseable
1719
component: ingestor
@@ -79,7 +81,7 @@ parseable:
7981
enabled: false
8082
storageClass: ""
8183
accessMode: ReadWriteOnce
82-
size: 20Gi
84+
size: 100Gi
8385
## comment out the secrets depending upon deployment option
8486
## localModeSecret if store is set to local
8587
## blobModeSecret if store is set to blob-store
@@ -151,6 +153,7 @@ parseable:
151153
httpGet:
152154
path: /api/v1/readiness
153155
port: 8000
156+
toleration: []
154157
resources:
155158
limits:
156159
cpu: 500m

0 commit comments

Comments
 (0)