← Back to Blog

Monitoring Kubernetes with kubectl and rke2 ๐Ÿš€

Monitoring Kubernetes with kubectl and rke2 ๐Ÿš€ Today, Iโ€™m going to walk you through a quick example of monitoring pods across all namespaces in Kubernetes using kubectl , paired with rke2 for lightweight Kubernetes deployment.

Monitoring Kubernetes with kubectl and rke2 ๐Ÿš€


Today, Iโ€™m going to walk you through a quick example of monitoring pods across all namespaces in Kubernetes using kubectl, paired with rke2 for lightweight Kubernetes deployment.

๐Ÿ–ฅ๏ธ What I Achieved:

  • Monitored real-time pod status using watch kubectl get pods -A -o wide

  • Verified the version of rke2 installed and running

๐Ÿ› ๏ธ How I Did It:

  • To keep an eye on all running pods in my Kubernetes cluster, I used the watch command along with kubectl. The command kubectl get pods -A -o wide provides a wide output showing detailed information about all pods across namespaces.

  • I confirmed the rke2 version with rke2 -v, showing version v1.28.13+rke2r1 running on Go v1.22.5.

Here's a screenshot from my terminal for reference:

monitoring-kubernetes-with-1.png

๐Ÿ’ก This allows you to have real-time insight into your cluster's state, ensuring you can monitor deployments, troubleshoot issues, and keep things running smoothly.

๐Ÿ”— Connect with me:


Feel free to modify the path for the screenshot or adjust the content to better suit your personal style!


Imported from rifaterdemsahin.com ยท 2025