Unable to enable unsafe sysctl in application pods

Solution Verified - Updated -

Issue

  • Enabled unsafe sysctls as per the documentation but the pods were unable to spin up.
  • Observed the below warning message from the namespace events:
82m         Warning   SysctlForbidden     pod/httpd-24-rhel7-99c594fff-xhjpx     forbidden sysctl: "net.ipv4.tcp_keepalive_time" not allowlisted

Environment

  • Red Hat OpenShift Container Platform 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content