Command line tool (kubectl) | Kubernetes
Fri May 31 2024 22:24:49 GMT+0000 (Coordinated Universal Time)
Saved by
@calazar23
# Display the details of the node with name <node-name>.
kubectl describe nodes <node-name>
# Display the details of the pod with name <pod-name>.
kubectl describe pods/<pod-name>
# Display the details of all the pods that are managed by the replication controller named <rc-name>.
# Remember: Any pods that are created by the replication controller get prefixed with the name of the replication controller.
kubectl describe pods <rc-name>
# Describe all pods
kubectl describe pods
content_copyCOPY
https://kubernetes.io/docs/reference/kubectl/
Comments