Skip to content

Commit

Permalink
kaps: add cpu and memory resources in container config file example
Browse files Browse the repository at this point in the history
Signed-off-by: Hugo Amalric <[email protected]>
  • Loading branch information
hugoamalric committed May 2, 2022
1 parent 853b3b0 commit f2e1d36
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion hack/fixtures/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,23 @@
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
],
"resources": {
"cpu": {
"shares": 1024,
"quota": 1000000,
"period": 500000,
"realtimeRuntime": 950000,
"realtimePeriod": 1000000
},
"memory": {
"limit": 536870912,
"reservation": 536870912,
"kernel": -1,
"kernelTCP": -1,
"swappiness": 0,
"disableOOMKiller": false
}
}
}
}

0 comments on commit f2e1d36

Please sign in to comment.