-
Notifications
You must be signed in to change notification settings - Fork 223
[timescaledb-single] Add tolerations to patroni config update job #307
base: main
Are you sure you want to change the base?
Conversation
sorry, but bump! |
@@ -4,7 +4,7 @@ | |||
apiVersion: v1 | |||
name: timescaledb-single | |||
description: 'TimescaleDB HA Deployment.' | |||
version: 0.10.0 | |||
version: 0.10.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you trying to update the chart version? This is up to the maintainers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not. We require chart update on each PR as mentioned in contributing doc - https://github.com/timescale/helm-charts/blob/main/CONTRIBUTING.md#technical-requirements
{{- with .Values.tolerations }} | ||
tolerations: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{- with .Values.tolerations }} | |
tolerations: | |
{{ toYaml . | indent 8 }} | |
{{- end }} | |
tolerations: | |
{{ toYaml .Values.tolerations | nindent 8 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that I think about it, what happens when the list is empty? Shouldn't this block be guarded against that?
This will use tolerations set for the STS to allow job pod to be scheduled on tainted nodes, in my case there is cluster, where all nodes are tainted in some way, so no tolerations on job pod will prevent its scheduling.