From 698da78768330114249b2df5fabf6d871f0431ae Mon Sep 17 00:00:00 2001 From: Arnaud Meukam Date: Fri, 11 May 2018 18:36:50 +0200 Subject: [PATCH] update kibana docker image --- roles/download/defaults/main.yml | 4 ++-- .../efk/kibana/templates/kibana-deployment.yml.j2 | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index bbcc1996e..1f036d689 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -136,8 +136,8 @@ elasticsearch_image_tag: "{{ elasticsearch_version }}" fluentd_version: "1.22" fluentd_image_repo: "gcr.io/google_containers/fluentd-elasticsearch" fluentd_image_tag: "{{ fluentd_version }}" -kibana_version: "v4.6.1" -kibana_image_repo: "gcr.io/google_containers/kibana" +kibana_version: "5.6.4" +kibana_image_repo: "docker.elastic.co/kibana/kibana" kibana_image_tag: "{{ kibana_version }}" helm_version: "v2.8.1" helm_image_repo: "lachlanevenson/k8s-helm" diff --git a/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 b/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 index c5603d389..014bf9569 100644 --- a/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 +++ b/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 @@ -1,6 +1,6 @@ --- -# https://raw.githubusercontent.com/kubernetes/kubernetes/v1.5.2/cluster/addons/fluentd-kibana/kibana-controller.yaml -apiVersion: extensions/v1beta1 +# https://raw.githubusercontent.com/kubernetes/kubernetes/release-1.10/cluster/addons/fluentd-elasticsearch/kibana-deployment.yaml +apiVersion: apps/v1 kind: Deployment metadata: name: kibana-logging @@ -36,10 +36,12 @@ spec: env: - name: "ELASTICSEARCH_URL" value: "http://elasticsearch-logging:{{ elasticsearch_service_port }}" -{% if kibana_base_url is defined and kibana_base_url != "" %} - - name: "KIBANA_BASE_URL" - value: "{{ kibana_base_url }}" -{% endif %} + - name: "SERVER_BASEPATH" + value: "/api/v1/namespaces/kube-system/services/kibana-logging/proxy" + - name: XPACK_MONITORING_ENABLED + value: "false" + - name: XPACK_SECURITY_ENABLED + value: "false" ports: - containerPort: 5601 name: ui