k8s | Inspecting Nodes | Basic
An article on a simple k8s node inspection using kubectl.
TL;DR
Sometimes during diagnosing the issues in the deployment in various nodes might result in failure, at that point of time we need to triage the cause. This small article shows some basic commands to get started with nodes.
Commands
# Adds extra infra details about the node
kubectl get nodes -o wide
# Shows labels that has been assigned to the node
kubectl get nodes --show-labels
# Describes a node of k8s
kubectl describe node <node>
# Describes node details in yaml format
kubectl get node <node> -o yaml
These are very basic commands nothing too complex or advanced just added to write my understanding of my k8s nodes learnings.
Thanks for reading till here ! 馃檹
Comments
Join the discussionNo comments yet. Be the first to comment.


