I'm trying to provision a server and the server code calls pthread_setschedparam. After doing some search, I know I need to give the container capability of SYS_NICE
and so I did, and I've even given it privileged: true
; however, the call still returns 2 (ENOENT). Can someone please help? Thanks.
yaml snippet:
securityContext:
privileged: true
capabilities:
add:
- SYS_NICE