Commit 827c30e7 authored by Simon Pastor's avatar Simon Pastor
Browse files

PR review + meepctl config kibana + pv in templates

parent ed56da02
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -64,9 +64,8 @@ repo:
      es-curator:
        chart: charts/elasticsearch-curator
      kibana:
        version: 0.14.5
        values: charts/kibana/kibana-values.yaml
        chart: stable/kibana
        chart: charts/kibana
        pv: charts/kibana/meep-pv-kibana.yaml
      filebeat:
        version: 1.0.2
        values: charts/filebeat/filebeat-values.yaml
@@ -78,9 +77,6 @@ repo:
    couchdb:
      chart: charts/couchdb
      pv: charts/couchdb/meep-pv-couchdb.yaml
    kibana:
      chart: charts/kibana
      pv: charts/kibana/meep-pv-kibana.yaml
    redis:
      version: 4.0.1
      values: charts/redis/redis-values.yaml
+4 −0
Original line number Diff line number Diff line
@@ -2,6 +2,10 @@

[kibana](https://github.com/elastic/kibana) is your window into the Elastic Stack. Specifically, it's an open source (Apache Licensed), browser-based analytics and search dashboard for Elasticsearch.

## Changes from the base chart

A persistent volume is added to the base chart.
 
## TL;DR;

```console
+4 −3
Original line number Diff line number Diff line
{{- if .Values.persistentVolume.enabled}}
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
@@ -12,11 +13,11 @@ metadata:
  name: meep-pv-kibana
spec:
  capacity:
    storage: 10Gi
    storage: 5Gi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: "<WORKDIR>/kibana"
    path: "{{.Values.persistentVolume.location}}"
  storageClassName: meep-pv-kibana
{{- end }}
+4 −0
Original line number Diff line number Diff line
@@ -174,6 +174,10 @@ persistentVolumeClaim:
  # storageClass: "-"
  storageClass: "meep-pv-kibana"

persistentVolume:
  enabled: true
  location: "" 

# default security context
securityContext:
  enabled: false
+5 −20
Original line number Diff line number Diff line
@@ -18,23 +18,8 @@ To access Kibana frontend, open AdvantEDGE frontend `<your-node-ipaddress>:30000
This will open a new browser tab with the Kibana frontend in it.

## Configure Monitoring
Prior to using the monitoring pipeline, it is necessary to configure it.
Configuration is done from the Kibana frontend.

#### Configure Dashboards
From Kibana:
- Select _Management_ from the left menu
- Click on _Saved Objects_
- Click on _Import_ on the top right corner
- Click on _Import_ in the _Import saved object_ box
- Browse to the Git repo `AdvantEDGE/dashboard/` and select `basic-dashboards.json`
- Click on _Open_
- Click on _Import_ button on the bottom right corner
- Click on _Done_

#### Configure Index Pattern
From Kibana:
- Select _Management_ from the left menu
- Click on _Index Patterns_
- In the _Create Index Pattern_ box, select _filebeat*_
- Click on the button with a _STAR icon_ on the top right corner
Prior to using the monitoring pipeline, it is necessary to configure it.<br>
Configuration is done by issuing the meepctl command as follow:<br>
'meepctl config kibana'<br>

As a result, all the saved objects needed to populate Kibana's dashboards and index pattern are set.
Loading