Skip to content

Commit

Permalink
Merge pull request #102 from Kisa-Dong/main
Browse files Browse the repository at this point in the history
Update pod.md
  • Loading branch information
guangzhengli authored Oct 9, 2024
2 parents df5cac6 + ae7f68e commit 832a83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pod.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ kubectl port-forward nginx-pod 4000:80
`kubectl exec -it` 可以用来进入 Pod 内容器的 Shell。通过命令下面的命令来配置 `nginx` 的首页内容。

```shell
kubectl exec -it nginx-pod /bin/bash
kubectl exec -it nginx-pod -- /bin/bash
echo "hello kubernetes by nginx!" > /usr/share/nginx/html/index.html
Expand Down

0 comments on commit 832a83e

Please sign in to comment.