Kubernetes Command Helper
Interactive kubectl command builder, emergency playbooks, resource short names, and troubleshooting generator for Kubernetes developers.
Pods & Containers
Inspect, debug, stream logs, and manage running container instances.
List All Pods in Namespace
Display all running, completed, or failed pods with status and restarts.
kubectl get podsList Pods Across All Namespaces
Display pods from all namespaces in the entire cluster.
kubectl get pods -ADescribe Pod Details & Events
Show comprehensive lifecycle events, health probes, image tags, and error logs.
kubectl describe pod my-app-podLive Stream Pod Logs
Follow real-time standard output and error streams from a pod container.
kubectl logs -f my-app-pod --tail=100View Previous Crashed Container Logs
Read logs from a terminated or crashed container before it was restarted.
kubectl logs my-app-pod --previousOpen Interactive Shell in Container
Attach an interactive TTY shell into a running container for direct troubleshooting.
kubectl exec -it my-app-pod -- /bin/shShow Pod CPU and Memory Usage
Display real-time CPU (millicores) and RAM (MiB) utilization (requires Metrics Server).
kubectl top pod my-app-pod --containersForce Delete Pod Immediately
Instantly purge a dead or hanging pod from the cluster state without waiting.
kubectl delete pod my-app-pod --grace-period=0 --forceCopy File to/from Pod Container
Securely transfer files or directories between your local machine and a pod.
kubectl cp ./local-file.txt my-app-pod:/tmp/remote-file.txtDeployments & Rollouts
Manage replica counts, zero-downtime rolling updates, and rollbacks.
List Deployments
List current deployments along with desired, up-to-date, and available replicas.
kubectl get deploymentsCreate New Deployment
Provision a managed deployment running the specified container image.
kubectl create deployment web-service --image=nginx:alpineScale Deployment Replicas
Adjust the count of active container replicas up or down instantly.
kubectl scale deployment web-service --replicas=3Trigger Zero-Downtime Rolling Restart
Gracefully redeploy all pods one by one, picking up updated configmaps or images.
kubectl rollout restart deployment/web-serviceWatch Rollout Status in Real Time
Block until all updated replicas are successfully ready and healthy.
kubectl rollout status deployment/web-serviceRollback to Previous Revision
Instantly revert a bad deployment to its previous stable revision.
kubectl rollout undo deployment/web-serviceUpdate Deployment Container Image
Update container image version without modifying YAML files directly.
kubectl set image deployment/web-service app=nginx:alpinePause Deployment Rollout
Freeze rolling updates while making multiple configuration changes.
kubectl rollout pause deployment/web-serviceResume Paused Deployment
Resume rolling update execution after completing paused adjustments.
kubectl rollout resume deployment/web-serviceServices & Networking
Configure service discovery, port forwarding, and ingress routes.
List Services and Ingresses
Show cluster IPs, external load balancers, node ports, and ingress rules.
kubectl get svc,ingressPort-Forward Service to Local Machine
Tunnel remote Kubernetes service traffic directly into your local workstation port.
kubectl port-forward svc/web-service 8080:80Expose Deployment as ClusterIP/NodePort/LoadBalancer
Automatically create a Kubernetes Service routing traffic to deployment pods.
kubectl expose deployment web-service --type=ClusterIP --port=80 --target-port=8080Inspect Service Endpoints
Inspect active target pod IP addresses mapped behind a Service.
kubectl get endpoints web-serviceDescribe Ingress Controller Rules
Check TLS certificates, routing rules, paths, and backend service mappings.
kubectl describe ingress [ingress_name]ConfigMaps & Secrets
Create, inspect, and decode environment configs and encrypted credentials.
List ConfigMaps & Secrets
Display configuration items and secret objects stored in the target namespace.
kubectl get configmaps,secretsCreate Secret from Literal Value
Securely create a Kubernetes Secret containing key-value pairs.
kubectl create secret generic app-secrets --from-literal=DATABASE_URL=postgres://user:pass@db:5432/mainCreate ConfigMap from File
Inject an entire application configuration file into a cluster ConfigMap.
kubectl create configmap app-config --from-file=[file_path]Decode Secret Value to Plaintext
Fetch and decode an individual base64-encoded secret key directly in terminal.
kubectl get secret app-secrets -o jsonpath="{.data.DATABASE_URL}" | base64 --decodeView Secret YAML Definition
Export the complete Kubernetes Secret object in YAML format.
kubectl get secret app-secrets -o yamlCluster & Nodes
Monitor worker nodes, view cluster health, cordon, and perform maintenance drains.
View Cluster API Status
Display control plane master URLs and core cluster services.
kubectl cluster-infoList All Nodes with Operating System & IP
View all master and worker nodes with Kubernetes version, OS image, and IP addresses.
kubectl get nodes -o wideView Node CPU & RAM Consumption
Inspect cluster-wide worker node CPU percentage and memory utilization.
kubectl top nodesDescribe Node Capacity, Conditions & Taints
Check allocatable resources, disk pressure, memory pressure, and node taints.
kubectl describe node worker-node-1Cordon Node (Prevent New Pods)
Mark node as unschedulable so Kubernetes avoids scheduling new workloads on it.
kubectl cordon worker-node-1Uncordon Node (Allow Workloads)
Mark a previously cordoned node schedulable again after maintenance.
kubectl uncordon worker-node-1Drain Node for Safe Maintenance
Evict all running pods from node onto other healthy worker machines in cluster.
kubectl drain worker-node-1 --ignore-daemonsets --delete-emptydir-data --forceContexts & Namespaces
Switch between multiple Kubernetes clusters, accounts, and project namespaces.
Show Current Active Context
Display the name of the currently selected cluster and user identity context.
kubectl config current-contextList All Available Clusters & Contexts
Display all kubeconfig entries with asterisks denoting the active context.
kubectl config get-contextsSwitch to a Different Cluster Context
Instantly redirect your kubectl client to a different staging or production cluster.
kubectl config use-context prod-clusterPermanently Set Default Namespace
Eliminate the need to supply "-n <namespace>" on every subsequent command.
kubectl config set-context --current --namespace=defaultCreate New Namespace
Create an isolated logical partition for applications and resources.
kubectl create namespace defaultDelete Namespace & All Contained Resources
Recursively delete a namespace along with all pods, services, and secrets inside it.
kubectl delete namespace defaultDry-Run & Manifests
Generate starter YAML specs and test changes safely without applying them.
Generate Deployment YAML (Dry-Run)
Print a clean, valid Kubernetes Deployment manifest directly to terminal or file.
kubectl create deployment web-service --image=nginx:alpine --dry-run=client -o yamlGenerate Service YAML (Dry-Run)
Generate a clean Service definition without actually applying it to the cluster.
kubectl expose deployment web-service --port=80 --type=ClusterIP --dry-run=client -o yamlPreview YAML Diff Against Live Cluster
Compare local YAML file modifications against live cluster objects before applying.
kubectl diff -f ./deployment.yamlApply Manifest from File or Directory
Declaratively apply or update resources defined in a YAML manifest.
kubectl apply -f ./deployment.yamlDelete Resources Defined in Manifest
Remove all Kubernetes objects described in the specified YAML file.
kubectl delete -f ./deployment.yamlRelated Developer Utilities
Visual builder for Git branching, rebasing, and emergency undo workflows.
Build & describe Kubernetes CronJob schedules with human-readable previews.
Validate and beautify Kubernetes deployment and service YAML manifests.
Encode and decode secret payloads and certificates safely in your browser.
Interactive Command Builder
Quickly formulate accurate kubectl commands for Pods, Deployments, Services, ConfigMaps, Secrets, Nodes, and Namespaces.
Troubleshooting Playbooks
Battle-tested emergency one-liners for stuck terminating pods, CrashLoopBackOff triage, zero-downtime restarts, and node drains.
100% Client-Side & Secure
Runs completely in your browser. No server communication, no cluster credentials needed, and zero analytics on your private resource names.
Frequently Asked Questions
Are my Kubernetes cluster credentials or resource names shared with any server?
How do I force delete a pod stuck in "Terminating" status?
How can I restart a deployment without taking down my application?
What is the fastest way to avoid typing "-n <namespace>" on every command?
More Dev Tools Utilities
Cron Generator & Expression Parser
Build, parse, and translate cron expressions visually. Features plain-English interpretation, next execution times (Local & UTC), and multi-platform snippets.
JSON Formatter
Format, beautify, minify, and validate JSON instantly. Adjustable indentation with real-time syntax validation and error feedback.
Markdown Preview
Write Markdown and see rendered HTML in real-time. Split-pane editor with copy Markdown/HTML.