Skip to content

ate-setup: let operators add tolerations to atelet #4143

Backlog

Description

Description

A WorkerPool can place workers on tainted nodes by setting the matching toleration in spec.template.tolerations. A common case is node pools sized for larger sessions, tainted session-size=<size>:NoSchedule, with one WorkerPool per size.

The atelet DaemonSet in manifests/ate-install/atelet.yaml tolerates only ate.dev/sandboxClass and cloud.google.com/compute-class, so atelet never runs on those nodes. Without it the worker logs Could not acquire a worker epoch ... dial unix /var/lib/ate/worker-support.sock: no such file or directory and never becomes ready, and ResumeActor fails with no worker has room for the actor.

Patching the DaemonSet by hand works until the next ate-setup deploy ate-system or deploy atelet, which re-render atelet from the manifest and drop the patch.

Proposal

Add an atelet.tolerations install setting that ate-setup appends to the built-in tolerations on every path that renders atelet. This is per-install configuration and is separate from moving the GKE ComputeClass toleration into a provider overlay (#2760).

Activity

  1. added
    kind/feature
    on Nov 24, 2026
  2. yussugi commented on Nov 26, 2026

    @yussugi

    +1, we hit the same thing on EKS.

    Our cluster reserves node pools with a taint of its own. The Karpenter NodePool for Substrate workers has dedicated=substrate:NoSchedule, like our other dedicated pools. The WorkerPool tolerates it through spec.template.tolerations, but atelet does not, so we patched manifests/ate-install/atelet.yaml with:

    • a toleration for dedicated=substrate:NoSchedule
    • a nodeSelector for that NodePool, so that atelet runs only where workers run. Without it, atelet lands on every node and leaves /var/lib/ate and its device plugin registration on nodes that never host a worker.

    As the issue says, the patch has to be reapplied after every ate-setup deploy.

    For the Helm charts in #4149: substrate-atelet already has atelet.nodeSelector, but its tolerations are fixed to ate.dev/sandboxClass and cloud.google.com/compute-class. An atelet.tolerations value there, appended to those two, would cover our case with no patch.

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

    area/dev-infraarea/nodekind/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions