8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
17 lines
278 B
YAML
17 lines
278 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: elasticsearch
|
|
labels:
|
|
component: elasticsearch
|
|
spec:
|
|
type: LoadBalancer
|
|
selector:
|
|
component: elasticsearch
|
|
ports:
|
|
- name: http
|
|
port: 9200
|
|
protocol: TCP
|
|
- name: transport
|
|
port: 9300
|
|
protocol: TCP
|