Difference between revisions of "Kubectl logs"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
* [[CKA v1.18]]: [[Manage application logs]]
 
* [[CKA v1.18]]: [[Manage application logs]]
 
* [[CKA v1.15]], [[CKA v1.21]]: [[Understand container logging]]
 
* [[CKA v1.15]], [[CKA v1.21]]: [[Understand container logging]]
* [[Kubernetes logging]]
 
 
* <code>[[stern -A .]]</code>
 
* <code>[[stern -A .]]</code>
 
* <code>[[ktail]]</code>
 
* <code>[[ktail]]</code>
 
* [[Sidecar]] container
 
* [[Sidecar]] container
 +
* [[Kubernetes logging]]
  
 
== See also ==
 
== See also ==

Revision as of 15:51, 23 May 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 --previous

Labels:

kubectl logs -l app=elasticsearch

kubectl logs your_container -c count


Related terms

See also

Advertising: