mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add tolerations to mysql deployment (#11018)
* add tolerations to mysql deployment Signed-off-by: Jeff Hastings <jeffmhastings@gmail.com> * Update Chart.yaml Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
92da66322c
commit
02514936bf
@@ -1,5 +1,5 @@
|
||||
name: mysql
|
||||
version: 0.13.3
|
||||
version: 0.14.0
|
||||
appVersion: 5.7.14
|
||||
description: Fast, reliable, scalable, and easy to use open-source relational database
|
||||
system.
|
||||
|
||||
@@ -79,6 +79,7 @@ The following table lists the configurable parameters of the MySQL chart and the
|
||||
| `persistence.subPath` | Subdirectory of the volume to mount | `nil` |
|
||||
| `persistence.annotations` | Persistent Volume annotations | {} |
|
||||
| `nodeSelector` | Node labels for pod assignment | {} |
|
||||
| `tolerations` | Pod taint tolerations for deployment | {} |
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image` | Exporter image | `prom/mysqld-exporter` |
|
||||
| `metrics.imageTag` | Exporter image | `v0.10.0` |
|
||||
|
||||
@@ -41,6 +41,10 @@ spec:
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "mysql.fullname" . }}
|
||||
|
||||
@@ -61,6 +61,11 @@ extraInitContainers: |
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
|
||||
nodeSelector: {}
|
||||
|
||||
## Tolerations for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
|
||||
Reference in New Issue
Block a user