mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Feature/12619 stable percona add affinity (#12640)
* refs: added affinity to percona chart Signed-off-by: Daniele Piaggesi <daniele.piaggesi@bonsaimeme.com> * refs: added variable docs in README.md Signed-off-by: Daniele Piaggesi <daniele.piaggesi@bonsaimeme.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f027055688
commit
63490ca090
@@ -1,5 +1,5 @@
|
||||
name: percona
|
||||
version: 0.3.4
|
||||
version: 0.3.5
|
||||
appVersion: 5.7.17
|
||||
description: free, fully compatible, enhanced, open source drop-in replacement for
|
||||
MySQL
|
||||
|
||||
@@ -62,6 +62,7 @@ The following table lists the configurable parameters of the Percona chart and t
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `256Mi`, CPU: `100m` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Node labels for pod assignment | `[]` |
|
||||
| `affinity` | Node labels for pod assignment | `{}` |
|
||||
|
||||
Some of the parameters above map to the env variables defined in the [Percona Server DockerHub image](https://hub.docker.com/_/percona/).
|
||||
|
||||
|
||||
@@ -82,6 +82,10 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
## percona image
|
||||
## ref: https://hub.docker.com/_/percona/
|
||||
##
|
||||
image: "percona"
|
||||
|
||||
## percona image version
|
||||
@@ -64,3 +63,8 @@ nodeSelector: {}
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
## Affinity labels 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