Updating kubeletconfig shows "failed to initialize container log manager: invalid MaxFiles 1" in RHOCP4
Issue
-
Kubeletconfig with setting containerLogMaxFiles to '1' cause MCP in "updating" state forever. Kubelet fails with the specified error after restarting the node manually.
Nov 27 19:47:55 k8s01-5pw7x-infra-kjvkf kubenswrapper[27544]: E1127 19:47:55.246643 27544 run.go:74] "command failed" err="failed to run Kubelet: failed to create kubelet: failed to initialize container log manager: invalid MaxFiles 1, must be > 1" Nov 27 19:47:55 k8s01-5pw7x-infra-kjvkf systemd[1]: kubelet.service: Main process exited, code=exited, status=1/FAILURE
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.