Overview
Features
Cluster connection and kubeconfig loading
Connects to a Kubernetes cluster and loads kubeconfig from multiple sources in priority order to establish contexts.
Unified kubectl API
Provides a single API for common kubectl operations: get/list/describe, create/apply/delete, logs, context management, explain, list_api_resources, scale, patch, rollout, plus kubectl_generic and ping.
Port forwarding
Supports port-forwarding to pods and services for local access and testing.
Helm operations
Install, upgrade, and uninstall Helm charts with support for custom values, repositories, and versions; includes template-based installation (helm_template_apply) and uninstall (helm_template_uninstall).
Pod cleanup and node management
Pod cleanup operations for problematic pods and node management (cordon, drain, uncordon) for maintenance and scaling.
Non-destructive mode
Non-destructive mode disables destructive actions; includes environment variable enforcement and clearly defined allowed/disallowed commands.
Secrets masking
Masks sensitive data in kubectl get secrets outputs to improve security without affecting logs.
Kubernetes diagnostics prompt
Dedicated k8s-diagnose prompt that guides users through a systematic Kubernetes troubleshooting flow.




