Skip to content

Prompt examples#

On this page, you can find useful prompts with short explanations.

When writing prompts keep in mind the following principles:

  • Ask concise, focused questions (for example, "What's wrong with my pod?")
  • Use specific resource names or namespaces when possible
Type Prompt What does it answer
Troubleshooting Why is this pod crashing? Analyzes pod logs and events to find common failure causes
Troubleshooting What’s failing in this namespace? Lists failed or unhealthy resources in the current view
Troubleshooting Why is this deployment stuck? Diagnoses deployment rollout issues (e.g., image pull, liveness probes)
Troubleshooting Are there any CrashLoopBackOff pods? Scans and lists pods in crash loops
Type Prompt What does it answer
Monitoring & Health Is my cluster healthy? Provides an overview of key warnings, errors, and degraded resources
Monitoring & Health Show resource usage for this namespace Summarizes CPU/memory usage scoped to your current namespace
Monitoring & Health How much memory is this pod using? Queries resource stats and highlights high usage
Type Prompt What does it answer
Exploration & Navigation What workloads are running here? Lists Deployments, StatefulSets, DaemonSets in the current namespace
Exploration & Navigation Which services are exposed? Shows Service resources and their types (ClusterIP, LoadBalancer, etc.)
Exploration & Navigation Describe this pod in simple terms Breaks down a pod’s structure, purpose, and current status
Exploration & Navigation List all pods in this deployment Helps drill into the workload structure easily
Type Prompt What does it answer
Learning & Onboarding Explain this pod like I’m new to Kubernetes Provides a beginner-friendly breakdown
Learning & Onboarding What is a ReplicaSet? Gives a conceptual explanation of Kubernetes objects
Learning & Onboarding What does this event mean? Interprets raw Kubernetes events into human-readable summaries
Learning & Onboarding Help me understand the logs for this pod Interprets key patterns or errors from logs
Type Prompt What does it answer
Dev & Ops Workflows Has anything changed in this namespace recently? Summarizes recent resource updates or restarts
Dev & Ops Workflows Compare this deployment to its previous state Identifies config drift or rollout differences
Dev & Ops Workflows What’s using the most CPU in this cluster? Ranks resource usage by pod or namespace
Type Prompt What does it answer
Pod & Container Diagnostics What caused this pod to restart? Investigates restart count and last termination reason
Pod & Container Diagnostics Is this container using a readiness or liveness probe? Checks container health probe configurations
Pod & Container Diagnostics Why is this pod stuck in Pending? Diagnoses scheduling issues (e.g., resource limits, taints)
Pod & Container Diagnostics What node is this pod running on? Reveals placement details and node conditions
Type Prompt What does it answer
Deployment & Rollout Has this deployment finished rolling out? Confirms rollout status and completion
Deployment & Rollout What image version is this deployment using? Extracts container image tags
Deployment & Rollout Compare this deployment’s spec with the live state Identifies mismatches between desired and current state
Deployment & Rollout Why did this rollout fail? Analyzes conditions like FailedCreate, ImagePullBackOff, UnavailableReplicas
Type Prompt What does it answer
Metrics & Resource Usage Show CPU and memory usage for this pod Pulls live resource metrics
Metrics & Resource Usage Which pod in this namespace is using the most memory? Helps identify heavy workloads
Metrics & Resource Usage Is this node under pressure? Checks node conditions and available resources
Metrics & Resource Usage What’s the average CPU usage of this deployment? Useful for tuning HPA or setting requests/limits
Type Prompt What does it answer
Access, RBAC & Security Does this service account have access to list pods? Inspects RBAC bindings
Access, RBAC & Security Who can access this namespace? Lists users/groups with read/write permissions
Access, RBAC & Security What secrets does this pod use? Summarizes mounted secrets or env refs
Type Prompt What does it answer
Networking & Services What endpoints are backing this service? Maps services to pod IPs and ports
Networking & Services Why can’t this pod connect to that service? Diagnoses DNS, port, or network policy issues
Networking & Services Is there a NetworkPolicy restricting this traffic? Audits ingress/egress policies in scope
Networking & Services What’s the external IP of this LoadBalancer service? Fetches public-facing address info
Type Prompt What does it answer
YAML & Configuration Generate YAML for a Deployment with 3 replicas On-demand spec generation
YAML & Configuration What does this pod spec do? Interprets YAML into plain language
YAML & Configuration Explain the difference between Deployment and StatefulSet Helps new users understand key abstractions
YAML & Configuration Which fields in this config are required? Summarizes schema essentials from a manifest