[root@workspace-vm ~]# kubectl config view --raw { 출력내용 복사 }
[root@workspace-vm ~]# kubectl get pod NAME READY STATUS RESTARTS AGE reactor-demo-75d5445668-f9s66 1/1 Running 0 105s reactor-demo-75d5445668-m67rn 1/1 Running 0 105s reactor-demo-75d5445668-r6rfm 1/1 Running 0 105s redis-deployment-c899fb5b5-kcjcd 1/1 Running 0 105s [root@workspace-vm ~]# [root@workspace-vm ~]# [root@workspace-vm ~]# [root@workspace-vm ~]# kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 19h reactor-service LoadBalancer 10.0.219.103 52.231.29.187 80:32054/TCP 113s redis ClusterIP 10.0.191.239 <none> 6379/TCP 113s [root@workspace-vm ~]# [root@workspace-vm ~]# curl -XPOST http://52.231.29.187/link -H "Content-Type: application/json" -d '{"link":"http://wiki.thesanse.com"}' {"shortenedLink":"http://localhost:8080/wAhElT"}