Update log-collection.md (#178)

This commit is contained in:
ethfoo 2023-07-20 10:52:06 +08:00 committed by GitHub
parent 8bd144bb82
commit 656ffab265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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