Skip to content

Notification subscriptions

Shoehorn sends notifications for important events across the platform.

Channel Configuration Use Case
In-App Always enabled Notifications for your teams
Email SMTP configuration Critical alerts, governance deadlines
Slack Incoming webhook URL or bot token Team channels, on-call alerts
Webhooks URL + secret External tool integration

Your inbox shows notifications for the teams you’re in: alerts about services and workloads your teams own, alerts sent to one of your teams, and notices meant for everyone. Admins get the same inbox. There’s no organization-wide view in it.

Kubernetes alerts about a workload no team owns, like a cluster add-on, don’t go to anyone’s inbox. Those workloads and their problems still show on the Operations page.

A Kubernetes alert clears by itself once the workload is healthy again or has been removed. Shoehorn waits about 15 minutes before clearing it, so a workload that recovers and breaks again in that time doesn’t alert you twice.

These are the events Shoehorn can notify on. A subscription routes one or more of these to a channel.

Event type Description
k8s.workload.unhealthy A workload is unhealthy
k8s.workload.degraded A workload is running degraded
k8s.workload.high_restarts A workload is restarting more than expected
k8s.workload.oom_kill A container was killed for running out of memory
k8s.workload.latest_tag A workload runs an image pinned to a mutable tag
manifest.invalid An entity manifest failed validation
forge.run.failed A Forge workflow run failed
approval.pending A Forge run is waiting for your approval
entity.license.expiring_soon An entity’s license is close to expiry
entity.license.expired An entity’s license has expired
governance.action.required A governance action needs your attention
cloud.maintenance.scheduled A cloud provider scheduled maintenance
cloud.maintenance.urgent A cloud provider announced urgent maintenance
cloud.upgrade.available UpCloud offers a newer Kubernetes version. One notification per version, naming the clusters that can upgrade
cloud.blockstorage.unattached An UpCloud disk isn’t attached to any server and is still billed
infra.update.available A newer Flux release is out, or a cluster’s nodes run an older Kubernetes minor version than its control plane
infra.cve.gone A CVE your provider patches is gone from a cluster: the cluster runs a fixed version now, or no longer runs the component
security.cve A CVE was found affecting an entity
security.secret A leaked secret was detected
scorecard.failed An entity failed a scorecard
k8s.security.violation A Kubernetes security rule was violated
subscription.auto_paused A subscription was paused after repeated delivery failures

cloud.upgrade.available and infra.update.available tell you a newer version of something in your clusters is out. Each new version is a new notification, even if you dismissed the one before it, and the older one clears once nothing runs it. infra.cve.gone tells you a CVE your provider patches is gone from a cluster, once per cluster and CVE. If the CVE comes back and goes again within a week, Shoehorn updates that notice rather than sending a second one.

They go to the team set under Admin > Governance > Infrastructure Owner. Until a team is set, only admins see them. Turn them off in your inbox with Infrastructure updates under Profile > Notification inbox.

All three are Info. To get them by email, Slack or webhook, set Minimum severity to Info in the subscription. Picking only these events does that for you.

What gets checked:

  • Flux: the controller images from ghcr.io/fluxcd, matched against Flux releases. Images pulled through a mirror or a private registry aren’t recognized.
  • Nodes: a node counts as behind when its kubelet is on an older minor version than the control plane. A patch-level difference doesn’t notify.
  • UpCloud Kubernetes: the versions UpCloud offers each cluster.
  • Provider-patched CVEs: Shoehorn remembers each CVE your provider patches on each cluster, and tells you once the cluster reports a version without it.

In a webhook, the notification’s metadata carries component, targetVersion, clusterCount and clusters, a list with each cluster’s id, name and currentVersion. Kubernetes upgrades add each cluster’s availableUpgrades, and, when there are any, knownCves (each with id, severity, fixedVersion and description): the control plane CVEs that affect every patch release of the cluster’s Kubernetes minor version. infra.cve.gone carries component, cve, clusterCount (always 1), clusters with the cluster’s id, name and currentVersion, currentVersions (the versions it runs now, empty when the component is gone) and previousVersion.

To enable email notifications, configure SMTP:

Terminal window
SMTP_ENABLED=true
SMTP_HOST=mail.smtp2go.com
SMTP_PORT=587
SMTP_USERNAME=shoehorn
SMTP_PASSWORD=your-password
SMTP_FROM=noreply@shoehorn.example.com

Until SMTP is configured, the email channel is hidden in the subscription wizard and the API rejects email subscriptions.

A Slack channel runs in one of two modes. Pick the one that fits how your team works.

Webhook mode posts to a single Slack channel through an Incoming Webhook URL.

  1. Create a Slack app at api.slack.com/apps.
  2. Open Incoming Webhooks and turn it on.
  3. Add a new webhook and pick the channel it posts to.
  4. Copy the webhook URL into the subscription.

Bot mode uses a bot token, so one app can post to any channel you choose.

  1. Create a Slack app at api.slack.com/apps.
  2. Under OAuth & Permissions, add the bot token scopes chat:write and chat:write.public. The second scope lets the bot post to channels it hasn’t joined.
  3. Install the app to your workspace.
  4. Copy the bot token. It starts with xoxb-.
  5. Invite the bot to the target channel, then set the channel on the subscription.

A Slack or webhook channel needs a secret: a Slack webhook URL, a Slack bot token, or a webhook signing key. You can give it to Shoehorn two ways.

Save it in the portal. Paste the secret into the subscription. Shoehorn encrypts it before saving and never shows it again. After you save, the field just reads “secret is set”. This is the usual way.

Reference one from your Helm values. If the secret is already defined in your deployment’s Helm chart under notifications.secrets, point the subscription at it instead of pasting a value. Switch the field to “Reference an existing secret” and enter secret://<name>, using the name from your Helm values. The secret stays in your cluster and never reaches Shoehorn’s database.

Either way, Shoehorn never shows the secret value back in the UI.

Users can manage their notification preferences in Profile > Notification subscriptions.

A subscription for your team’s entities sends what your inbox shows for that team: alerts about services and workloads the team owns, alerts sent to the team, and security findings for repositories it owns. Notices meant for everyone aren’t part of it.

Daily and weekly digests leave out anything that cleared before the digest went out.