--- nav: title: 工具 path: /tools group: title: 工具 order: 4 --- ## 找到对应容器位置 kubectl -n ${pod 名称} get pod | grep ${项目名称} ## 进入项目 kubectl -n ${pod 名称} exec -it ${项目名称-hash 值} -c nginx -- sh