add test for sysctls
Signed-off-by: HaoZhang <crazykev@zju.edu.cn>
This commit is contained in:
parent
d1e1b7c183
commit
bdd817d002
2 changed files with 43 additions and 1 deletions
4
test/testdata/sandbox_config.json
vendored
4
test/testdata/sandbox_config.json
vendored
|
@ -46,7 +46,9 @@
|
|||
"group": "test"
|
||||
},
|
||||
"annotations": {
|
||||
"owner": "hmeng"
|
||||
"owner": "hmeng",
|
||||
"security.alpha.kubernetes.io/sysctls": "kernel.shm_rmid_forced=1,net.ipv4.ip_local_port_range=1024 65000",
|
||||
"security.alpha.kubernetes.io/unsafe-sysctls": "kernel.msgmax=8192"
|
||||
},
|
||||
"linux": {
|
||||
"cgroup_parent": "podsandbox1.slice:container:infra",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue