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

Add postgresql resources to helm chart #378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
volumeMounts:
- name: airbyte-volume-db
mountPath: /var/lib/postgresql/data
{{- if .Values.postgresql.resources }}
resources: {{- toYaml .Values.postgresql.resources | nindent 12 }}
{{- end }}
{{- with .Values.postgresql.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
15 changes: 15 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,21 @@ postgresql:
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}

# -- postgresql pod resources requests and limits
resources:
## Example:
## limits:
## cpu: 1
## memory: 2Gi
# -- The resources limits for the postgresql container
limits: {}
## Examples:
## requests:
## memory: 2Gi
## cpu: 200m
# -- The requested resources for the postgresql container
requests: {}

# External PostgreSQL configuration, All of these values are only used when postgresql.enabled is set to false
externalDatabase:
# -- Database host
Expand Down
3 changes: 3 additions & 0 deletions charts/v2/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
volumeMounts:
- name: airbyte-volume-db
mountPath: /var/lib/postgresql/data
{{- if .Values.postgresql.resources }}
resources: {{- toYaml .Values.postgresql.resources | nindent 12 }}
{{- end }}
{{- with .Values.postgresql.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
15 changes: 15 additions & 0 deletions charts/v2/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2025,6 +2025,21 @@ postgresql:
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}

# -- postgresql pod resources requests and limits
resources:
## Example:
## limits:
## cpu: 1
## memory: 2Gi
# -- The resources limits for the postgresql container
limits: {}
## Examples:
## requests:
## memory: 2Gi
## cpu: 200m
# -- The requested resources for the postgresql container
requests: {}

minio:
secretName: ""

Expand Down
Loading