Skip to content

Notifications

Under Notifications, add channels and pick the events each one gets. Events about a stack can be limited to one stack; the others are cluster-wide and always go to every channel that picked them. A test message can be sent from the same page, which also shows each channel’s last delivery and error.

Event Sent when
deploy.succeeded, deploy.failed A deployment finishes.
deploy.awaiting_approval A revision waits for approval. Sent once per deployment.
drift.detected A stack’s services differ from the last deploy. Sent when the differences change, not on every check.
update.available, update.committed, update.pr_opened An x-updates check finds a newer image and acts on it.
node.down, agent.unreachable, endpoint.disconnected A node, agent, or edge endpoint goes away. Outages already there when Kelpie starts aren’t sent.
disk.full, disk.recovered A node’s or endpoint’s filesystem passes KELPIE_DISK_ALERT_PERCENT (90 by default), and later drops 5 points below it. Sent once each way, also across restarts. See Node usage.
forge_token.expiring A repository’s forge token is about to expire.

Delivery runs in the background, so a slow receiver never holds up a deploy.

Kelpie posts a JSON body:

{
"event": "deploy.failed",
"title": "...",
"text": "...",
"stack": { "id": "...", "name": "app" },
"link": "https://kelpie.example.com/deployments/...",
"data": {},
"at": "2026-11-27T12:00:00Z"
}

stack is null for events that aren’t about a stack, and link is only a full URL when KELPIE_PUBLIC_URL is set. The X-Kelpie-Event header carries the event name. When the channel has a signing secret, requests also carry an X-Kelpie-Signature: sha256=<HMAC-SHA256 of the body> header. Webhook URLs and secrets are stored encrypted, since URLs often carry a token.

Create an incoming webhook in Slack and add its URL as a Slack channel.

In the Discord channel’s settings, under Integrations, create a webhook and add its URL as a Discord channel. Messages never ping anyone.

Email channels only hold recipients. The SMTP server is set on the server:

Terminal window
KELPIE_SMTP_HOST=smtp.example.com
KELPIE_SMTP_PORT=587
KELPIE_SMTP_SECURITY=starttls # or tls (port 465), or none
KELPIE_SMTP_USERNAME=kelpie
KELPIE_SMTP_PASSWORD=... # or a kelpie_smtp_password secret
KELPIE_SMTP_FROM=kelpie@example.com