How can I remove the es-default service installed by cloud-on-k8s

How can I remove the es-default service installed by cloud-on-k8s, or add port to the es-default service?

Hi @Jone,

Thanks for your question. We don't allow removing the service as it's used by the operator to talk to the ES, but you can add ports to it as below.

apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
 name: quickstart
spec:
 http:
   service:
     spec:
       ports:
       - name: es
         protocol: TCP
         port: 9200
       - name: other
         protocol: TCP
         port: 9210
...