/kestrel Slack command.
What the Copilot Can Do
Kubernetes Investigation
Query pod logs, events, resource specs, deployments, metrics, and network policies across your clusters.
Cloud Investigation
Inspect AWS and OCI resources, security configurations, CloudTrail events, CloudWatch metrics, and VPC Flow Logs.
Code Investigation
Search files, read source code, trace change history, and look up IaC definitions across GitHub and GitLab repositories.
Cost Analysis
Query AWS spend breakdowns, identify cost trends, detect anomalies, and forecast future costs.
Configuration Changes
Generate Kubernetes YAML, Terraform, Helm, and CloudFormation changes with an approval workflow before applying.
Getting Started
Open the copilot
Navigate to Cloud AI Copilot → Chat in the Kestrel dashboard sidebar. Alternatively, use the
/kestrel slash command in any Slack channel if the Slack integration is connected.Target your infrastructure
Use
@cluster-name to target a specific Kubernetes cluster and @cloud:connection-name to target a specific AWS or OCI account. You can mention multiple targets in a single query.Targeting Syntax
The copilot needs to know which infrastructure to query. Use the@ prefix to target specific clusters and cloud accounts.
| Syntax | Target | Example |
|---|---|---|
@cluster-name | Kubernetes cluster | @prod-eks-cluster show me crashing pods |
@cloud:connection-name | AWS or OCI account | @cloud:prod-aws list EC2 instances in us-east-1 |
| Multiple targets | Cross-resource queries | @prod-eks @staging-eks compare memory limits for auth-service |
Integration Prerequisites
The copilot answers are only as good as the integrations connected. Each integration unlocks additional capabilities:| Integration | Copilot Capabilities |
|---|---|
| Kubernetes | Pod logs, events, resource specs, deployments, namespaces, network policies |
| AWS | EC2, S3, RDS, IAM, VPC, Lambda, CloudTrail, CloudWatch, Cost Explorer, VPC Flow Logs |
| OCI | Compute, Object Storage, VCN, IAM, Audit logs, VCN Flow Logs |
| Datadog | Metrics, monitors, dashboards, APM traces |
| OpenTelemetry | Traces, metrics, and spans |
| GitHub | Code search, file reading, commit history, PRs |
| GitLab | Code search, file reading, commit history, MRs |
| Knowledge Sources | Confluence, Jira, Slack history, Glean, Linear context |
The more integrations you connect, the more context the copilot has. Connecting observability, code, and knowledge sources alongside your clusters and cloud accounts produces significantly richer answers.
Using via Slack
With the Slack integration connected, use the/kestrel slash command anywhere in your workspace:
Example Conversation
You:
@prod-eks-cluster Why are pods in the checkout namespace restarting? Cross-reference with Datadog metrics.
Kestrel:
Two pods in theYou:checkoutnamespace are in CrashLoopBackOff:checkout-api-7f8b9c-x4k2mandcheckout-worker-6d4a8b-j9n3p. Both started crashing 23 minutes ago after deploymentcheckout-apiwas updated to image tagv2.14.0. Datadog shows P99 latency spiked from 120ms to 4.2s at 14:32 UTC, coinciding with the deployment. The container logs showFATAL: too many connections for role "checkout_svc"— the connection pool was exhausted.
What PR caused that deployment change?Kestrel:
The deployment was updated via ArgoCD sync at 14:32 UTC. The change originated from PR #847 inYou:acme/checkout-service, authored by @jane.doe and approved by @john.smith. The PR modified the database connection pool settings, reducingmaxConnectionsfrom 50 to 10. This matches thetoo many connectionserror in the logs.
Roll back the deployment to the previous image tag.Kestrel:
Here’s the proposed change to roll backcheckout-apito image tagv2.13.2: (displays diff with Apply, Create PR, and Copy options)
Next Steps
- Kubernetes Investigation — query pods, deployments, events, logs, and metrics
- Cloud Investigation — inspect AWS and OCI resources and security configurations
- Code Investigation — search and read code across connected repositories
- Cost Analysis — analyze AWS spend patterns and anomalies
- Configuration Changes — generate and apply YAML and Terraform changes