[incubator/zookeeper] Add support for priorityClasses (#6608)

- add support for priorityClasses
This commit is contained in:
Ryan Luckie
2018-07-15 10:48:56 -07:00
committed by k8s-ci-robot
parent 6d38e4f046
commit b0f5444897
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: zookeeper
home: https://zookeeper.apache.org/
version: 1.0.2
version: 1.1.0
appVersion: 3.4.10
description: Centralized service for maintaining configuration information, naming,
providing distributed synchronization, and providing group services.
@@ -30,6 +30,9 @@ spec:
job: chroots
spec:
restartPolicy: {{ $job.restartPolicy }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
containers:
- name: main
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@ -44,6 +44,9 @@ spec:
{{- end }}
securityContext:
{{ toYaml .Values.securityContext | indent 8 }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
containers:
- name: zookeeper
+2
View File
@@ -62,6 +62,8 @@ resources: {} # Optionally specify how much CPU and memory (RAM) each zookeeper
# cpu: 100m
# memory: 128Mi
priorityClassName: ""
nodeSelector: {} # Node label-values required to run zookeeper pods.
tolerations: [] # Node taint overrides for zookeeper pods.