kubectl command

Kubectl: Show Details of Specific/Group Resources

This post explains how to get detailed description of the specific or group resources using describe command. This provides a human-readable overview of k8s resources on status, events, configs and relationships with other components.

July 9, 2026 · 6 min · Yashwanth Rathakrishnan
kubectl command

Kubectl: Safely Drain A Node

This post explains how to safely evict pods using the drain command. It covers how the drain command works behind the scenes, includes the essential commands you need, and ends with a practical example to demonstrate its usage.

July 7, 2026 · 3 min · Yashwanth Rathakrishnan
kubectl command

Kubectl: Renaming the Nodes

This post shows how to rename a k3s node using the standard drain, rejoin, and relabel procedure. It walks through changing the hostname, replacing the old node entry, and restoring workload scheduling on the new node.

July 2, 2026 · 2 min · Yashwanth Rathakrishnan
kubectl command

Kubectl: Running kubectl Without sudo (and Fixing Permission Warnings)

This guide outlines three proven methods to configure passwordless non-root kubectl access in a K3s cluster. It covers setting up your local user context, adjusting system file permissions, and permanently silencing annoying configuration permission warnings.

June 28, 2026 · 2 min · Yashwanth Rathakrishnan