– 查看当前服务器当中的所有服务日志名称
kubectl get pods -n gjy-test
– 通过服务名称查询日志
kubectl logs -f --tail 200 gjy-admin-system-dc64c6d44-xt7cx -n gjy-test
12-24
5089
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-20
8536
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-19
2078
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-13
1581
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-24
498
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-28