cri-o/vendor/k8s.io/kubernetes/examples/elasticsearch/es-svc.yaml

18 lines
278 B
YAML
Raw Normal View History

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