Skip to content

Instantly share code, notes, and snippets.

@spinolacastro
Created January 26, 2016 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spinolacastro/3de65aa34c846217b066 to your computer and use it in GitHub Desktop.
Save spinolacastro/3de65aa34c846217b066 to your computer and use it in GitHub Desktop.
[root@origintest0 ~]# oc get pods
NAME READY STATUS RESTARTS AGE
docker-registry-2-ta860 1/1 Running 1 14m
router-2-wwyc0 1/1 Running 1 14m
[root@origintest0 ~]# oc get svc
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
docker-registry 172.30.175.76 <none> 5000/TCP docker-registry=default 1h
kubernetes 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP <none> 4h
router 172.30.215.236 <none> 80/TCP router=router 1h
[root@origintest0 ~]# curl https://172.30.175.76:5000/v2
curl: (7) Failed connect to 172.30.175.76:5000; Connection refused
[root@origintest0 ~]# oc get endpoints
NAME ENDPOINTS AGE
docker-registry 10.1.1.32:5000 1h
kubernetes 10.0.200.4:53,10.0.200.5:53,10.0.200.4:53 + 3 more... 4h
router 10.0.200.5:80 1h
[root@origintest0 ~]# curl http://10.1.1.32:5000/v2/
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment