summaryrefslogtreecommitdiff
path: root/test/testdata/container_redis_device.json
blob: 2a249551571c3f22fcae20124ea1711a852d0584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
	"metadata": {
		"name": "podsandbox1-redis"
	},
	"image": {
		"image": "redis:alpine"
	},
	"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"
		}
	],
	"devices": [
		{
			"host_path": "/dev/null",
			"container_path": "/dev/mynull",
			"permissions": "rwm"
		}
	],
	"labels": {
		"tier": "backend"
	},
	"annotations": {
		"pod": "podsandbox1"
	},
	"readonly_rootfs": false,
	"log_path": "",
	"stdin": false,
	"stdin_once": false,
	"tty": false,
	"linux": {
		"resources": {
			"cpu_period": 10000,
			"cpu_quota": 20000,
			"cpu_shares": 512,
			"oom_score_adj": 30
		},
		"security_context": {
			"capabilities": {
				"add_capabilities": [
					"sys_admin"
				]
			}
		}
	}
}