Open eedugon opened 3 years ago
Would you like to add it to the README @eedugon? :)
Hehehe I will raise a PR then!! :)
El El jue, 27 may 2021 a las 17:10, Chris Earle @.***> escribió:
Would you like to add it to the README @eedugon https://github.com/eedugon? :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/elastic/support-diagnostics/issues/498#issuecomment-849715262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBFXJK5AEWX7ZRR2WS7DATTPZOGZANCNFSM45GGOJFA .
About running on local
in a docker container won't work either as the tool checks if its running in pod and stop
Running the diagnostic tool (
--type api
) when elasticsearch is running on Kubernetes is quite straight forward following this trick:Of course the ports used in the previous example could be adapted.
As a lot of users end up needing this now that Kubernetes is widely used, it might be interesting to add this way in a section of the doc. Of course if a
local
execution is needed then this workaround is not valid and the tool should be either included in the docker image, or run directly from the kubernetes worker (normal users won't do that in kubernetes clusters), or downloaded directly from the running container / pod. But in general I have never felt this need.