apiVersion: v1
kind: Service
metadata:
  labels:
    app: elasticsearch
    component: elasticsearch
  name: elasticsearch-data
  namespace: zcp-system
spec:
  type: ClusterIP
  selector:
    app: elasticsearch
    component: elasticsearch
    role: data
  clusterIP: None
  ports:
  - name: data
    port: 9300
    targetPort: 9300
    protocol: TCP
