2014-06-06 23:40:48 +00:00
|
|
|
{
|
2014-07-24 05:32:07 +00:00
|
|
|
"kind": "PodList",
|
|
|
|
"apiVersion": "v1beta1",
|
2014-06-06 23:40:48 +00:00
|
|
|
"items": [
|
|
|
|
{
|
2014-06-09 05:38:45 +00:00
|
|
|
"id": "my-pod-1",
|
2014-06-06 23:40:48 +00:00
|
|
|
"labels": {
|
|
|
|
"name": "testRun",
|
2014-11-06 22:00:14 +00:00
|
|
|
"replicationcontroller": "testRun"
|
2014-06-06 23:40:48 +00:00
|
|
|
},
|
|
|
|
"desiredState": {
|
|
|
|
"manifest": {
|
2014-06-30 23:16:06 +00:00
|
|
|
"version": "v1beta1",
|
|
|
|
"id": "my-pod-1",
|
2014-06-06 23:40:48 +00:00
|
|
|
"containers": [{
|
2014-07-23 18:08:16 +00:00
|
|
|
"name": "nginx",
|
2014-06-06 23:40:48 +00:00
|
|
|
"image": "dockerfile/nginx",
|
|
|
|
"ports": [{
|
|
|
|
"hostPort": 8080,
|
|
|
|
"containerPort": 80
|
|
|
|
}]
|
2014-07-23 18:08:16 +00:00
|
|
|
}]
|
2014-06-06 23:40:48 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"currentState": {
|
|
|
|
"host": "host-1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2014-06-09 05:38:45 +00:00
|
|
|
"id": "my-pod-2",
|
2014-06-06 23:40:48 +00:00
|
|
|
"labels": {
|
|
|
|
"name": "testRun",
|
2014-11-06 22:00:14 +00:00
|
|
|
"replicationcontroller": "testRun"
|
2014-06-06 23:40:48 +00:00
|
|
|
},
|
|
|
|
"desiredState": {
|
|
|
|
"manifest": {
|
2014-06-30 23:16:06 +00:00
|
|
|
"version": "v1beta1",
|
|
|
|
"id": "my-pod-2",
|
2014-06-06 23:40:48 +00:00
|
|
|
"containers": [{
|
2014-07-23 18:08:16 +00:00
|
|
|
"name": "nginx",
|
2014-06-06 23:40:48 +00:00
|
|
|
"image": "dockerfile/nginx",
|
|
|
|
"ports": [{
|
|
|
|
"hostPort": 8080,
|
|
|
|
"containerPort": 80
|
|
|
|
}]
|
2014-07-23 18:08:16 +00:00
|
|
|
}]
|
2014-06-06 23:40:48 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"currentState": {
|
|
|
|
"host": "host-2"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2014-06-30 23:16:06 +00:00
|
|
|
}
|