fix(helm-chart): force headless svc ready while pod is not ready

fixs: #5254

The dist port behind headless svc should to be accessible during emqx
cluster boot.

Endpoints of headless SVC is not in 'ready' state that prevents nodes to talk to
each other, this issue only happens when K8s host node is restarted and
all emqx nodes are deployed on the same host.
This commit is contained in:
William Yang 2021-09-02 18:37:29 +02:00
parent fe343a0407
commit e78967cfc3
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ spec:
type: ClusterIP
sessionAffinity: None
clusterIP: None
publishNotReadyAddresses: true
ports:
- name: mqtt
port: {{ .Values.service.mqtt | default 1883 }}