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:
|
nodeSelector:
|
||||||
{{- if .Values.pulsar_metadata.nodeSelector }}
|
{{- if .Values.pulsar_metadata.nodeSelector }}
|
||||||
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
|
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
tolerations:
|
||||||
|
{{- if .Values.pulsar_metadata.tolerations }}
|
||||||
|
{{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-zookeeper-ready
|
- name: wait-zookeeper-ready
|
||||||
|
|||||||
@ -126,5 +126,9 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
|
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.pulsar_metadata.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -667,18 +667,21 @@ pulsar_metadata:
|
|||||||
# configurationStore:
|
# configurationStore:
|
||||||
configurationStoreMetadataPrefix: ""
|
configurationStoreMetadataPrefix: ""
|
||||||
configurationStorePort: 2181
|
configurationStorePort: 2181
|
||||||
## optional you can specify a nodeSelector for all init jobs (pulsar-init & bookkeeper-init)
|
|
||||||
# nodeSelector:
|
## optional you can specify tolerations and nodeSelectors for all init jobs (pulsar-init & bookkeeper-init)
|
||||||
# cloud.google.com/gke-nodepool: default-pool
|
#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
|
## optional, you can provide your own zookeeper metadata store for other components
|
||||||
# to use this, you should explicit set components.zookeeper to false
|
# to use this, you should explicit set components.zookeeper to false
|
||||||
#
|
#
|
||||||
# userProvidedZookeepers: "zk01.example.com:2181,zk02.example.com:2181"
|
# 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.
|
# Can be used to run extra commands in the initialization jobs e.g. to quit istio sidecars etc.
|
||||||
extraInitCommand: ""
|
extraInitCommand: ""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user