feat: added support for tolerations for the init jobs (#399)
Co-authored-by: Daniel Kovacs <daniel.kovacs@directed.global>
This commit is contained in:
parent
14c048ee72
commit
a725188438
@ -38,6 +38,10 @@ spec:
|
||||
nodeSelector:
|
||||
{{- if .Values.pulsar_metadata.nodeSelector }}
|
||||
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
tolerations:
|
||||
{{- if .Values.pulsar_metadata.tolerations }}
|
||||
{{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
initContainers:
|
||||
- name: wait-zookeeper-ready
|
||||
|
||||
@ -126,5 +126,9 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.pulsar_metadata.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@ -667,18 +667,21 @@ pulsar_metadata:
|
||||
# configurationStore:
|
||||
configurationStoreMetadataPrefix: ""
|
||||
configurationStorePort: 2181
|
||||
## optional you can specify a nodeSelector for all init jobs (pulsar-init & bookkeeper-init)
|
||||
# nodeSelector:
|
||||
# cloud.google.com/gke-nodepool: default-pool
|
||||
|
||||
## optional you can specify tolerations and nodeSelectors for all init jobs (pulsar-init & bookkeeper-init)
|
||||
#tolerations: []
|
||||
# - key: "someKey"
|
||||
# operator: "Equal"
|
||||
# value: "someValue"
|
||||
# effect: "NoSchedule"
|
||||
#nodeSelector: {}
|
||||
# cloud.google.com/gke-nodepool: default-pool
|
||||
|
||||
## optional, you can provide your own zookeeper metadata store for other components
|
||||
# to use this, you should explicit set components.zookeeper to false
|
||||
#
|
||||
# userProvidedZookeepers: "zk01.example.com:2181,zk02.example.com:2181"
|
||||
|
||||
## optional, you can specify where to run pulsar-cluster-initialize job
|
||||
# nodeSelector:
|
||||
|
||||
# Can be used to run extra commands in the initialization jobs e.g. to quit istio sidecars etc.
|
||||
extraInitCommand: ""
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user