The server role in the admin network; the monitoring intent #6

Merged
oliver.maklott merged 1 commit from server-role into main 2026-11-29 18:13:55 +01:00

Milestone 6, part 2 (ADR 0007): the admin network's server role and the monitoring intent - what the monitoring host needs before it exists.

  • Role server for sites (the monitoring host): clients reach it - operators everything, phones also Grafana's port 3000 - and it reaches nothing in the admin network (not OpenBao, not the anchor's resolver, not other sites). The anchor's nftables enforce it by tunnel address (servers4/servers6). Schema: clients operator|mobile, sites server, hubs none. Needs belowtoxic.networking v0.5.0 (pinned).
  • schemas/monitoring.schema.json: server, bucket (its own, no Object Lock), retention, Grafana's groups, alert channels (secrets in OpenBao), probes; examples incl. the monitoring network's members.
  • ADR 0007 (monitoring); ADR 0006 and the WireGuard concept amended.
  • Anchor scenario: a phone and a server in the registry; checks the role sets and the input/forward rules.

Next: infractl 0.8.0 (monitoring document, play monitoring, wg-peer --role server, bootstrap monitoring), then the playbook and the members.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG

Milestone 6, part 2 (ADR 0007): the admin network's `server` role and the monitoring intent - what the monitoring host needs before it exists. * **Role `server` for sites** (the monitoring host): clients reach it - operators everything, phones also Grafana's port 3000 - and it reaches nothing in the admin network (not OpenBao, not the anchor's resolver, not other sites). The anchor's nftables enforce it by tunnel address (`servers4`/`servers6`). Schema: clients operator|mobile, sites server, hubs none. Needs belowtoxic.networking v0.5.0 (pinned). * **`schemas/monitoring.schema.json`**: server, bucket (its own, no Object Lock), retention, Grafana's groups, alert channels (secrets in OpenBao), probes; examples incl. the monitoring network's members. * ADR 0007 (monitoring); ADR 0006 and the WireGuard concept amended. * Anchor scenario: a phone and a server in the registry; checks the role sets and the input/forward rules. Next: infractl 0.8.0 (monitoring document, `play monitoring`, `wg-peer --role server`, `bootstrap monitoring`), then the playbook and the members. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
The server role in the admin network; the monitoring intent
All checks were successful
ci / test (pull_request) Successful in 6s
ci / lint (pull_request) Successful in 21s
ci / molecule (pull_request) Successful in 22m58s
ci / test (push) Successful in 7s
ci / lint (push) Successful in 21s
ci / molecule (push) Successful in 23m19s
60c2e73e03
Milestone 6, part 2 (ADR 0007).

* A site with role server (the monitoring host): clients reach it -
  operators everything, phones also Grafana's port 3000 - and it reaches
  nothing in the admin network, not OpenBao, not the anchor's resolver,
  not the other sites. The anchor's nftables enforce it by tunnel
  address (sets servers4/servers6); the schema allows role server for
  sites only (clients: operator, mobile; hubs: none).
* schemas/monitoring.schema.json: the monitoring host - server, bucket
  (its own, without Object Lock), retention, Grafana's groups, alert
  channels (their URLs and passwords in OpenBao), probes; examples.
* ADR 0007 (monitoring), ADR 0006 amended.
* The anchor scenario checks the firewall's peer roles with a phone and
  a server in the registry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PVUe4g65L7UnUVqHmQp7kG
oliver.maklott deleted branch server-role 2026-11-29 18:13:55 +01:00
Sign in to join this conversation.
No reviewers
No labels
test:kvm
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
belowtoxic-ansible/infrastructure!6
No description provided.