Gaurav Kumar08/09/2023, 11:19 AM
value to be
. After exec to the pod, I see that this value is taken as
as default. I tried to set this value in the SecurityContext for the podSpec, but it failed because it is an unsafe Sysctls which needs to be whitelisted first https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#enabling-unsafe-sysctls If I try to update the PodSpec with this sysctl, I get the following error as expected
Is there any way I can whitelist this sysctl as without setting this sysctl, task will not execute.
Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 6m22s default-scheduler Successfully assigned flytesnacks-development/ffbd69abddba94739a0a-n5-0 to 12440e2e96d5 Warning SysctlForbidden 6m23s kubelet forbidden sysctl: "fs.mqueue.msg_max" not allowlisted