Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Elasticsearch ServiceMesh compatibility
[oom.git]
/
kubernetes
/
common
/
elasticsearch
/
components
/
master
/
templates
/
statefulset.yaml
diff --git
a/kubernetes/common/elasticsearch/components/master/templates/statefulset.yaml
b/kubernetes/common/elasticsearch/components/master/templates/statefulset.yaml
index
a35b4bf
..
85ea2bb
100644
(file)
--- a/
kubernetes/common/elasticsearch/components/master/templates/statefulset.yaml
+++ b/
kubernetes/common/elasticsearch/components/master/templates/statefulset.yaml
@@
-115,6
+115,12
@@
spec:
value: {{ .Values.dedicatednode | quote }}
- name: ELASTICSEARCH_NODE_TYPE
value: "master"
value: {{ .Values.dedicatednode | quote }}
- name: ELASTICSEARCH_NODE_TYPE
value: "master"
+ - name: network.bind_host
+ value: 127.0.0.1
+ - name: network.publish_host
+ valueFrom:
+ fieldRef:
+ fieldPath: status.podIP
ports: {{- include "common.containerPorts" . |indent 12 }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
ports: {{- include "common.containerPorts" . |indent 12 }}
{{- if .Values.livenessProbe.enabled }}
livenessProbe: