mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Added nodeSelector (#3719)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: zookeeper
|
||||
home: https://zookeeper.apache.org/
|
||||
version: 0.4.5
|
||||
version: 0.4.6
|
||||
description: Centralized service for maintaining configuration information, naming,
|
||||
providing distributed synchronization, and providing group services.
|
||||
icon: https://zookeeper.apache.org/images/zookeeper_small.gif
|
||||
|
||||
@@ -21,6 +21,10 @@ spec:
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "zookeeper.name" . }}-server
|
||||
|
||||
@@ -47,3 +47,8 @@ affinity: {}
|
||||
# operator: NotIn
|
||||
# values:
|
||||
# - "true"
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector: {}
|
||||
|
||||
Reference in New Issue
Block a user