-
-
Notifications
You must be signed in to change notification settings - Fork 998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Massive Update - Remove old storage check, add new storage and resource check to all scripts - Remove downscaling with pct set #333
Conversation
…eck, Remove Whiptail, Remove PCT Ressource Set
Awesome work. I'm supportive of the usage of the new centralized functions ( |
Yes we can discuss, but the right thing to do in my opinion would be to make a small fix PR, with proper resources. In the end, Proxmox and the LXC only use what it actually needs :-) if it doesn't need it, it doesn't use it. (Unlike with Homeassistant VM 😂) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, only comments on moving the functions before app installation and whiptail in some scripts. I tested moving header_info
before whiptail in cockpit script locally and it worked fine.
Also have you tested that check_container_storage
and check_container_resources
works on all supported distributions?
debian 11
debian 12
ubuntu 20.04
ubuntu 22.04
ubuntu 24.04
Jep, local it works for Fedora and co too. Thats a later PR. For now only all Debian & Ubuntu Systems |
This reverts commit ea6311e.
@havardthom all done. |
Co-authored-by: Håvard Gjøby Thom <[email protected]>
...
For setups with limited resources, it does make sense to not over-provision. If for example I try a script that ends up consuming a lot more storage when in use (this happened to me a few days ago) I would rather that new LXC crashed, than my long running LXCs. |
Code looks fine and will approve, but I don't think our policy should be over provisioning LXC. |
Description
Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set
Type of change
Please check the relevant option(s):
Prerequisites
The following efforts must be made for the PR to be considered. Please check when completed:
Related Pull Requests / Discussions
If there are other pull requests or discussions related to this change, please link them here: