Difference between revisions of "Kubectl logs"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
* <code>[[kubectl exec]]</code>
 
* <code>[[kubectl exec]]</code>
 
* [[CKA v1.23]]: [[Evaluate cluster and node logging]]
 
* [[CKA v1.23]]: [[Evaluate cluster and node logging]]
* [[CKA v1.18]]: Display [[scheduler]] events
+
* [[CKA v1.18]]: Display [[Kubernetes scheduler|scheduler]] events
 
* [[CKA v1.18]]: [[Manage cluster component logs]]
 
* [[CKA v1.18]]: [[Manage cluster component logs]]
 
* [[CKA v1.18]]: [[Manage application logs]]
 
* [[CKA v1.18]]: [[Manage application logs]]

Revision as of 17:38, 25 May 2022

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs


Labels:

  • kubectl logs -l app=elasticsearch
  • kubectl logs your_container -c count
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

Related

See also

Advertising: