mirror of
https://github.com/clearlinux/rkt.git
synced 2026-08-22 07:08:01 +00:00
fd37804b9f
This commit adds memory and cpu isolators to test we don't break anything. The next step is adding a functional test that actually checks the isolators are respected.
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
{
|
|
"acKind": "ImageManifest",
|
|
"acVersion": "0.5.1",
|
|
"name": "coreos.com/rkt-inspect",
|
|
"labels": [
|
|
{
|
|
"name": "version",
|
|
"value": "1.0.0"
|
|
},
|
|
{
|
|
"name": "arch",
|
|
"value": "amd64"
|
|
},
|
|
{
|
|
"name": "os",
|
|
"value": "linux"
|
|
}
|
|
],
|
|
"app": {
|
|
"exec": [
|
|
"/inspect"
|
|
],
|
|
"user": "0",
|
|
"group": "0",
|
|
"workingDirectory": "/",
|
|
"environment": [
|
|
{
|
|
"name": "VAR_FROM_MANIFEST",
|
|
"value": "manifest"
|
|
}
|
|
],
|
|
"isolators": [
|
|
{
|
|
"name": "resource/memory",
|
|
"value": {
|
|
"request": "25M",
|
|
"limit": "120M"
|
|
}
|
|
},
|
|
{
|
|
"name": "resource/cpu",
|
|
"value": {
|
|
"request": "50",
|
|
"limit": "100"
|
|
}
|
|
}
|
|
],
|
|
"mountPoints": [
|
|
],
|
|
"ports": [
|
|
]
|
|
}
|
|
}
|