2016-07-20 01:30:05 +00:00
|
|
|
{
|
2016-08-30 22:27:31 +00:00
|
|
|
"metadata": {
|
2016-10-27 06:24:27 +00:00
|
|
|
"name": "podsandbox1",
|
|
|
|
"uid": "redhat-test-ocid",
|
|
|
|
"namespace": "redhat.test.ocid",
|
|
|
|
"attempt": 1
|
2016-08-30 22:27:31 +00:00
|
|
|
},
|
2016-07-20 01:30:05 +00:00
|
|
|
"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": {
|
2016-11-19 02:17:14 +00:00
|
|
|
"owner": "hmeng",
|
|
|
|
"security.alpha.kubernetes.io/sysctls": "kernel.shm_rmid_forced=1,net.ipv4.ip_local_port_range=1024 65000",
|
2016-11-23 09:41:48 +00:00
|
|
|
"security.alpha.kubernetes.io/unsafe-sysctls": "kernel.msgmax=8192" ,
|
|
|
|
"security.alpha.kubernetes.io/seccomp/pod": "unconfined"
|
2016-07-20 01:30:05 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
2016-08-15 23:56:20 +00:00
|
|
|
"cgroup_parent": "podsandbox1.slice:container:infra",
|
2016-12-08 17:05:24 +00:00
|
|
|
"security_context": {
|
|
|
|
"namespace_options": {
|
|
|
|
"host_network": false,
|
|
|
|
"host_pid": false,
|
|
|
|
"host_ipc": false
|
|
|
|
}
|
2016-12-08 20:23:24 +00:00
|
|
|
}
|
2016-07-20 01:30:05 +00:00
|
|
|
}
|
|
|
|
}
|