Allow to manage existing podman machine cpu/memory/disk through cli #13633
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
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.
machine
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
As a user, you start a podman machine (probably using defaults)
Then at some point, you want to increase the memory or cpu or even the disk size
Or also decrease the settings because you want to adjust to your needs.
But this is not possible easily today.
podman machine set
command allows only to update--rootful
optionyou may delete and recreate a machine but then you're losing all containers/existing images so this is not an expected behaviour.
It seems to be possible to tweak
$HOME.config/containers/podman/machine/qemu/podman-machine-default.json
by editing CPUs and smp parameter for the cpu but from a user point of view, we shouldn't edit qemu files.Steps to reproduce the issue:
Create and start a podman machine
Wants to tweak cpu/memory/disk settings
Describe the results you received:
not possible through cli
Describe the results you expected:
it should be possible to do for example
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
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: