feat: deployment

main
Sven Ketelsen 4 years ago
parent b48d8f861c
commit 263c87e369

@ -13,6 +13,9 @@ spec:
- protocol: TCP - protocol: TCP
port: 9200 port: 9200
targetPort: 9200 targetPort: 9200
- protocol: TCP
port: 9300
targetPort: 9300
--- ---
apiVersion: v1 apiVersion: v1
kind: Endpoints kind: Endpoints
@ -23,6 +26,7 @@ subsets:
- ip: {{ .Values.sharedService.elastic.host01.ip }} - ip: {{ .Values.sharedService.elastic.host01.ip }}
ports: ports:
- port: 9200 - port: 9200
- port: 9300
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
@ -38,6 +42,9 @@ spec:
- protocol: TCP - protocol: TCP
port: 9200 port: 9200
targetPort: 9200 targetPort: 9200
- protocol: TCP
port: 9300
targetPort: 9300
--- ---
apiVersion: v1 apiVersion: v1
kind: Endpoints kind: Endpoints
@ -48,6 +55,7 @@ subsets:
- ip: {{ .Values.sharedService.elastic.host02.ip }} - ip: {{ .Values.sharedService.elastic.host02.ip }}
ports: ports:
- port: 9200 - port: 9200
- port: 9300
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
@ -63,6 +71,9 @@ spec:
- protocol: TCP - protocol: TCP
port: 9200 port: 9200
targetPort: 9200 targetPort: 9200
- protocol: TCP
port: 9300
targetPort: 9300
--- ---
apiVersion: v1 apiVersion: v1
kind: Endpoints kind: Endpoints
@ -73,3 +84,4 @@ subsets:
- ip: {{ .Values.sharedService.elastic.host03.ip }} - ip: {{ .Values.sharedService.elastic.host03.ip }}
ports: ports:
- port: 9200 - port: 9200
- port: 9300
Loading…
Cancel
Save