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