2016-07-20 01:30:05 +00:00
|
|
|
{
|
|
|
|
"name": "podsandbox1",
|
|
|
|
"hostname": "ocic_host",
|
|
|
|
"log_directory": ".",
|
|
|
|
"dns_options": {
|
|
|
|
"servers": [
|
|
|
|
"server1.redhat.com",
|
|
|
|
"server2.redhat.com"
|
|
|
|
],
|
|
|
|
"searches": [
|
|
|
|
"8.8.8.8"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"port_mappings": [
|
|
|
|
{
|
|
|
|
"name": "port_map1",
|
|
|
|
"protocol": 1,
|
|
|
|
"container_port": 80,
|
|
|
|
"host_port": 4888,
|
|
|
|
"host_ip": "192.168.0.33"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "port_map2",
|
|
|
|
"protocol": 2,
|
|
|
|
"container_port": 81,
|
|
|
|
"host_port": 4889,
|
|
|
|
"host_ip": "192.168.0.33"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"resources": {
|
|
|
|
"cpu": {
|
2016-07-25 18:02:30 +00:00
|
|
|
"limits": 3,
|
|
|
|
"requests": 2
|
2016-07-20 01:30:05 +00:00
|
|
|
},
|
|
|
|
"memory": {
|
2016-07-25 18:02:30 +00:00
|
|
|
"limits": 50000000,
|
|
|
|
"requests": 2000000
|
2016-07-20 01:30:05 +00:00
|
|
|
}
|
|
|
|
},
|
2016-07-22 22:15:41 +00:00
|
|
|
"labels": {
|
2016-07-20 01:30:05 +00:00
|
|
|
"group": "test"
|
|
|
|
},
|
|
|
|
"annotations": {
|
|
|
|
"owner": "hmeng"
|
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"cgroup_parent": "/sys/fs/cgroup/test",
|
|
|
|
"namespace_options": {
|
2016-08-12 23:19:36 +00:00
|
|
|
"host_network": false,
|
|
|
|
"host_pid": false,
|
|
|
|
"host_ipc": false
|
2016-07-20 01:30:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|