Document setting up Ubuntu Livepatch for a host #29

Merged
patrick merged 1 commits from docs/livepatch-setup into main 2026-11-01 00:55:41 +00:00
Owner

Why

docs/agents.md is where you look when adding a host, but it said nothing about Livepatch. The setup steps were only implied by how-it-works.md and alerts.md.

Changes

New "Ubuntu Livepatch" section in docs/agents.md, between "Adding a host" and "Deploying to many hosts":

  • Setup: kernelwatch needs none; the agent's Livepatch unit runs wherever the snap is installed. The doc gives the host steps (pro attach, pro enable livepatch, canonical-livepatch status) and how to check kernelwatch picked it up (/run/kernelwatch/livepatch, the host page row).
  • What changes: kernel reboots become notes while Livepatch is healthy, cover ends 14 days before the kernel's Livepatch support, and broken Livepatch sends an alert. It links to alerts.md and how-it-works.md rather than repeating them.
  • ESM: attaching to Pro also enables esm-infra, which the OS end-of-support check counts.
  • Caveats: supported kernel flavours only (what kernelwatch shows otherwise), turning Livepatch off sends one expected alert, nothing for Debian. Also notes Ubuntu Pro's free personal tier covers up to five machines.

Docs only: no code or version changes.

Testing

  • make test: all pass, including the docs link and anchor checks (tests/test_docs.py).

🤖 Generated with Claude Code

## Why `docs/agents.md` is where you look when adding a host, but it said nothing about Livepatch. The setup steps were only implied by `how-it-works.md` and `alerts.md`. ## Changes New "Ubuntu Livepatch" section in `docs/agents.md`, between "Adding a host" and "Deploying to many hosts": - **Setup:** kernelwatch needs none; the agent's Livepatch unit runs wherever the snap is installed. The doc gives the host steps (`pro attach`, `pro enable livepatch`, `canonical-livepatch status`) and how to check kernelwatch picked it up (`/run/kernelwatch/livepatch`, the host page row). - **What changes:** kernel reboots become notes while Livepatch is healthy, cover ends 14 days before the kernel's Livepatch support, and broken Livepatch sends an alert. It links to `alerts.md` and `how-it-works.md` rather than repeating them. - **ESM:** attaching to Pro also enables `esm-infra`, which the OS end-of-support check counts. - **Caveats:** supported kernel flavours only (what kernelwatch shows otherwise), turning Livepatch off sends one expected alert, nothing for Debian. Also notes Ubuntu Pro's free personal tier covers up to five machines. Docs only: no code or version changes. ## Testing - `make test`: all pass, including the docs link and anchor checks (`tests/test_docs.py`). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
patrick added 1 commit 2026-11-01 00:54:09 +00:00
Document setting up Ubuntu Livepatch for a host
CI / tests (Python 3.10) (pull_request) Successful in 34s
CI / tests (Python 3.11) (pull_request) Successful in 34s
CI / tests (Python 3.12) (pull_request) Successful in 34s
CI / tests (Python 3.13) (pull_request) Successful in 34s
CI / lint (pull_request) Successful in 2s
b6fc7fc05e
docs/agents.md had nothing on Livepatch, though it's where you look when
adding a host. New section: attaching Ubuntu Pro and enabling Livepatch,
checking kernelwatch picks it up, what changes on the dashboard (reboot
cover, its 14-day margin, alerts), that attaching also enables the ESM the
end-of-support check counts, and the caveats (supported kernels only,
turning it off sends one alert, nothing for Debian).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
patrick merged commit 233645c738 into main 2026-11-01 00:55:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: patrick/kernel-automation#29