Trouble installing kibana plugin

Hi Terry,

The installation of plugins for Kibana is not yet supported as for Elasticsearch.

You can track the feature here: https://github.com/elastic/cloud-on-k8s/issues/2123.

In a meantime, you can use your own image with the plugins already installed
or use this workaround:

apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
  name: logs
  namespace: tools
spec:
  version: 7.4.1
  count: 1
  elasticsearchRef:
    name: tools
  http:
    tls:
      selfSignedCertificate:
        disabled: true
  podTemplate:
    spec:
      volumes:
      - name: kibana-plugins
        emptyDir: {}
      containers:
      - name: kibana
        volumeMounts:
        - name: kibana-plugins
          mountPath: /usr/share/kibana/plugins
      initContainers:
      - name: install-plugins
        image: docker.elastic.co/kibana/kibana:7.4.1
        command:
        - sh
        - -c
        - bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/v0.1.31/logtrail-7.4.1-0.1.31.zip
        volumeMounts:
        - name: kibana-plugins
          mountPath: /usr/share/kibana/plugins
1 Like