• Kubernetes Submit Queue's avatar
    Merge pull request #62416 from sjenning/fix-waitlogs-err-msg · 03b80bd2
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 62455, 62465, 62427, 62416, 62411). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    kuberuntime: logs: reduce logging level on waitLogs msg
    
    Lots of occurrences of this msg coming from `waitLogs()`:
    ```
    E0411 13:17:04.589338    7645 logs.go:383] Container "4fbf541ed1900c4670216a6a1ecf752cd07ac430f5547c5497fbc4b78e564b78" is not running (state="CONTAINER_EXITED")
    E0411 14:02:18.168502    7645 logs.go:383] Container "dba4c535666d05310889965418592727047320743a233e226e2266b399836150" is not running (state="CONTAINER_EXITED")
    E0411 14:02:41.342645    7645 logs.go:383] Container "a946289b36fe3c375c29dce020005424f3b980237892253d42b8bd8bfb595756" is not running (state="CONTAINER_EXITED")
    E0411 14:02:49.907317    7645 logs.go:383] Container "e1d6014330e7422c03ae6db501d4fb296a4501355517cb60e2f910f54741361d" is not running (state="CONTAINER_EXITED")
    ```
    Added in https://github.com/kubernetes/kubernetes/pull/55140
    
    This message prints whenever something is watching the log when the container dies.
    
    The comment right after the error msg say "this is normal" and thus should not be logged at Error level.
    
    @derekwaynecarr @feiskyer @Random-Liu
    03b80bd2
Name
Last commit
Last update
..
logs Loading commit data...
BUILD Loading commit data...
doc.go Loading commit data...
fake_kuberuntime_manager.go Loading commit data...
helpers.go Loading commit data...
helpers_linux.go Loading commit data...
helpers_test.go Loading commit data...
helpers_unsupported.go Loading commit data...
helpers_windows.go Loading commit data...
instrumented_services.go Loading commit data...
instrumented_services_test.go Loading commit data...
kuberuntime_container.go Loading commit data...
kuberuntime_container_linux.go Loading commit data...
kuberuntime_container_linux_test.go Loading commit data...
kuberuntime_container_test.go Loading commit data...
kuberuntime_container_unsupported.go Loading commit data...
kuberuntime_container_windows.go Loading commit data...
kuberuntime_gc.go Loading commit data...
kuberuntime_gc_test.go Loading commit data...
kuberuntime_image.go Loading commit data...
kuberuntime_image_test.go Loading commit data...
kuberuntime_logs.go Loading commit data...
kuberuntime_manager.go Loading commit data...
kuberuntime_manager_test.go Loading commit data...
kuberuntime_sandbox.go Loading commit data...
kuberuntime_sandbox_test.go Loading commit data...
labels.go Loading commit data...
labels_test.go Loading commit data...
legacy.go Loading commit data...
legacy_test.go Loading commit data...
security_context.go Loading commit data...
security_context_test.go Loading commit data...