You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously the `restorecon` command was applies on /var/lib/kubelet/
This caused the command to hang forever on a stale NFS volumes.
To minimize the affect of the command this command suggest few things:
1. Narrowing down the path so the command will take affect only for the concrete use case we aware of,
where pod-resources changes its label due to: containers/container-selinux#329
2. Add the `i` flag which ignores the path if it doesn't exist.
This is done to make sure we're not failing the service
in case of missing path.
3. Remove the `v` flag to minimize logging pressure under the node.
Signed-off-by: Talor Itzhak <[email protected]>
0 commit comments