2016-08-18 22:20:12 +00:00
|
|
|
{
|
2016-08-30 22:27:31 +00:00
|
|
|
"metadata": {
|
|
|
|
"name": "podsandbox1-redis"
|
|
|
|
},
|
2016-08-18 22:20:12 +00:00
|
|
|
"image": {
|
2017-05-05 12:49:02 +00:00
|
|
|
"image": "redis:alpine"
|
2016-08-18 22:20:12 +00:00
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"docker-entrypoint.sh",
|
|
|
|
"redis-server"
|
|
|
|
],
|
|
|
|
"working_dir": "/data",
|
|
|
|
"envs": [
|
|
|
|
{
|
|
|
|
"key": "PATH",
|
|
|
|
"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "TERM",
|
|
|
|
"value": "xterm"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "REDIS_VERSION",
|
|
|
|
"value": "3.2.3"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "REDIS_DOWNLOAD_URL",
|
|
|
|
"value": "http://download.redis.io/releases/redis-3.2.3.tar.gz"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "REDIS_DOWNLOAD_SHA1",
|
|
|
|
"value": "92d6d93ef2efc91e595c8bf578bf72baff397507"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"labels": {
|
|
|
|
"tier": "backend"
|
|
|
|
},
|
|
|
|
"annotations": {
|
|
|
|
"pod": "podsandbox1"
|
|
|
|
},
|
|
|
|
"readonly_rootfs": false,
|
2017-03-22 12:07:15 +00:00
|
|
|
"log_path": "",
|
2016-08-18 22:20:12 +00:00
|
|
|
"stdin": false,
|
|
|
|
"stdin_once": false,
|
|
|
|
"tty": false,
|
|
|
|
"linux": {
|
|
|
|
"resources": {
|
2017-09-28 08:52:56 +00:00
|
|
|
"memory_limit_in_bytes": 209715200,
|
2016-08-18 22:20:12 +00:00
|
|
|
"cpu_period": 10000,
|
|
|
|
"cpu_quota": 20000,
|
|
|
|
"cpu_shares": 512,
|
2017-12-20 17:23:37 +00:00
|
|
|
"oom_score_adj": 30,
|
|
|
|
"cpuset_cpus": "0-1",
|
|
|
|
"cpuset_mems": "0"
|
2016-08-18 22:20:12 +00:00
|
|
|
},
|
2017-05-05 10:14:34 +00:00
|
|
|
"security_context": {
|
|
|
|
"capabilities": {
|
|
|
|
"add_capabilities": [
|
|
|
|
"sys_admin"
|
|
|
|
]
|
|
|
|
}
|
2016-08-18 22:20:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|