Error message: Error creating pods "testpod" is forbidden: unable to validate against any security context constraint: [pod.spec.securityContext.sysctl[0]: Forbidden: unsafe sysctl "net.core.somaxconn" is not allowed]
Issue
-
We have followed the official documentation on sysctls but we are still receiving:
Error message: Error creating pods "testpod" is forbidden: unable to validate against any security context constraint: [pod.spec.securityContext.sysctl[0]: Forbidden: unsafe sysctl "net.core.somaxconn" is not allowed]
Environment
- OpenShift Container Platform (OCP) 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.