002进入名为nginx的pod

本案例基于案例001

kubectl -it exec nginx -- bash
    root@nginx:/# echo 'Hello K8S' > /usr/share/nginx/html/index.html
    root@nginx:/# exit
    exit

curl 172.20.177.22
    Hello K8S