|
1 | 1 | { |
2 | 2 | "linux": { |
3 | 3 | "description": "Linux platform-specific configurations", |
| 4 | + "id": "https://opencontainers.org/schema/bundle/linux", |
4 | 5 | "type": "object", |
5 | 6 | "properties": { |
6 | 7 | "devices": { |
| 8 | + "id": "https://opencontainers.org/schema/bundle/linux/devices", |
7 | 9 | "type": "array", |
8 | 10 | "items": { |
9 | 11 | "$ref": "defs-linux.json#/definitions/Device" |
10 | 12 | } |
11 | 13 | }, |
12 | 14 | "uidMappings": { |
| 15 | + "id": "https://opencontainers.org/schema/bundle/linux/uidMappings", |
13 | 16 | "type": "array", |
14 | 17 | "items": { |
15 | 18 | "$ref": "defs.json#/definitions/IDMapping" |
16 | 19 | } |
17 | 20 | }, |
18 | 21 | "gidMappings": { |
| 22 | + "id": "https://opencontainers.org/schema/bundle/linux/gidMappings", |
19 | 23 | "type": "array", |
20 | 24 | "items": { |
21 | 25 | "$ref": "defs.json#/definitions/IDMapping" |
22 | 26 | } |
23 | 27 | }, |
24 | 28 | "namespaces": { |
| 29 | + "id": "https://opencontainers.org/schema/bundle/linux/namespaces", |
25 | 30 | "type": "array", |
26 | 31 | "items": { |
27 | 32 | "anyOf": [ |
|
32 | 37 | } |
33 | 38 | }, |
34 | 39 | "resources": { |
| 40 | + "id": "https://opencontainers.org/schema/bundle/linux/resources", |
35 | 41 | "type": "object", |
36 | 42 | "properties": { |
37 | 43 | "devices": { |
| 44 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/devices", |
38 | 45 | "type": "array", |
39 | 46 | "items": { |
40 | 47 | "$ref": "defs-linux.json#/definitions/DeviceCgroup" |
41 | 48 | } |
42 | 49 | }, |
43 | 50 | "pids": { |
| 51 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/pids", |
44 | 52 | "type": "object", |
45 | 53 | "properties": { |
46 | 54 | "limit": { |
| 55 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/pids/limit", |
47 | 56 | "$ref": "defs.json#/definitions/int64" |
48 | 57 | } |
49 | 58 | }, |
|
52 | 61 | ] |
53 | 62 | }, |
54 | 63 | "blockIO": { |
| 64 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO", |
55 | 65 | "type": "object", |
56 | 66 | "properties": { |
57 | 67 | "weight": { |
| 68 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/weight", |
58 | 69 | "$ref": "defs-linux.json#/definitions/weight" |
59 | 70 | }, |
60 | 71 | "leafWeight": { |
| 72 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/leafWeight", |
61 | 73 | "$ref": "defs-linux.json#/definitions/weight" |
62 | 74 | }, |
63 | 75 | "throttleReadBpsDevice": { |
| 76 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/throttleReadBpsDevice", |
64 | 77 | "type": "array", |
65 | 78 | "items": { |
66 | 79 | "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle" |
67 | 80 | } |
68 | 81 | }, |
69 | 82 | "throttleWriteBpsDevice": { |
| 83 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/throttleWriteBpsDevice", |
70 | 84 | "type": "array", |
71 | 85 | "items": { |
72 | 86 | "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle" |
73 | 87 | } |
74 | 88 | }, |
75 | 89 | "throttleReadIOPSDevice": { |
| 90 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/throttleReadIOPSDevice", |
76 | 91 | "type": "array", |
77 | 92 | "items": { |
78 | 93 | "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle" |
79 | 94 | } |
80 | 95 | }, |
81 | 96 | "throttleWriteIOPSDevice": { |
| 97 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/throttleWriteIOPSDevice", |
82 | 98 | "type": "array", |
83 | 99 | "items": { |
84 | 100 | "$ref": "defs-linux.json#/definitions/blockIODeviceThrottle" |
85 | 101 | } |
86 | 102 | }, |
87 | 103 | "weightDevice": { |
| 104 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/weightDevice", |
88 | 105 | "type": "array", |
89 | 106 | "items": { |
90 | 107 | "$ref": "defs-linux.json#/definitions/blockIODeviceWeight" |
|
93 | 110 | } |
94 | 111 | }, |
95 | 112 | "cpu": { |
| 113 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu", |
96 | 114 | "type": "object", |
97 | 115 | "properties": { |
98 | 116 | "cpus": { |
| 117 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus", |
99 | 118 | "type": "string" |
100 | 119 | }, |
101 | 120 | "mems": { |
| 121 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems", |
102 | 122 | "type": "string" |
103 | 123 | }, |
104 | 124 | "period": { |
| 125 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period", |
105 | 126 | "$ref": "defs.json#/definitions/uint64" |
106 | 127 | }, |
107 | 128 | "quota": { |
| 129 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/quota", |
108 | 130 | "$ref": "defs.json#/definitions/int64" |
109 | 131 | }, |
110 | 132 | "realtimePeriod": { |
| 133 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/realtimePeriod", |
111 | 134 | "$ref": "defs.json#/definitions/uint64" |
112 | 135 | }, |
113 | 136 | "realtimeRuntime": { |
| 137 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/realtimeRuntime", |
114 | 138 | "$ref": "defs.json#/definitions/int64" |
115 | 139 | }, |
116 | 140 | "shares": { |
| 141 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/shares", |
117 | 142 | "$ref": "defs.json#/definitions/uint64" |
118 | 143 | } |
119 | 144 | } |
120 | 145 | }, |
121 | 146 | "hugepageLimits": { |
| 147 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/hugepageLimits", |
122 | 148 | "type": "array", |
123 | 149 | "items": { |
124 | 150 | "type": "object", |
|
137 | 163 | } |
138 | 164 | }, |
139 | 165 | "memory": { |
| 166 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory", |
140 | 167 | "type": "object", |
141 | 168 | "properties": { |
142 | 169 | "kernel": { |
| 170 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernel", |
143 | 171 | "$ref": "defs.json#/definitions/int64" |
144 | 172 | }, |
145 | 173 | "kernelTCP": { |
| 174 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernelTCP", |
146 | 175 | "$ref": "defs.json#/definitions/int64" |
147 | 176 | }, |
148 | 177 | "limit": { |
| 178 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/limit", |
149 | 179 | "$ref": "defs.json#/definitions/int64" |
150 | 180 | }, |
151 | 181 | "reservation": { |
| 182 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/reservation", |
152 | 183 | "$ref": "defs.json#/definitions/int64" |
153 | 184 | }, |
154 | 185 | "swap": { |
| 186 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/swap", |
155 | 187 | "$ref": "defs.json#/definitions/int64" |
156 | 188 | }, |
157 | 189 | "swappiness": { |
| 190 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/swappiness", |
158 | 191 | "$ref": "defs.json#/definitions/uint64" |
159 | 192 | }, |
160 | 193 | "disableOOMKiller": { |
| 194 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/disableOOMKiller", |
161 | 195 | "type": "boolean" |
162 | 196 | } |
163 | 197 | } |
164 | 198 | }, |
165 | 199 | "network": { |
| 200 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/network", |
166 | 201 | "type": "object", |
167 | 202 | "properties": { |
168 | 203 | "classID": { |
| 204 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/network/classId", |
169 | 205 | "$ref": "defs.json#/definitions/uint32" |
170 | 206 | }, |
171 | 207 | "priorities": { |
| 208 | + "id": "https://opencontainers.org/schema/bundle/linux/resources/network/priorities", |
172 | 209 | "type": "array", |
173 | 210 | "items": { |
174 | 211 | "$ref": "defs-linux.json#/definitions/NetworkInterfacePriority" |
|
185 | 222 | } |
186 | 223 | }, |
187 | 224 | "cgroupsPath": { |
| 225 | + "id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath", |
188 | 226 | "type": "string" |
189 | 227 | }, |
190 | 228 | "rootfsPropagation": { |
| 229 | + "id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation", |
191 | 230 | "$ref": "defs-linux.json#/definitions/RootfsPropagation" |
192 | 231 | }, |
193 | 232 | "seccomp": { |
| 233 | + "id": "https://opencontainers.org/schema/bundle/linux/seccomp", |
194 | 234 | "type": "object", |
195 | 235 | "properties": { |
196 | 236 | "defaultAction": { |
197 | | - "$ref": "defs-linux.json#/definitions/SeccompAction" |
| 237 | + "id": "https://opencontainers.org/schema/bundle/linux/seccomp/defaultAction", |
| 238 | + "type": "string" |
198 | 239 | }, |
199 | 240 | "architectures": { |
| 241 | + "id": "https://opencontainers.org/schema/bundle/linux/seccomp/architectures", |
200 | 242 | "type": "array", |
201 | 243 | "items": { |
202 | 244 | "$ref": "defs-linux.json#/definitions/SeccompArch" |
203 | 245 | } |
204 | 246 | }, |
205 | 247 | "syscalls": { |
| 248 | + "id": "https://opencontainers.org/schema/bundle/linux/seccomp/syscalls", |
206 | 249 | "type": "array", |
207 | 250 | "items": { |
208 | 251 | "$ref": "defs-linux.json#/definitions/Syscall" |
|
214 | 257 | ] |
215 | 258 | }, |
216 | 259 | "sysctl": { |
| 260 | + "id": "https://opencontainers.org/schema/bundle/linux/sysctl", |
217 | 261 | "$ref": "defs.json#/definitions/mapStringString" |
218 | 262 | }, |
219 | 263 | "maskedPaths": { |
| 264 | + "id": "https://opencontainers.org/schema/bundle/linux/maskedPaths", |
220 | 265 | "$ref": "defs.json#/definitions/ArrayOfStrings" |
221 | 266 | }, |
222 | 267 | "readonlyPaths": { |
| 268 | + "id": "https://opencontainers.org/schema/bundle/linux/readonlyPaths", |
223 | 269 | "$ref": "defs.json#/definitions/ArrayOfStrings" |
224 | 270 | }, |
225 | 271 | "mountLabel": { |
| 272 | + "id": "https://opencontainers.org/schema/bundle/linux/mountLabel", |
226 | 273 | "type": "string" |
227 | 274 | }, |
228 | 275 | "intelRdt": { |
| 276 | + "id": "https://opencontainers.org/schema/bundle/linux/intelRdt", |
229 | 277 | "type": "object", |
230 | 278 | "properties": { |
231 | 279 | "l3CacheSchema": { |
| 280 | + "id": "https://opencontainers.org/schema/bundle/linux/intelRdt/l3CacheSchema", |
232 | 281 | "type": "string" |
233 | 282 | } |
234 | 283 | } |
|
0 commit comments