Cannot limit cpu with kube file: Invalid Argument #11803
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
When I try to
podman play kube
an existing kube file with cpu-limits, it gives me an error saying:On the other hand, using the
--cpu
flag withpodman run
seems to work - at least it doesn't print any errors.Steps to reproduce the issue:
Basically use or create an kube file, which worked before and add cpu limits. Running these lines works for me:
Alternatively this is the kube file podman created:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
I was having the issue from point 26 from the troubleshooting guide, but I think this is resolved:
I also was trying to use runc as runtime - similar error:
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: