1. 테스트용으로 디플로이먼트 2개(in-hname-pod, in-ip-pod)를 배포합니다.
[root@m-k8s ~]# kubectl create deployment in-hname-pod --image=sysnet4admin/echo-hname
deployment.apps/in-hname-pod created
[root@m-k8s ~]# kubectl create deployment in-ip-pod --image=sysnet4admin/echo-ip
deployment.apps/in-ip-pod created
2. 배포된 파드의 상태를 확인합니다.
[root@m-k8s ~]# kubectl get pods
NAME READY STATUS RESTARTS AGE
in-hname-pod-69779f5566-88q6z 1/1 Running 0 32s
in-ip-pod-55c9fb7456-9p8fw 1/1 Running 0 21s