Add support for resource CPU limits to generate kube #7855
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
kind/feature
Categorizes issue or PR as related to a new feature.
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 feature
Description
PR #7853 adds support for resource limits to
podman play kube
, butpodman generate kube
still lacks support for generating Kubernetes configuration that retains resource limits.Steps to reproduce the issue:
Create a container that has resource limits. For example:
podman container create --name test1 --memory 10Mi alpine
Generate Kubernetes config for the pod:
podman generate kube test1
Describe the results you received:
Currently there are no limits specified in the output.
Describe the results you expected:
The limits should be in the spec at
spec.template.spec.containers[].resources
.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
): I'm on git masterHave you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: