From 656ffab265d4aefad7db8a8aaae66a874cc2f67f Mon Sep 17 00:00:00 2001 From: ethfoo Date: Thu, 20 Jul 2023 10:52:06 +0800 Subject: [PATCH] Update log-collection.md (#178) --- docs/user-guide/troubleshot/log-collection.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/user-guide/troubleshot/log-collection.md b/docs/user-guide/troubleshot/log-collection.md index 597dc2d..216c794 100644 --- a/docs/user-guide/troubleshot/log-collection.md +++ b/docs/user-guide/troubleshot/log-collection.md @@ -21,6 +21,13 @@ **进入Terminal** +找到任意一个Loggie Pod并执行loggie inspect: +``` +kubectl -nloggie exec -it $(kubectl -nloggie get po -oname|head -n1|cut -d/ -f2) -- ./loggie inspect +``` + +或者, +如果你记不住以上命令,可以: - 找到任意一个Loggie Pod ``` kubectl -nloggie get po -owide