Bug 1754403
| Summary: | [DOC] Missing information on how to enable unsafe sysctls | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Christian Koep <ckoep> |
| Component: | Documentation | Assignee: | Kevin Lamenzo <klamenzo> |
| Status: | CLOSED DUPLICATE | QA Contact: | MinLi <minmli> |
| Severity: | low | Docs Contact: | Vikram Goyal <vigoyal> |
| Priority: | low | ||
| Version: | 3.11.0 | CC: | aos-bugs, jokerman |
| Target Milestone: | --- | ||
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-07 13:07:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christian Koep
2019-09-23 07:34:26 UTC
Thanks @ckoep. I want to confirm that this is an additional step to what we have now. So the updated documentation will be along these lines. 1. Use the kubeletArguments field in the /etc/origin/node/node-config.yaml file, as described in Configuring Node Resources, to set the desired unsafe sysctls: (Then, from your KB, thank you!) 2. Add the required sysctl parameter to the allowedUnsafeSysctls list in a (preferably new) security context constraint (SCC) object: 3. systemctl restart atomic-openshift-node If you're unsure I will draft this up and ask QA if they can check. Thanks! Here is a draft PR as well. https://github.com/openshift/openshift-docs/pull/20914 @xiyuan could you please review? Thank you. @ Kevin Lamenzo, according to https://docs.openshift.com/container-platform/3.11/admin_guide/sysctls.html#enabling-unsafe-sysctls I think it's needed to add the unsafe sysctls to the DeploymentConfig for your pods. @MinLi I think we can close this. It looks like a separate BZ resolved the issue. PTAL https://bugzilla.redhat.com/show_bug.cgi?id=1811348 @ Kevin Lamenzo, I 've checked and agreed with you , we can close this bz. *** This bug has been marked as a duplicate of bug 1811348 *** |