Bug 1690754
Summary: | Enabling unsafe sysctls in kubeletConfig is not taking affect | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Sunil Choudhary <schoudha> |
Component: | Node | Assignee: | Ryan Phillips <rphillips> |
Status: | CLOSED ERRATA | QA Contact: | Sunil Choudhary <schoudha> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.2.0 | CC: | aos-bugs, jmencak, jokerman, minmli, mmccomas, sjenning, weinliu, wjiang, wsun |
Target Milestone: | --- | ||
Target Release: | 4.2.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-16 06:27:58 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
Sunil Choudhary
2019-03-20 07:49:27 UTC
FYI, I did not see any things about allowed-unsafe-sysctls in https://github.com/kubernetes/kubelet/blob/release-1.12/config/v1beta1/types.go. But you can give a try with "experimental-allowed-unsafe-sysctls" according to https://v1-12.docs.kubernetes.io/docs/reference/command-line-tools-reference/kubelet/ since the command line still support this. I think current problem is dynamically kubelet-config don't take effect. I try for kubelet config item "maxPods", reconfig not work. Pick to origin: https://github.com/openshift/origin/pull/23538 Just ran into a major issue here in that the vendored kube for the MCO, which will need this change to the kubelet API, is pointing to upstream and not to our fork. Thus we are currently not able to get this change into the MCO. Discussions on next steps next week (8/5). PR's have been merged. Code will be in the next 4.2 release. Btw, "worker" machineconfigpool should be labeled first before create kubeletconfig # oc label machineconfigpool worker custom-kubelet=sysctl Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922 |