# Copyright (c) 2021, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
apiVersion: v1
kind: Service
metadata:
  name: es-svc
  namespace: wcpns
  labels:
    service: elasticsearch
spec:
  # headless service
  clusterIP: None
  ports:
    - port: 9200
      name: http
    - port: 9300
      name: transport
  selector:
    service: elasticsearch