Skip to content

Add support for --cpuset-cpus & --cpuset-mems in podman kube play #26172

@fpoirotte

Description

@fpoirotte

Feature request description

Hello,

Similar to the addition of --pids-limit to podman kube play in #24418, I would like to request the addition of new annotations to be able to set the CPU cores & memory nodes a container may use to execute.

Suggest potential solution

Add two new annotations to support setting --cpuset-cpus & --cpuset-mems in podman kube play.
For example io.podman.annotations.cpuset/$ctrname and io.podman.annotations.memory-nodes/$ctrname.

Have you considered any alternatives?

I could not find any alternative syntax/annotation to do that.

Additional context

Tested on:

  • podman 5.6.0-dev (git commit 6d23f22).
  • go1.24.2
  • Debian 13 (linux/amd64)

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.triagedIssue has been triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions