Skip to content

Instantly share code, notes, and snippets.

@juanvallejo
Created February 26, 2018 18:43
Show Gist options
  • Select an option

  • Save juanvallejo/ef0c8e5990bceda6b67f2406c3b2d27a to your computer and use it in GitHub Desktop.

Select an option

Save juanvallejo/ef0c8e5990bceda6b67f2406c3b2d27a to your computer and use it in GitHub Desktop.
oc get pod,svc --sort-by='{.spec.restartPolicy}'
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
router ClusterIP 172.30.230.132 <none> 80/TCP,443/TCP,1936/TCP 1h
kubernetes ClusterIP 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP 1h
docker-registry ClusterIP 172.30.1.1 <none> 5000/TCP 1h
NAME READY STATUS RESTARTS AGE
docker-registry-1-kjqrm 1/1 Running 0 1h
router-1-dlgkt 1/1 Running 0 1h
persistent-volume-setup-szpw9 0/1 Completed 0 1h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment