mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-28 13:03:43 +00:00
Merge pull request #10304 from satnam6502/doc-es-logging
Add text on accessing ES and Kibana via kubectl proxy
This commit is contained in:
commit
8b4170ed39
@ -217,6 +217,15 @@ regulary refreshed. Here is a typical view of ingested logs from the Kibana view
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Another way to access Elasticsearch and Kibana in the cluster is to use `kubectl proxy` which will serve
|
||||||
|
a local proxy to the remote master:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ kubectl proxy
|
||||||
|
Starting to serve on localhost:8001
|
||||||
|
```
|
||||||
|
|
||||||
|
Now you can visit the URL [http://localhost:8001/api/v1/proxy/namespaces/default/services/elasticsearch-logging](http://localhost:8001/api/v1/proxy/namespaces/default/services/elasticsearch-logging) to contact Elasticsearch and [http://localhost:8001/api/v1/proxy/namespaces/default/services/kibana-logging](http://localhost:8001/api/v1/proxy/namespaces/default/services/kibana-logging) to access the Kibana viewer.
|
||||||
|
|
||||||
|
|
||||||
[]()
|
[]()
|
||||||
|
Loading…
Reference in New Issue
Block a user