bugfix: connect with elasticsearch
parent
1a2acd7d0e
commit
beeda929ce
@ -0,0 +1,60 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ .Values.sharedService.elastic.host01.name }}"
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: "{{ .Values.sharedService.elastic.host01.name }}"
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: {{ .Values.sharedService.elastic.host01.ip }}
|
||||
ports:
|
||||
- port: 9200
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ .Values.sharedService.elastic.host02.name }}"
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: "{{ .Values.sharedService.elastic.host02.name }}"
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: {{ .Values.sharedService.elastic.host02.ip }}
|
||||
ports:
|
||||
- port: 9200
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ .Values.sharedService.elastic.host03.name }}"
|
||||
spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: "{{ .Values.sharedService.elastic.host03.name }}"
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: {{ .Values.sharedService.elastic.host03.ip }}
|
||||
ports:
|
||||
- port: 9200
|
||||
Loading…
Reference in New Issue