Difference between revisions of "Kubectl logs"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
{{Draft}}
 
 
{{lowercase}}
 
{{lowercase}}
  
Line 13: Line 12:
  
 
[[Labels]]:
 
[[Labels]]:
kubectl logs -l app=elasticsearch
+
<code>kubectl logs -l app=elasticsearch</code>
  
  

Revision as of 20:35, 22 February 2022

kubectl logs --help
kubectl logs
error: expected 'logs [-f] [-p] (POD | TYPE/NAME) [-c CONTAINER]'.
POD or TYPE/NAME is a required argument for the logs command
See 'kubectl logs -h' for help and examples
  • kubectl logs my-pod
  • kubectl logs my-pod -p

Labels: kubectl logs -l app=elasticsearch


Related terms

See also

Advertising: