Created
January 8, 2015 14:12
-
-
Save pweil-/c91d65dd26fb906e4d96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@openshiftdev origin]$ openshift cli get services -o json | |
{ | |
"kind": "ServiceList", | |
"creationTimestamp": null, | |
"selfLink": "/api/v1beta1/services", | |
"resourceVersion": 19, | |
"apiVersion": "v1beta1", | |
"items": [ | |
{ | |
"id": "kubernetes", | |
"uid": "a21af59f-95ef-11e4-8789-080027ce4245", | |
"creationTimestamp": "2015-01-06T17:01:57-05:00", | |
"selfLink": "/api/v1beta1/services/kubernetes?namespace=default", | |
"resourceVersion": 3, | |
"namespace": "default", | |
"port": 443, | |
"protocol": "TCP", | |
"labels": { | |
"component": "apiserver", | |
"provider": "kubernetes" | |
}, | |
"selector": null, | |
"containerPort": 0, | |
"portalIP": "172.30.17.71" | |
}, | |
{ | |
"id": "kubernetes-ro", | |
"uid": "a21bab2d-95ef-11e4-8789-080027ce4245", | |
"creationTimestamp": "2015-01-06T17:01:57-05:00", | |
"selfLink": "/api/v1beta1/services/kubernetes-ro?namespace=default", | |
"resourceVersion": 4, | |
"namespace": "default", | |
"port": 80, | |
"protocol": "TCP", | |
"labels": { | |
"component": "apiserver", | |
"provider": "kubernetes" | |
}, | |
"selector": null, | |
"containerPort": 0, | |
"portalIP": "172.30.17.142" | |
}, | |
{ | |
"id": "hello-openshift", | |
"uid": "ab1e484b-95ef-11e4-8789-080027ce4245", | |
"creationTimestamp": "2015-01-06T17:02:12-05:00", | |
"selfLink": "/api/v1beta1/services/hello-openshift?namespace=default", | |
"resourceVersion": 16, | |
"namespace": "default", | |
"port": 27017, | |
"protocol": "TCP", | |
"selector": { | |
"name": "hello-openshift" | |
}, | |
"containerPort": 0, | |
"portalIP": "172.30.17.151" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment