Tag: kubectl
Browse all articles, tutorials, and guides about kubectl
Posts
How to Switch Namespace in Kubernetes
Learn how to switch between namespaces in Kubernetes using kubectl commands and configuration files. Understand the importance of namespaces and practical examples.
How to Fix Pods Stuck in Terminating Status in Kubernetes
Learn how to diagnose and resolve Kubernetes pods that are stuck in Terminating status using kubectl commands, finalizers, and force deletion techniques.
kubectl apply vs kubectl create: Understanding the Key Differences
Learn the differences between kubectl apply and kubectl create commands, when to use each, and how they handle resource management in Kubernetes deployments.
How to List All Pods and Their Nodes in Kubernetes
Learn how to list all pods in your Kubernetes cluster along with the nodes they're running on, using kubectl and command-line tools for clear, actionable output.
How to Update a Kubernetes Secret Generated from a File
Learn how to update an existing Kubernetes secret when its data comes from a file, with practical kubectl commands and tips for safe secret management.
How to Cleanly List All Containers in a Kubernetes Pod
Learn several ways to list all containers in a Kubernetes pod using kubectl and JSONPath, with practical examples for real-world troubleshooting and automation.
How to Switch kubectl Clusters Between gcloud and minikube
Learn how to seamlessly switch between gcloud and minikube clusters using kubectl commands.
How to Get Events Only for a Pod with kubectl
Learn how to filter and view Kubernetes events for a specific pod using kubectl, with practical examples for troubleshooting and automation.