kubernetes / kubectl

Issue tracker and mirror of kubectl code
Apache License 2.0
2.89k stars 923 forks source link

kubectl logs -f print repeat log #1677

Open zsr228 opened 1 week ago

zsr228 commented 1 week ago

When I user kubectl logs -f view coredns log in kube-system ns,terminal repeat print log, like this 1

use kubectl log view coredns 3

but I find docker std out log like this 2

Environment:

k8s-ci-robot commented 1 week ago

This issue is currently awaiting triage.

SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
ardaguclu commented 1 day ago

1.23.17 is relatively old and I'd recommend same by using newer kubectl.