mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 60759, 60531, 60923, 60851, 58717). 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>. Do not create dangling legacy symlink Do not create dangling legacy symlink if the new symlink to container logs does not exist. These dangling legacy symlink are later removed by kube runtime gc, so it's better if we do not create them in the first place to avoid unnecessary work from kube runtime gc. This situation occurs when docker uses journald logging driver. **What this PR does / why we need it**: This PR fixes an issue where dangling symlink are being created. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note None. ``` @derekwaynecarr @sjenning @dashpole @kubernetes/sig-node-pr-reviews |
||
---|---|---|
.. | ||
logs | ||
BUILD | ||
doc.go | ||
fake_kuberuntime_manager.go | ||
helpers.go | ||
helpers_linux.go | ||
helpers_test.go | ||
helpers_unsupported.go | ||
helpers_windows.go | ||
instrumented_services.go | ||
instrumented_services_test.go | ||
kuberuntime_container.go | ||
kuberuntime_container_linux.go | ||
kuberuntime_container_linux_test.go | ||
kuberuntime_container_test.go | ||
kuberuntime_container_unsupported.go | ||
kuberuntime_container_windows.go | ||
kuberuntime_gc.go | ||
kuberuntime_gc_test.go | ||
kuberuntime_image.go | ||
kuberuntime_image_test.go | ||
kuberuntime_logs.go | ||
kuberuntime_manager.go | ||
kuberuntime_manager_test.go | ||
kuberuntime_sandbox.go | ||
kuberuntime_sandbox_test.go | ||
labels.go | ||
labels_test.go | ||
legacy.go | ||
legacy_test.go | ||
security_context.go | ||
security_context_test.go |