Skip to content

Refactor xds server - #3

Merged
bpalermo merged 1 commit into
mainfrom
refactor
Feb 11, 2026
Merged

bpalermo merged 1 commit into
mainfrom
refactor

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

No description provided.

@bpalermo
bpalermo merged commit 6b3f54a into main Feb 11, 2026
1 check passed
@bpalermo
bpalermo deleted the refactor branch February 11, 2026 18:09
bpalermo added a commit that referenced this pull request Jul 26, 2026
The earlier draft in this PR was written before it was established that
talos-main is Flux GitOps-managed, so it documented a hand-applied manifest and
a `kubectl create secret` -- both of which Flux would fight or ignore.

Two things in it were also simply wrong:

  - It shipped measurementlab/alertmanager-github-receiver, which is published
    amd64-ONLY. Every talos-main node is arm64, so that Deployment could never
    have scheduled. Replaced by pfnet-research/alertmanager-to-github (real
    multi-arch index), and the wrong port/path went with it.

  - The "no Alertmanager deployed" note was stale: it is deployed, running, and
    backed by a 1Gi PVC.

Dropped the drafted inhibit_rules rather than carrying them over. They suppress
the per-node gauge alerts when MeshDNSMetricsAbsent fires, but that rule is
`absent(aether_mesh_dns_ready)`, which only fires once EVERY series is gone --
at which point `min by (node) (...) == 0` yields no series and cannot fire
either. The rules would look protective and do nothing.

The real implementation is k8s-talos-main #3 (rules) and #4 (delivery). This
file keeps mesh-dns-alerts.yml as the source of truth and now says where it is
deployed from, plus the Watchdog and arm64 traps.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR
bpalermo added a commit that referenced this pull request Aug 2, 2026
…tOps pointers (#600)

* docs(observability): draft the Alertmanager -> GitHub issue delivery path

The seven mesh-DNS alert rules have been authored but fire nowhere: there is no
Prometheus operator, no Grafana alerting sidecar, and no Alertmanager. Rules
that route to nobody are decoration.

Adds the receiver Deployment/Service/ServiceAccount and the two Prometheus
values changes that close the gap. Two things the live cluster made cheaper
than expected: prometheus.yml's `rule_files` ALREADY lists
/etc/config/alerting_rules.yml, so loading the rules is a single values key;
and the chart wires `alerting.alertmanagers` itself once the subchart is on.

Documents three decisions rather than leaving them implicit: group_by is
alertname ONLY (the receiver titles issues from GroupLabels.alertname, so
grouping by node would open one issue per node per alert); send_resolved is
required for -enable-auto-close to ever fire; and MeshDNSMetricsAbsent inhibits
the per-node gauge alerts, since a fleet-wide telemetry gap is one finding, not
five.

Also records the ordering constraint: four of the seven rules key on gauges,
and this Prometheus is OTLP-receive-only, so a shedding collector makes a
healthy node indistinguishable from a broken one. Enable the collector headroom
first or the alerts train everyone to ignore them.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR

* docs(observability): point alert delivery at the GitOps repo

The earlier draft in this PR was written before it was established that
talos-main is Flux GitOps-managed, so it documented a hand-applied manifest and
a `kubectl create secret` -- both of which Flux would fight or ignore.

Two things in it were also simply wrong:

  - It shipped measurementlab/alertmanager-github-receiver, which is published
    amd64-ONLY. Every talos-main node is arm64, so that Deployment could never
    have scheduled. Replaced by pfnet-research/alertmanager-to-github (real
    multi-arch index), and the wrong port/path went with it.

  - The "no Alertmanager deployed" note was stale: it is deployed, running, and
    backed by a 1Gi PVC.

Dropped the drafted inhibit_rules rather than carrying them over. They suppress
the per-node gauge alerts when MeshDNSMetricsAbsent fires, but that rule is
`absent(aether_mesh_dns_ready)`, which only fires once EVERY series is gone --
at which point `min by (node) (...) == 0` yields no series and cannot fire
either. The rules would look protective and do nothing.

The real implementation is k8s-talos-main #3 (rules) and #4 (delivery). This
file keeps mesh-dns-alerts.yml as the source of truth and now says where it is
deployed from, plus the Watchdog and arm64 traps.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR

* docs(observability): drop the hand-rolled helm upgrade instruction

It contradicted the GitOps section added in the previous commit -- those values
are reconciled by Flux from k8s-talos-main, so a manual `helm upgrade` would be
reverted on the next reconcile. Kept the useful half: rule_files already points
at alerting_rules.yml, so populating that key is the whole change.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR

* chore: move the permission allowlist to local settings

These entries are personal workflow preferences, not project policy, so they
belong in the gitignored .claude/settings.local.json rather than being committed
for everyone. Merged into the existing local file (deduped -- kubectl logs/
describe/top, helm get/template and the grafana read-only MCP tools were new;
the rest were already there).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant