mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-21 05:49:40 +00:00
kubectl logs -l ... --tail ... is buggy.
(It always returns 10 lines of output instead of the requested number.) This works around the problem, by adding extra explanations of the issue and providing a shell function as a workaround. See kubernetes/kubernetes#70554 for details.
This commit is contained in:
@@ -285,7 +285,7 @@ It appears that *all the pods* are serving requests at the moment.
|
||||
|
||||
- We mentioned earlier that regression affecting `kubectl logs` ...
|
||||
|
||||
(see [#70443](https://github.com/kubernetes/kubernetes/issues/70554) for more details)
|
||||
(see [#70554](https://github.com/kubernetes/kubernetes/issues/70554) for more details)
|
||||
|
||||
- Let's work around the issue by executing `kubectl logs` one pod at a time
|
||||
|
||||
|
||||
@@ -314,6 +314,5 @@ Unfortunately, `--follow` cannot (yet) be used to stream the logs from multiple
|
||||
|
||||
(Source: https://blog.cloudflare.com/announcing-1111/)
|
||||
|
||||
|
||||
- It's very unlikely that our concerted pings manage to produce
|
||||
even a modest blip at Cloudflare's NOC!
|
||||
|
||||
Reference in New Issue
Block a user