Skip to content

Commit b8882e5

Browse files
authored
Merge pull request #34845 from dch1228/patch-1
Update logging.md
2 parents c30cdd0 + 6b106b5 commit b8882e5

File tree

1 file changed

+0
-2
lines changed
  • content/zh-cn/docs/concepts/cluster-administration

1 file changed

+0
-2
lines changed

content/zh-cn/docs/concepts/cluster-administration/logging.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ If your pod has multiple containers, specify which container's logs you want to
9999
appending a container name to the command, with a `-c` flag, like so:
100100
-->
101101
你可以使用命令 `kubectl logs --previous` 检索之前容器实例的日志。
102-
如果 Pod 中有多个容器,你应该为该命令附加容器名以访问对应容器的日志。
103-
详见 [`kubectl logs` 文档](/docs/reference/generated/kubectl/kubectl-commands#logs)
104102
如果 Pod 有多个容器,你应该为该命令附加容器名以访问对应容器的日志,
105103
使用 `-c` 标志来指定要访问的容器的日志,如下所示:
106104

0 commit comments

Comments
 (0)