incalculable-ice-13425
08/09/2023, 11:19 AMfs.mqueue.msg_max
value to be 8192
. After exec to the pod, I see that this value is taken as 10
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
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
Is there any way I can whitelist this sysctl as without setting this sysctl, task will not execute.incalculable-ice-13425
08/09/2023, 3:14 PM