  kind: Service
  apiVersion: v1
  metadata:
    name: elasticsearch
    namespace: elasticsearch
    labels:
      app: elasticsearch
  spec:
    selector:
      app: elasticsearch
    clusterIP: None
    ports:
      - port: 9200
        name: rest
      - port: 9300
        name: inter-node