Difference between revisions of "Kubectl logs --previous"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
+
[[kubectl logs]] --previous
 
+
[[kubectl logs --previous --tail]]
  
 
  kubectl logs --previous [[--tail]] 10 [[your-pod]]
 
  kubectl logs --previous [[--tail]] 10 [[your-pod]]
 
  2022/07/18 16:57:36 Failed to connect to [[RabbitMQ]] dial tcp 10.100.105.23:[[5672]]: connect: [[connection refused]]
 
  2022/07/18 16:57:36 Failed to connect to [[RabbitMQ]] dial tcp 10.100.105.23:[[5672]]: connect: [[connection refused]]
 +
 +
== Related ==
 +
* [[CKA: Evaluate cluster and node logging]]
 +
* kubectl logs YOURPOD -c yourcontainer
  
 
== See also ==
 
== See also ==

Latest revision as of 11:16, 7 December 2023

Advertising: