Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm chart: Support nodeSelector, tolerations and affinity on the booloader pod #11467

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/airbyte/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.3
version: 0.3.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions charts/airbyte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ Helm charts for Airbyte.
| `bootloader.podAnnotations` | Add extra annotations to the bootloader pod | `{}` |
| `bootloader.nodeSelector` | Node labels for pod assignment | `{}` |
| `bootloader.tolerations` | Tolerations for worker pod assignment. | `[]` |
| `bootloader.affinity` | Affinity and anti-affinity for bootloader pod assignment. | `{}` |


### Temporal parameters
Expand Down
3 changes: 3 additions & 0 deletions charts/airbyte/templates/bootloader/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ spec:
{{- if .Values.bootloader.tolerations }}
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.bootloader.tolerations "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.bootloader.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.bootloader.affinity "context" $) | nindent 8 }}
{{- end }}
containers:
- name: airbyte-bootloader-container
image: {{ include "airbyte.bootloaderImage" . }}
Expand Down
5 changes: 5 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,11 @@ bootloader:
##
tolerations: []

## @param bootloader.affinity [object] Affinity and anti-affinity for bootloader pod assignment.
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}

## @section Temporal parameters
## TODO: Move to consuming temporal from a dedicated helm chart

Expand Down