apiVersion: v1
kind: Service
metadata:
  name: cygnus-elasticsearch
  labels:
    app: cygnus-elasticsearch
spec:
  type: ClusterIP
  selector:
    app: cygnus-elasticsearch
  ports:
  - port: 5050
    targetPort: service
    name: cygnus-elasticsearch-service
  - port: 8081
    targetPort: api
    name: cygnus-elasticsearch-api
