Prerequisites
- Organization Admin role in Kestrel
- PagerDuty account with admin access
Features
- Kubernetes Incident Alerts - Trigger PagerDuty alerts when K8s incidents are detected
- Cloud Incident Alerts - Trigger PagerDuty alerts for AWS/OCI security incidents
- Auto-Resolution - When incidents are resolved in Kestrel, PagerDuty incidents are automatically resolved
- Service Routing - Route alerts to specific PagerDuty services based on namespace or cloud resource
- Severity Mapping - Map Kestrel severity levels to PagerDuty severity levels
- Bidirectional Sync - PagerDuty incidents are updated as Kestrel’s investigation progresses
Setup Instructions
Kestrel supports two connection methods:Method 1: API Token (Recommended)
The API Token method enables full service management, namespace routing, and cloud resource routing.- Navigate to Integrations → PagerDuty in your Kestrel dashboard
- Ensure Use API Token is checked (default)
- Create an API token in PagerDuty:
- Click your user icon → My Profile
- Go to the User Settings tab
- Click Create API User Token
- Copy the token
- Paste the token in the PagerDuty API Token field
- Set up the webhook for bidirectional sync:
- Copy the Webhook URL shown in the setup dialog
- In PagerDuty, go to Integrations → Generic Webhooks (V3)
- Create a new webhook subscription using the copied URL
- Copy the Signing Secret from the webhook configuration
- Paste the signing secret in the Webhook Signing Secret field
- Click Connect PagerDuty
Method 2: Routing Key (Legacy)
For simple setups that only need to send alerts to a single service:- Uncheck Use API Token
- In PagerDuty, go to Services → Select a Service → Integrations
- Add a new Events API v2 integration
- Copy the Integration Key (routing key)
- Paste it in the Integration/Routing Key field
- Enter a Service Name (e.g., “Kestrel Security Alerts”)
- Click Connect PagerDuty
Configuring Services
After connecting with an API token:- Go to the Services tab
- Click Sync Services to import your PagerDuty services
- Click Configure on each service you want to receive alerts
- Set one service as the Default - unmatched incidents are routed here
Namespace Routing
Route Kubernetes incidents to specific PagerDuty services based on the affected namespace:- Go to the Namespaces tab
- Click Add Assignment
- Select a Cluster and Namespace
- Select the target PagerDuty Service
- Click Create Assignment
payments namespace to the Payments team’s PagerDuty service.
Cloud Resource Routing
Route cloud incidents to specific PagerDuty services based on the affected resource:- Go to the Cloud Resources tab
- Click Add Assignment
- Search and select a Cloud Resource (e.g., an S3 bucket, EC2 instance)
- Select the target PagerDuty Service
- Click Create Assignment
Notification Settings
Configure which incidents trigger PagerDuty alerts:- Go to the Overview tab
- Click Configure on the Severity Filtering card
- Set your preferences:
- Notify on Kubernetes incidents - Enable/disable K8s alerts
- Notify on Cloud incidents - Enable/disable AWS/OCI alerts
- Skip transient incidents - Filter out auto-resolving incidents
- Minimum severity - Set the threshold (Low, Medium, High, Critical)
- Click Save Changes
Testing the Connection
Click Test Connection to send a test event to PagerDuty and verify your setup is working correctly.Disconnecting
- Click Disconnect on the Overview tab
- Confirm the disconnection