From 4619f9a23edc4584b8d15f9a9c8c761fe856e8e0 Mon Sep 17 00:00:00 2001 From: Christophe Kyvrakidis Date: Mon, 26 Mar 2018 14:19:55 +0200 Subject: [PATCH] Update kibana to 6.2.3 --- templates/kibana/4/docker-compose.yml | 33 +++++++++++ templates/kibana/4/rancher-compose.yml | 24 ++++++++ templates/kibana/catalogIcon-kibana.svg | 79 ++++++++++++++----------- templates/kibana/config.yml | 4 +- 4 files changed, 104 insertions(+), 36 deletions(-) create mode 100644 templates/kibana/4/docker-compose.yml create mode 100644 templates/kibana/4/rancher-compose.yml diff --git a/templates/kibana/4/docker-compose.yml b/templates/kibana/4/docker-compose.yml new file mode 100644 index 0000000..1287953 --- /dev/null +++ b/templates/kibana/4/docker-compose.yml @@ -0,0 +1,33 @@ +kibana-vip: + ports: + - "${public_port}:80" + restart: always + tty: true + image: rancher/load-balancer-service + links: + - nginx-proxy:kibana6 + stdin_open: true +nginx-proxy-conf: + image: rancher/nginx-conf:v0.2.0 + command: "-backend=rancher --prefix=/2015-07-25" + labels: + io.rancher.container.hostname_override: container_name +nginx-proxy: + image: rancher/nginx:v1.9.4-3 + volumes_from: + - nginx-proxy-conf + labels: + io.rancher.container.hostname_override: container_name + io.rancher.sidekicks: nginx-proxy-conf,kibana6 + external_links: + - ${elasticsearch_source}:elasticsearch +kibana6: + restart: always + tty: true + image: docker.elastic.co/kibana/kibana:6.2.3 + net: "container:nginx-proxy" + stdin_open: true + environment: + ELASTICSEARCH_URL: "http://elasticsearch:9200" + labels: + io.rancher.container.hostname_override: container_name diff --git a/templates/kibana/4/rancher-compose.yml b/templates/kibana/4/rancher-compose.yml new file mode 100644 index 0000000..37b8723 --- /dev/null +++ b/templates/kibana/4/rancher-compose.yml @@ -0,0 +1,24 @@ +.catalog: + name: "Kibana" + version: "6.2.3-rancher1" + description: "Kibana: Explore & Visualize Your Data" + questions: + - variable: "elasticsearch_source" + description: "Link to elasticsearch service or stack/service" + label: "Elasticsearch source" + type: "service" + required: true + default: "es/elasticsearch-clients" + - variable: "public_port" + label: "Public Port" + description: "Unique public port for Kibana" + type: "int" + default: 80 + required: true + +nginx-proxy: + metadata: + nginx: + conf: + servername: "kibana" + upstream_port: 5601 diff --git a/templates/kibana/catalogIcon-kibana.svg b/templates/kibana/catalogIcon-kibana.svg index 6f5091e..5cac2fb 100644 --- a/templates/kibana/catalogIcon-kibana.svg +++ b/templates/kibana/catalogIcon-kibana.svg @@ -1,34 +1,45 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/kibana/config.yml b/templates/kibana/config.yml index cdadc3d..41d5de4 100644 --- a/templates/kibana/config.yml +++ b/templates/kibana/config.yml @@ -1,4 +1,4 @@ -name: "Kibana 4" +name: "Kibana" description: "Visualization dashboard" -version: "4.6.3-rancher1" +version: "6.2.3-rancher1" category: ELK