2016-12-21 11:23:52 +00:00
|
|
|
{
|
|
|
|
"metadata": {
|
|
|
|
"name": "podsandbox1",
|
2017-05-12 13:36:15 +00:00
|
|
|
"uid": "redhat-test-crio",
|
|
|
|
"namespace": "redhat.test.crio",
|
2016-12-21 11:23:52 +00:00
|
|
|
"attempt": 1
|
|
|
|
},
|
2017-05-12 13:36:15 +00:00
|
|
|
"hostname": "crioctl_host",
|
2017-03-22 12:07:15 +00:00
|
|
|
"log_directory": "",
|
2016-12-21 11:23:52 +00:00
|
|
|
"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": {
|
|
|
|
"limits": 3,
|
|
|
|
"requests": 2
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"limits": 50000000,
|
|
|
|
"requests": 2000000
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"labels": {
|
|
|
|
"group": "test"
|
|
|
|
},
|
|
|
|
"annotations": {
|
|
|
|
"owner": "hmeng",
|
|
|
|
"security.alpha.kubernetes.io/unsafe-sysctls": "kernel.msgmax=8192" ,
|
|
|
|
"security.alpha.kubernetes.io/seccomp/pod": "unconfined"
|
|
|
|
},
|
|
|
|
"linux": {
|
2017-05-12 13:36:15 +00:00
|
|
|
"cgroup_parent": "/crio-podsandbox1",
|
2016-12-21 11:23:52 +00:00
|
|
|
"security_context": {
|
|
|
|
"namespace_options": {
|
|
|
|
"host_network": true,
|
|
|
|
"host_pid": false,
|
|
|
|
"host_ipc": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|