Difference between revisions of "Kubectl logs"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 27: Line 27:
 
* <code>[[ktail]]</code>
 
* <code>[[ktail]]</code>
 
* <code>[[kubectl top]]</code>
 
* <code>[[kubectl top]]</code>
 +
[[kubectl get events]]
 
* [[Sidecar container]]
 
* [[Sidecar container]]
 
* [[Kubernetes logging]]
 
* [[Kubernetes logging]]

Revision as of 15:09, 1 June 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

kubectl get events

See also

Advertising: