Hi, I’ve a task that’s doing computationally expen...
# ask-the-community
Hi, I’ve a task that’s doing computationally expensive running on GPU for autonomous vehicle. For that task, I need this
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
Copy code
  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.
Got it fixed !!