mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/zookeeper] Add support for priorityClasses (#6608)
- add support for priorityClasses
This commit is contained in:
committed by
k8s-ci-robot
parent
6d38e4f046
commit
b0f5444897
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user