ECK Kib Service Annotation

Hi Team,

We have one requirement in which Kibana service need an annotation while deployment. ECK Deployment manages service deployment by itself. Is there any mechanism to handle this. Thanks.

Regards
AK

You can customise the service by defining a service template under http.service (see API docs).

This is how you'd add an annotation to the service:

apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: hulk
spec:
  version: 7.9.0
  count: 1
  elasticsearchRef:
    name: hulk
  http:
    service:
      metadata:
        annotations:
          my-annotation: value

Thanks @charith-elastic.