Skip to content

fix(k8s): the ebpf profiler skips the node hawk - #3788

Merged
dan-petty merged 4 commits into
mainfrom
fix/3784-ebpf-profiler-skips-hawk
Nov 6, 2026
Merged

dan-petty merged 4 commits into
mainfrom
fix/3784-ebpf-profiler-skips-hawk

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The node hawk reboots on its own, and its kernel log of 2026-11-05 shows the eBPF map free of the Alloy profiler just before a reboot. The profiler is the only eBPF loader on the nodes. The alloy-profiles DaemonSet now has a required node affinity that keeps it off hawk, until the cause of the crashes is found. The other nodes keep the profiler, and no other collector changes. The comment in the values file names the investigation issue and says to remove the entry when it records the cause.

Closes #3784

Change: openspec/changes/archive/2026-11-06-3784-ebpf-profiler-skips-hawk/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

How a person confirms the change after Argo CD syncs k8s-monitoring:

kubectl -n monitoring get pods -l app.kubernetes.io/name=alloy-profiles -o wide

Expected: no pod on hawk, and one pod on each other node.

Checks I ran:

  • uv run devops ci fail-to-pass --base origin/main: 1 test failed on base (test_the_ebpf_profiler_runs_on_every_node_except_hawk) and passes now.
  • helm template of k8s-monitoring 4.5.2 before and after: the only difference is the affinity block in the Alloy resource k8s-monitoring-alloy-profiles. helm template of the alloy chart 1.12.1 with that spec renders the nodeAffinity in the DaemonSet k8s-monitoring-alloy-profiles.
  • No alert or recording rule reads the number of alloy-profiles pods (prometheus-values.yaml has no DaemonSet-count rule).
  • Full uv run devops ci: all gates pass except test (and coverage, which follows it). The two failed tests are the known host failures tests/commands/test_devcontainer_install_tools_dry_run.py and tests/ai/test_tool_executor_contract.py (fix(ci): host state fails four tests and one case #3585).

The cause of the crashes is open: #3785.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 09:06
@dan-petty
dan-petty merged commit bd65ef6 into main Nov 6, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3784-ebpf-profiler-skips-hawk branch November 6, 2026 09:07
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.69.0](v0.68.0...v0.69.0)
(2026-11-06)


### Features

* **k8s:** post a GitHub deployment for each Argo CD deploy
([#3783](#3783))
([5515975](5515975))


### Bug Fixes

* **k8s:** the ebpf profiler skips the node hawk
([#3788](#3788))
([bd65ef6](bd65ef6))


### Code Refactoring

* **cli:** one HTTP entry point with a shared fake
([#3786](#3786))
([0feeb8b](0feeb8b)),
closes [#3755](#3755)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): the ebpf profiler skips hawk

1 participant