Kubectl logs: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

5 August 2024

  • curprev 23:5523:55, 5 August 2024Ovidiu talk contribs 396 bytes +1 →‎Options
  • curprev 23:5423:54, 5 August 2024Ovidiu talk contribs 395 bytes +395 Created page with "=Internal= * kubectl =Overview= <syntaxhighlight lang='bash'> kubectl logs -f -c <container-name> <pod-name> </syntaxhighlight> =Options= ==<t>-f</tt>== Streams the logs ==<tt>-c</tt>== In case of multi-container pods, it is a good idea to specify the container you want to monitor, otherwise you'll see the logs produced by the first one, which may not what you want to see."