|
1 | 1 | { |
2 | 2 | "linux": { |
3 | 3 | "description": "Linux platform-specific configurations", |
4 | | - "id": "https://opencontainers.org/schema/bundle/linux", |
| 4 | + "id": "https://opencontainers.org/schema/runtime/config/linux", |
5 | 5 | "type": "object", |
6 | 6 | "properties": { |
7 | 7 | "devices": { |
8 | | - "id": "https://opencontainers.org/schema/bundle/linux/devices", |
| 8 | + "id": "https://opencontainers.org/schema/runtime/config/linux/devices", |
9 | 9 | "oneOf": [ |
10 | 10 | { |
11 | 11 | "type": "array", |
|
19 | 19 | ] |
20 | 20 | }, |
21 | 21 | "uidMappings": { |
22 | | - "id": "https://opencontainers.org/schema/bundle/linux/uidMappings", |
| 22 | + "id": "https://opencontainers.org/schema/runtime/config/linux/uidMappings", |
23 | 23 | "oneOf": [ |
24 | 24 | { |
25 | 25 | "type": "array", |
|
33 | 33 | ] |
34 | 34 | }, |
35 | 35 | "gidMappings": { |
36 | | - "id": "https://opencontainers.org/schema/bundle/linux/gidMappings", |
| 36 | + "id": "https://opencontainers.org/schema/runtime/config/linux/gidMappings", |
37 | 37 | "oneOf": [ |
38 | 38 | { |
39 | 39 | "type": "array", |
|
47 | 47 | ] |
48 | 48 | }, |
49 | 49 | "namespaces": { |
50 | | - "id": "https://opencontainers.org/schema/bundle/linux/namespaces", |
| 50 | + "id": "https://opencontainers.org/schema/runtime/config/linux/namespaces", |
51 | 51 | "type": "array", |
52 | 52 | "items": { |
53 | 53 | "anyOf": [ |
|
58 | 58 | } |
59 | 59 | }, |
60 | 60 | "resources": { |
61 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources", |
| 61 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources", |
62 | 62 | "type": "object", |
63 | 63 | "properties": { |
64 | 64 | "oomScoreAdj": { |
65 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/oomScoreAdj", |
| 65 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/oomScoreAdj", |
66 | 66 | "type": "integer", |
67 | 67 | "minimum": -1000, |
68 | 68 | "maximum": 1000 |
69 | 69 | }, |
70 | 70 | "pids": { |
71 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/pids", |
| 71 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/pids", |
72 | 72 | "properties": { |
73 | 73 | "limit": { |
74 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/pids/limit", |
| 74 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/pids/limit", |
75 | 75 | "$ref": "defs.json#/definitions/int64" |
76 | 76 | } |
77 | 77 | } |
78 | 78 | }, |
79 | 79 | "blockIO": { |
80 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO", |
| 80 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO", |
81 | 81 | "type": "object", |
82 | 82 | "properties": { |
83 | 83 | "blkioWeight": { |
84 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioWeight", |
| 84 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioWeight", |
85 | 85 | "$ref": "defs-linux.json#/definitions/blkioWeightPointer" |
86 | 86 | }, |
87 | 87 | "blkioLeafWeight": { |
88 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioLeafWeight", |
| 88 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioLeafWeight", |
89 | 89 | "$ref": "defs-linux.json#/definitions/blkioWeightPointer" |
90 | 90 | }, |
91 | 91 | "blkioThrottleReadBpsDevice": { |
92 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioThrottleReadBpsDevice", |
| 92 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioThrottleReadBpsDevice", |
93 | 93 | "oneOf": [ |
94 | 94 | { |
95 | 95 | "type": "array", |
|
105 | 105 | ] |
106 | 106 | }, |
107 | 107 | "blkioThrottleWriteBpsDevice": { |
108 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioThrottleWriteBpsDevice", |
| 108 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioThrottleWriteBpsDevice", |
109 | 109 | "oneOf": [ |
110 | 110 | { |
111 | 111 | "type": "array", |
|
119 | 119 | ] |
120 | 120 | }, |
121 | 121 | "blkioThrottleReadIopsDevice": { |
122 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioThrottleReadIopsDevice", |
| 122 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioThrottleReadIopsDevice", |
123 | 123 | "oneOf": [ |
124 | 124 | { |
125 | 125 | "type": "array", |
|
133 | 133 | ] |
134 | 134 | }, |
135 | 135 | "blkioThrottleWriteIopsDevice": { |
136 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioThrottleWriteIopsDevice", |
| 136 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioThrottleWriteIopsDevice", |
137 | 137 | "oneOf": [ |
138 | 138 | { |
139 | 139 | "type": "array", |
|
147 | 147 | ] |
148 | 148 | }, |
149 | 149 | "blkioWeightDevice": { |
150 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/blockIO/blkioWeightDevice", |
| 150 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/blockIO/blkioWeightDevice", |
151 | 151 | "type": "array", |
152 | 152 | "items": { |
153 | 153 | "$ref": "defs-linux.json#/definitions/blockIODeviceWeightPointer" |
|
156 | 156 | } |
157 | 157 | }, |
158 | 158 | "cpu": { |
159 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu", |
| 159 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu", |
160 | 160 | "properties": { |
161 | 161 | "cpus": { |
162 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus", |
| 162 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/cpus", |
163 | 163 | "$ref": "defs.json#/definitions/stringPointer" |
164 | 164 | }, |
165 | 165 | "mems": { |
166 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems", |
| 166 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/mems", |
167 | 167 | "$ref": "defs.json#/definitions/stringPointer" |
168 | 168 | }, |
169 | 169 | "period": { |
170 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period", |
| 170 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/period", |
171 | 171 | "$ref": "defs.json#/definitions/uint64Pointer" |
172 | 172 | }, |
173 | 173 | "quota": { |
174 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/quota", |
| 174 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/quota", |
175 | 175 | "$ref": "defs.json#/definitions/uint64Pointer" |
176 | 176 | }, |
177 | 177 | "realtimePeriod": { |
178 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/realtimePeriod", |
| 178 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/realtimePeriod", |
179 | 179 | "$ref": "defs.json#/definitions/uint64Pointer" |
180 | 180 | }, |
181 | 181 | "realtimeRuntime": { |
182 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/realtimeRuntime", |
| 182 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/realtimeRuntime", |
183 | 183 | "$ref": "defs.json#/definitions/uint64Pointer" |
184 | 184 | }, |
185 | 185 | "shares": { |
186 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/shares", |
| 186 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/cpu/shares", |
187 | 187 | "$ref": "defs.json#/definitions/uint64Pointer" |
188 | 188 | } |
189 | 189 | }, |
190 | 190 | "type": "object" |
191 | 191 | }, |
192 | 192 | "disableOOMKiller": { |
193 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/disableOOMKiller", |
| 193 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/disableOOMKiller", |
194 | 194 | "type": "boolean" |
195 | 195 | }, |
196 | 196 | "hugepageLimits": { |
197 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/hugepageLimits", |
| 197 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/hugepageLimits", |
198 | 198 | "oneOf": [ |
199 | 199 | { |
200 | 200 | "type": "array", |
|
216 | 216 | ] |
217 | 217 | }, |
218 | 218 | "memory": { |
219 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/memory", |
| 219 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/memory", |
220 | 220 | "type": "object", |
221 | 221 | "properties": { |
222 | 222 | "kernel": { |
223 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/kernel", |
| 223 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/memory/kernel", |
224 | 224 | "$ref": "defs.json#/definitions/uint64Pointer" |
225 | 225 | }, |
226 | 226 | "limit": { |
227 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/limit", |
| 227 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/memory/limit", |
228 | 228 | "$ref": "defs.json#/definitions/uint64Pointer" |
229 | 229 | }, |
230 | 230 | "reservation": { |
231 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/reservation", |
| 231 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/memory/reservation", |
232 | 232 | "$ref": "defs.json#/definitions/uint64Pointer" |
233 | 233 | }, |
234 | 234 | "swap": { |
235 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/swap", |
| 235 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/memory/swap", |
236 | 236 | "$ref": "defs.json#/definitions/uint64Pointer" |
237 | 237 | }, |
238 | 238 | "swappiness": { |
239 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/swappiness", |
| 239 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/memory/swappiness", |
240 | 240 | "$ref": "defs.json#/definitions/uint64Pointer" |
241 | 241 | } |
242 | 242 | } |
243 | 243 | }, |
244 | 244 | "network": { |
245 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/network", |
| 245 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/network", |
246 | 246 | "type": "object", |
247 | 247 | "properties": { |
248 | 248 | "classID": { |
249 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/network/classId", |
| 249 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/network/classId", |
250 | 250 | "$ref": "defs.json#/definitions/uint32" |
251 | 251 | }, |
252 | 252 | "priorities": { |
253 | | - "id": "https://opencontainers.org/schema/bundle/linux/resources/network/priorities", |
| 253 | + "id": "https://opencontainers.org/schema/runtime/config/linux/resources/network/priorities", |
254 | 254 | "oneOf": [ |
255 | 255 | { |
256 | 256 | "type": "array", |
|
278 | 278 | ] |
279 | 279 | }, |
280 | 280 | "rootfsPropagation": { |
281 | | - "id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation", |
| 281 | + "id": "https://opencontainers.org/schema/runtime/config/linux/rootfsPropagation", |
282 | 282 | "type": "string" |
283 | 283 | }, |
284 | 284 | "seccomp": { |
285 | | - "id": "https://opencontainers.org/schema/bundle/linux/seccomp", |
| 285 | + "id": "https://opencontainers.org/schema/runtime/config/linux/seccomp", |
286 | 286 | "properties": { |
287 | 287 | "defaultAction": { |
288 | | - "id": "https://opencontainers.org/schema/bundle/linux/seccomp/defaultAction", |
| 288 | + "id": "https://opencontainers.org/schema/runtime/config/linux/seccomp/defaultAction", |
289 | 289 | "type": "string" |
290 | 290 | }, |
291 | 291 | "architectures": { |
292 | | - "id": "https://opencontainers.org/schema/bundle/linux/seccomp/architectures", |
| 292 | + "id": "https://opencontainers.org/schema/runtime/config/linux/seccomp/architectures", |
293 | 293 | "oneOf": [ |
294 | 294 | { |
295 | 295 | "type": "array", |
|
303 | 303 | ] |
304 | 304 | }, |
305 | 305 | "syscalls": { |
306 | | - "id": "https://opencontainers.org/schema/bundle/linux/seccomp/syscalls", |
| 306 | + "id": "https://opencontainers.org/schema/runtime/config/linux/seccomp/syscalls", |
307 | 307 | "type": "array", |
308 | 308 | "items": { |
309 | 309 | "$ref": "defs-linux.json#/definitions/Syscall" |
|
313 | 313 | "type": "object" |
314 | 314 | }, |
315 | 315 | "sysctl": { |
316 | | - "id": "https://opencontainers.org/schema/bundle/linux/sysctl", |
| 316 | + "id": "https://opencontainers.org/schema/runtime/config/linux/sysctl", |
317 | 317 | "oneOf": [ |
318 | 318 | { |
319 | 319 | "$ref": "defs.json#/definitions/mapStringString" |
|
324 | 324 | ] |
325 | 325 | }, |
326 | 326 | "maskedPaths": { |
327 | | - "id": "https://opencontainers.org/schema/bundle/linux/maskedPaths", |
| 327 | + "id": "https://opencontainers.org/schema/runtime/config/linux/maskedPaths", |
328 | 328 | "$ref": "defs.json#/definitions/ArrayOfStrings" |
329 | 329 | }, |
330 | 330 | "readonlyPaths": { |
331 | | - "id": "https://opencontainers.org/schema/bundle/linux/readonlyPaths", |
| 331 | + "id": "https://opencontainers.org/schema/runtime/config/linux/readonlyPaths", |
332 | 332 | "$ref": "defs.json#/definitions/ArrayOfStrings" |
333 | 333 | }, |
334 | 334 | "mountLabel": { |
335 | | - "id": "https://opencontainers.org/schema/bundle/linux/mountLabel", |
| 335 | + "id": "https://opencontainers.org/schema/runtime/config/linux/mountLabel", |
336 | 336 | "type": "string" |
337 | 337 | } |
338 | 338 | } |
|
0 commit comments