Skip to content

Commit

Permalink
[Helm] update configs for helm (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdheipSingh authored Jan 8, 2025
1 parent ddef8ee commit 176c150
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
8 changes: 8 additions & 0 deletions helm/templates/ingestor-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ spec:
exit 1
terminationGracePeriodSeconds: 10
serviceAccountName: {{ include "parseable.serviceAccountName" . }}
{{- with .Values.parseable.highAvailability.ingestor.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.parseable.highAvailability.ingestor.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
17 changes: 16 additions & 1 deletion helm/templates/querier-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
spec:
terminationGracePeriodSeconds: 10
serviceAccountName: {{ include "parseable.serviceAccountName" . }}
{{- with .Values.parseable.toleration }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand All @@ -55,6 +59,8 @@ spec:
{{- if .Values.parseable.persistence.querier.enabled }}
- name: P_HOT_TIER_DIR
value: "/parseable/hot-tier"
- name: P_MAX_DISK_USAGE_PERCENT
value: "95.0"
{{- end }}
{{- range $key, $value := .Values.parseable.env }}
- name: {{ $key }}
Expand Down Expand Up @@ -113,7 +119,7 @@ spec:
{{- end }}
ports:
- containerPort: 8000
{{- with .Values.readinessProbe }}
{{- with .Values.parseable.readinessProbe }}
readinessProbe:
{{ toYaml . | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -159,6 +165,15 @@ spec:
resources:
requests:
storage: {{ .Values.parseable.persistence.querier.size | quote }}
- metadata:
name: stage-volume
spec:
accessModes:
- {{ .Values.parseable.persistence.querier.accessMode | quote }}
storageClassName: {{ .Values.parseable.persistence.querier.storageClass | quote }}
resources:
requests:
storage: 5Gi
{{- end }}
{{- if .Values.parseable.sidecar.enabled}}
{{- .Values.parseable.sidecar.volumeClaimTemplates | toYaml | nindent 4 }}
Expand Down
6 changes: 1 addition & 5 deletions helm/templates/standalone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,7 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.parseable.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.parseable.tolerations }}
{{- with .Values.parseable.toleration }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
5 changes: 4 additions & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ parseable:
ingestor:
port: 8000
podAnnotations: {}
nodeSelector: {}
tolerations: []
labels:
app: parseable
component: ingestor
Expand Down Expand Up @@ -79,7 +81,7 @@ parseable:
enabled: false
storageClass: ""
accessMode: ReadWriteOnce
size: 20Gi
size: 100Gi
## comment out the secrets depending upon deployment option
## localModeSecret if store is set to local
## blobModeSecret if store is set to blob-store
Expand Down Expand Up @@ -151,6 +153,7 @@ parseable:
httpGet:
path: /api/v1/readiness
port: 8000
toleration: []
resources:
limits:
cpu: 500m
Expand Down

0 comments on commit 176c150

Please sign in to comment.