Skip to content

Task spec.resources doesn't seem to reach the actor (values only show up inside AX_TASK_YAML) #436

Description

@bolubo

I've been trying AX out locally (kind, micro-VM sandbox class) and followed the task example in docs/manifests.md:

spec:
resources:
requests: {cpu: "500m", memory: "1Gi"}
limits: {cpu: "2", memory: "4Gi"}

ax apply succeeds, but the ActorTemplate the controller builds has no resources field - the numbers only appear inside the AX_TASK_YAML env value, so the runner can read them but the actor isn't sized by them. A grep for Spec.Resources across the tree comes back empty. (docs/concepts.md says a Task "declares ... compute requests and limits", and docs/runner.md doesn't mention resources at all, so I'm not sure where these are supposed to be applied.)

Is that intended (the runner applies them itself), or did the wiring get lost?

Happy to share the applied task + the template dump.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions