From 198d8e1eef66d071a43cc4ebbff4352dc5cd7baf Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sun, 30 Jun 2024 12:46:45 +0300 Subject: add kibana --- tools/eck-operator/templates/kibana.yaml | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tools/eck-operator/templates/kibana.yaml (limited to 'tools') diff --git a/tools/eck-operator/templates/kibana.yaml b/tools/eck-operator/templates/kibana.yaml new file mode 100644 index 0000000..f0c261b --- /dev/null +++ b/tools/eck-operator/templates/kibana.yaml @@ -0,0 +1,41 @@ +apiVersion: kibana.k8s.elastic.co/v1 +kind: Kibana +metadata: + name: log-storage +spec: + version: 8.14.1 + count: 1 + elasticsearchRef: + name: log-storage + namespace: default + +--- + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: kibana-ingress + namespace: monitoring + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernetes.io/router.tls.certresolver: "default" + traefik.ingress.kubernetes.io/redirect-entry-point: https + cert-manager.io/cluster-issuer: letsencrypt-prod +spec: + tls: + - hosts: + - logs.topkek.cloud + secretName: kibana-tls + rules: + - host: logs.topkek.cloud + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: log-storage-kb-http + port: + number: 5601 + -- cgit 1.4.1-2-gfad0