From 80e4adab3338fa354626da1dd5965f216ad7d0c1 Mon Sep 17 00:00:00 2001 From: jmlrt <8582351+jmlrt@users.noreply.github.com> Date: Wed, 7 Sep 2022 17:27:17 +0200 Subject: [PATCH] update more doc --- kibana/examples/default/README.md | 8 +++++--- kibana/examples/security/README.md | 10 ++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/kibana/examples/default/README.md b/kibana/examples/default/README.md index cd92fda77..30b0db53e 100644 --- a/kibana/examples/default/README.md +++ b/kibana/examples/default/README.md @@ -9,11 +9,13 @@ This example deploy Kibana 8.4.1 using [default values][]. * Deploy Kibana chart with the default values: `make install` -* You can now setup a port forward to query Kibana indices: +* You can now retrieve the `elastic` user password and setup a port forward to connect Kibana: ``` - kubectl port-forward svc/elasticsearch-master 9200 - curl localhost:9200/_cat/indices + # Get elastic user password: + kubectl get secrets --namespace=default elasticsearch-master-credentials -ojsonpath='{.data.password}' | base64 -d + # Setup port forward + kubectl port-forward svc/helm-kibana-default-kibana 5601 ``` diff --git a/kibana/examples/security/README.md b/kibana/examples/security/README.md index faf0c7f82..e499b354c 100644 --- a/kibana/examples/security/README.md +++ b/kibana/examples/security/README.md @@ -8,13 +8,15 @@ Elasticsearch (see [values][]). * Deploy [Elasticsearch Helm chart][]. -* Deploy Kibana chart with security: `make install` +* Deploy Kibana chart with security: `make secrets install` -* You can now setup a port forward to query Kibana indices: +* You can now retrieve the `elastic` user password and setup a port forward to connect Kibana: ``` - kubectl port-forward svc/security-master 9200 - curl -u elastic:changeme https://localhost:9200/_cat/indices + # Get elastic user password: + kubectl get secrets --namespace=default security-master-credentials -ojsonpath='{.data.password}' | base64 -d + # Setup port forward + kubectl port-forward svc/helm-kibana-security-kibana 5601 ```