From f2e1d368717508e57aaa766d2729ea263406b653 Mon Sep 17 00:00:00 2001 From: Hugo Amalric Date: Mon, 2 May 2022 03:12:53 +0200 Subject: [PATCH] kaps: add cpu and memory resources in container config file example Signed-off-by: Hugo Amalric --- hack/fixtures/config.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/hack/fixtures/config.json b/hack/fixtures/config.json index 925b845..d137d24 100644 --- a/hack/fixtures/config.json +++ b/hack/fixtures/config.json @@ -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 + } + } } } \ No newline at end of file