Skip to content

Worker capability and seccomp settings are not configurable through WorkerPool #2422

Closed

Description

The WorkerPool API in v0.4.0 exposes placement, resources and ServiceAccount selection, but not the worker container’s Linux capabilities or seccomp profile.

The controller generates gVisor workers with:

  • UID/GID 0.
  • privileged: false.
  • All capabilities dropped, followed by an explicit set of 13.
  • seccompProfile: Unconfined.
  • appArmorProfile: Unconfined.

These settings are defined in the controller. Editing the generated Deployment is not persistent because the controller reconciles it. A Helm post-renderer does not change worker Deployments created later by the controller.

Applying different capability restrictions or a seccomp profile therefore requires configuration outside WorkerPool.

Versions

Reproduced with:

  • Agent Substrate v0.4.0, commit 756c2a53741121e728f4cc3066c8a19e575b4919.
  • Kubernetes v1.35.0 on kind.
  • containerd 2.2.0.
  • Linux 7.0.14, arm64.
  • gVisor nightly 2026-09-02, systrap.

References

Related: #2084 concerns WorkerPool authorisation and privilege boundaries; #1368 concerns startup under the runtime-default seccomp profile. This report concerns configuration of the host-facing worker, not capabilities granted inside an actor.

Activity

  1. BenTheElder commented on Oct 17, 2026

    @BenTheElder
    Collaborator

    we've been discussing on #2428

  2. added a commit that references this issue on Oct 20, 2026
    aed873c
  3. added 3 commits that reference this issue on Oct 31, 2026
    580912a
    a451357
    d60d2ab
  4. added a commit that references this issue on Nov 1, 2026
    bd1f188
  5. added a commit that references this issue on Nov 2, 2026
    9cae2d3
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/nodekind/featureAn enhancement / feature request or implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions