Skip to content

fix(k8s): the ebpf profiler skips hawk #3784

Closed

Description

@dan-petty

Problem

The node hawk reboots on its own, several times a day. On 2026-11-05 the Alloy eBPF tracer of the alloy-profiles DaemonSet pod died on hawk, the kernel logged BUG: workqueue leaked atomic, lock or RCU ... workfn=bpf_map_free_deferred, and the node rebooted. The eBPF profiler is the only eBPF program loader on the nodes. The cause of the crashes is not yet known. The other nodes run the same profiler config and show no crash.

Expected

The owner decided on 2026-11-06 to exclude hawk from the eBPF profiler until the source of the host crashes is identified. The alloy-profiles DaemonSet runs on every node except hawk. The profiler stays on for the other nodes. The comment in the values file names the investigation issue, and says to remove the entry when the cause is found.

Acceptance criteria

  • collectors.alloy-profiles.controller.affinity in k8s/monitoring/k8s-monitoring-values.yaml has a node affinity kubernetes.io/hostname NotIn [hawk], and the rendered DaemonSet carries it.
  • The other collectors do not change.
  • A test pins the affinity.
  • No alert fires because the DaemonSet has one pod less.
  • The documents that name the profiler say that hawk is excluded.

Existing tool considered

Kubernetes node affinity, through the k8s-monitoring chart value controller.affinity. No new code.

Related

Activity

  1. added
    source/agent
    type/bug
    scope/k8s
    status/new
    value/high
    effort/low
    on Nov 6, 2026
  2. dan-petty commented on Nov 6, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P1-High. The node reboots several times a day and the fix stops the crashes immediately.
    • Value: High. Every workload on hawk loses service during each reboot until the exclusion is applied.
    • Effort: Low. The change is one affinity entry in a values file, one test, and a doc note; no new code is needed.
    • Related: fix(k8s): alloy-profiles is OOMKilled on the busiest node and restarts every few minutes #1815, which asks for a different change. Both target the alloy-profiles DaemonSet in k8s-monitoring-values.yaml, but 1815 fixes OOMKills with memory limits while this issue excludes one node with an affinity rule.
  3. added
    priority/p1-high
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 6, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 6, 2026
  5. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor
  6. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-06 13:25 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/k8ssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions