9. 생성된 파드를 확인합니다.
[root@m-k8s ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
nfs-pvc-deploy-7888b77964-69c8n 1/1 Running 0 2m55s
nfs-pvc-deploy-7888b77964-mj6mt 1/1 Running 0 2m55s
nfs-pvc-deploy-7888b77964-q2gjw 1/1 Running 0 2m55s
nfs-pvc-deploy-7888b77964-qwwsm 1/1 Running 0 2m55s
10. 생성한 파드 중 하나에 exec로 접속합니다.
[root@m-k8s ~]# kubectl exec -it nfs-pvc-deploy-7888b77964-69c8n -- /bin/bash
root@nfs-pvc-deploy-7888b77964-69c8n:/#