What You Can Do
The SRE CLI has 80+ specialized tools for Kubernetes management. Here’s what you can ask for.
Workload Management
View Resources
“Show me all pods in the production namespace”
“List deployments that are not fully available”
“What jobs are running right now?”
“Show me cronjobs and when they last ran”
Resource Details
“Describe the nginx deployment”
“Show me the configuration of pod xyz”
“What labels does the api service have?”
Logs
“Show me logs from the api-gateway pod”
“Search for ‘error’ in all pods in production”
“Show me the last 100 lines from nginx”
Monitoring
Metrics
“What is the CPU usage of my cluster?”
“Show me memory usage by namespace”
“Which pods are using the most resources?”
“What are the metric trends for the last hour?”
Events
“Show me recent cluster events”
“What warnings happened today?”
“Are there any error events in production?”
Health Checks
“Is my cluster healthy?”
“Are all nodes ready?”
“Which pods are not running correctly?”
Security
Vulnerability Scanning
“Run a vulnerability scan on production”
“What critical vulnerabilities do I have?”
“Show me CVE details for the nginx image”
“Which images have security issues?”
Compliance
“Check CIS Kubernetes benchmark compliance”
“Run a compliance scan”
“What compliance frameworks are available?”
“Export compliance report”
RBAC Analysis
“Who has admin access to production?”
“What permissions does service account X have?”
“Show me all cluster roles”
“Are there any overly permissive roles?”
Network Security
“What network policies exist?”
“Show me exposed services”
“Which namespaces don’t have network policies?”
“Analyze network traffic flow”
Secret Scanning
“Are there any exposed secrets?”
“Check for hardcoded credentials”
“What secrets exist in production?”
Troubleshooting
Diagnose Issues
“Why is pod xyz failing?”
“What’s wrong with my deployment?”
“Why is the service not responding?”
Analyze Problems
“The api is slow, can you investigate?”
“Help me understand this error”
“What could cause high memory usage?”
Get Recommendations
“How can I fix this pod security issue?”
“What’s the best practice for this?”
“Suggest improvements for my deployment”
Cluster Overview
“Give me a summary of the cluster”
“How many resources do I have?”
“What’s the overall health status?”
“Show me cluster resource usage”
Storage
“List persistent volume claims”
“Show me storage classes”
“Which PVCs are pending?”
“What volumes are in use?”
Configuration
“Show me configmaps in production”
“What secrets are configured?”
“List service accounts”
Alerts
“Are there any active alerts?”
“Acknowledge the high CPU alert”
“Show me alert history”
Tips
Combining Questions
You can ask complex questions:
“Show me pods with high memory usage in production that have restarted more than 3 times”
Getting Explanations
Ask the AI to explain what it found:
“Why is this a security risk?”
“What does this error mean?”
“How do I fix this compliance issue?”
Taking Action
Some operations require confirmation:
“Restart the nginx deployment”
AI will ask for confirmation before proceeding
Limitations
The SRE CLI is designed for read operations and analysis. For write operations (creating, deleting, modifying resources), use the SRExpert UI or standard kubectl.
Next Steps
- Examples - See practical examples