mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/metabase] Add tolerations and affinity (#16129)
* [stable/metabase] Add tolerations and affinity Signed-off-by: Amit Oren <amitoren224@gmail.com> * [stable/metabase] Update chart version Signed-off-by: Amit Oren <amitoren224@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
7668724030
commit
a367e0d572
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: The easy, open source way for everyone in your company to ask questions
|
||||
and learn from data.
|
||||
name: metabase
|
||||
version: 0.7.0
|
||||
version: 0.8.0
|
||||
appVersion: v0.32.9
|
||||
maintainers:
|
||||
- name: pmint93
|
||||
|
||||
@@ -81,6 +81,9 @@ The following table lists the configurable parameters of the Metabase chart and
|
||||
| ingress.tls | Ingress TLS configuration | null |
|
||||
| log4jProperties | Custom `log4j.properties` file | null |
|
||||
| resources | Server resource requests and limits | {} |
|
||||
| nodeSelector | Node labels for pod assignment | {} |
|
||||
| tolerations | Toleration labels for pod assignment | [] |
|
||||
| affinity | Affinity settings for pod assignment | {} |
|
||||
|
||||
The above parameters map to the env variables defined in [metabase](http://github.com/metabase/metabase). For more information please refer to the [metabase documentations](http://www.metabase.com/docs/v0.24.2/).
|
||||
|
||||
|
||||
@@ -124,9 +124,17 @@ spec:
|
||||
{{- end}}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.log4jProperties}}
|
||||
|
||||
@@ -92,3 +92,18 @@ resources: {}
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
## Node labels for pod assignment
|
||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
#
|
||||
nodeSelector: {}
|
||||
|
||||
## Tolerations for pod assignment
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
## Affinity for pod assignment
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
Reference in New Issue
Block a user