arthas icon indicating copy to clipboard operation
arthas copied to clipboard

生产环境如何安全的使用arthas

Open rnmb opened this issue 1 year ago • 1 comments

  • [ ] 我已经在 issues 里搜索,没有重复的issue。

环境信息

生产环境 K8S + spring cloud

背景

作为研发,生产环境无法直接访问,由于公司安全因素考虑,必须经由运维人员操作,才能得到问题结果。出现紧急线上问题时,无法直观快速的排查到问题根源。

期望的结果

arthas 是否有方法安全的访问到生产环境多个服务pod的服务信息。

rnmb avatar Mar 22 '24 02:03 rnmb

If your Kubernetes cluster is not directly accessible, use Arthas Tunnel to connect: Step 1: Start Arthas Tunnel Server Run this on a secure internal machine: java -jar arthas-boot.jar --tunnel-server Step 2: Connect Arthas Agents to the Tunnel In the Kubernetes pod: java -jar arthas-boot.jar --tunnel-client ws://:7777 Now, you can debug remotely via the tunnel.

sheikmca avatar Feb 25 '25 10:02 sheikmca