---
apiVersion: v1
kind: Service
metadata:
  name: elasticsearch
  namespace: logging
spec:
  type: NodePort
  selector:
    app: elasticsearch
  ports:
  - name: http
    port: 9200
    protocol: TCP
    nodePort: 30200
  - name: transport
    port: 9300
    protocol: TCP
    nodePort: 30300
