Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hatamiarash7/kubernetes-kibana

Deploy Kibana in Kubernetes
https://github.com/hatamiarash7/kubernetes-kibana

elasticsearch elk elk-stack kibana kibana-cluster kibana-dashboard kibana-visualization kubernetes

Last synced: 25 days ago
JSON representation

Deploy Kibana in Kubernetes

Awesome Lists containing this project

README

        

# Kubernetes Kibana
Deploy Kibana in Kubernetes

## Prerequisites

* Install [Elasticsearch](https://github.com/hatamiarash7/Kubernetes-Elasticsearch)
* Create a secret for basic auth

```shell
htpasswd -c ./auth kibana
```

Now we have a `auth` file for create our secret

```shell
kubectl create secret generic kibana-auth --from-file auth
```

## Install

Create a `ConfigMap` for kibana's ENV. See [kibana.yml](https://github.com/elastic/kibana/blob/master/config/kibana.yml) for full list of options.

```shell
kubectl create -f configmap.yml
```

Create other parts :

```shell
kubectl create -f service.yml
kubectl create -f deployment.yml
```

Check kibana's Pod for logs and wait to see `green status`. Then you can deploy your ingress to access Kibana from browser :

```shell
kubectl create -f ingress.yml
```

You can access Kibana from `server.name` that defined in `configmap.yml`. Defult value is [http://kibana.local](http://kibana.local)