Ask natural language questions about your Kubernetes cluster using AI. The AI analyzes your question, executes the necessary kubectl operations, and provides a comprehensive markdown-formatted response.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bgdnvk/clanker/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Arguments
Natural language question about your Kubernetes cluster
Flags
Kubernetes cluster name (EKS or GKE cluster name)
AWS profile for EKS clusters
Path to kubeconfig file (default: ~/.kube/config)
kubectl context to use (overrides —cluster)
Default namespace for queries (default: all namespaces)
AI profile to use for LLM queries
Enable debug output
Use GKE cluster instead of EKS
GCP project ID for GKE clusters
GCP region for GKE clusters
How it works
Thek8s ask command uses a three-stage AI pipeline:
- Analysis: The AI analyzes your question and determines what kubectl operations are needed
- Execution: The necessary kubectl commands are executed against your cluster
- Response: The AI synthesizes the results into a comprehensive, markdown-formatted answer
Examples
Basic cluster information
Query specific resources
Troubleshooting
Health checks
GKE cluster queries
Follow-up questions
The conversation history allows natural follow-ups:Error investigation
Resource recommendations
The
k8s ask command requires:- Valid kubeconfig or access to the specified cluster
- AI provider configured in your Clanker settings
- For EKS: AWS credentials with appropriate permissions
- For GKE: GCP credentials with appropriate permissions