mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add the ability to set tolerations for the zookeeper pods (#4089)
This is useful if you want to run in dedicated nodes.
This commit is contained in:
committed by
k8s-ci-robot
parent
1a381d1539
commit
986e023f89
@@ -1,6 +1,6 @@
|
||||
name: zookeeper
|
||||
home: https://zookeeper.apache.org/
|
||||
version: 0.5.2
|
||||
version: 0.6.0
|
||||
description: Centralized service for maintaining configuration information, naming,
|
||||
providing distributed synchronization, and providing group services.
|
||||
icon: https://zookeeper.apache.org/images/zookeeper_small.gif
|
||||
|
||||
@@ -113,6 +113,7 @@ Spreading allows you specify an anti-affinity between ZooKeeper servers in the e
|
||||
| --------- | ----------- | ------- |
|
||||
| `schedulerName` | Name of scheduler to use (other than the default). | `nil` |
|
||||
| `antiAffinity` | If present it must take the values 'hard' or 'soft'. 'hard' will cause the Kubernetes scheduler to not schedule the Pods on the same physical node under any circumstances 'soft' will cause the Kubernetes scheduler to make a best effort to not co-locate the Pods, but, if the only available resources are on the same node, the scheduler will co-locate them. | `hard` |
|
||||
| `tolerations` | An optional list of tolerations for the zookeeper pods. https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ | `[]` |
|
||||
|
||||
### Logging
|
||||
In order to allow for the default installation to work well with the log rolling and retention policy of Kubernetes, all logs are written to stdout. This should also be compatible with logging integrations such as Google Cloud Logging and ELK.
|
||||
|
||||
@@ -18,6 +18,10 @@ spec:
|
||||
app: {{ include "zookeeper.name" . | quote }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
spec:
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.schedulerName }}
|
||||
schedulerName: "{{ .Values.schedulerName }}"
|
||||
{{- end }}
|
||||
|
||||
@@ -55,6 +55,16 @@ affinity: {}
|
||||
##
|
||||
nodeSelector: {}
|
||||
|
||||
# Tolerations for nodes that have taints on them.
|
||||
# Useful if you want to dedicate nodes to just run kafka
|
||||
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
tolerations: []
|
||||
# tolerations:
|
||||
# - key: "key"
|
||||
# operator: "Equal"
|
||||
# value: "value"
|
||||
# effect: "NoSchedule"
|
||||
#
|
||||
## Persistence configuration. Specify if and how to persist data to a persistent volume.
|
||||
##
|
||||
persistence:
|
||||
|
||||
Reference in New Issue
Block a user