Aneek Bera:
[email protected]:~# kubectl run httpd --image=httpd:alpine --port=80 expose
pod/httpd created
[email protected]:~# kubectl get pods
NAME READY STATUS RESTARTS AGE
custom-nginx 1/1 Running 0 4m
httpd 0/1 RunContainerError 1 19s
nginx-pod 1/1 Running 0 10m
redis 1/1 Running 0 6m53s
webapp-56847f875b-58n8v 1/1 Running 0 5m17s
webapp-56847f875b-865vr 1/1 Running 0 5m17s
webapp-56847f875b-9q2v6 1/1 Running 0 5m17s