Added nodeSelector (#3719)

This commit is contained in:
Eran Kampf
2018-02-20 06:42:41 -08:00
committed by k8s-ci-robot
parent 51505efa80
commit 8102835509
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -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
+5
View File
@@ -47,3 +47,8 @@ affinity: {}
# operator: NotIn
# values:
# - "true"
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}