-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Increase default disk image allocation ? #8050
Comments
We could use
We might need something more advanced for KIC, since e.g.
|
Somewhat related to #3574 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@afbjorklund I believe our new Auto Detect memory already does this for memory. but for disk size we have not done anything. |
I would accept a PR that would try to allocate more disk space for VM if it is available |
if we need disk space issue, lets create another one |
We talked about it in #8077, currently we leave 15G It really depends on which applications you want to run... The end goal is similar to what Vagrant is trying to do:
https://www.vagrantup.com/docs/boxes/base User are free to choose whatever, using the I will probably use 32G as a compromise, size of an SD card It would be more interesting to work on the monitoring: #3574 |
Something that we discussed about the Docker VM, which allocates 2 GB RAM + 1 GB swap:
As discussed in #7980 (comment)
Maybe it is time to increase our default memory allocation to 4 GB, at least where available ?
Similarly, we could up the default disk image to 40 GB, since it will only occupy as much as used.
The idea would be to have something like computer games, "recommended" vs "minimum":
https://minikube.sigs.k8s.io/docs/start/
Minimum:
2 CPUs or more
2GB of free memory
20GB of free disk space
Recommended:
4 CPUs or more
4GB of free memory
40GB of free disk space
Currently we follow the recommendations from
kubeadm
, but it seems to be a bit low ?https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
We already use more memory than this, so it is mostly about the documentation.
🔥 Creating virtualbox VM (CPUs=2, Memory=6000MB, Disk=20000MB) ...
🔥 Creating docker container (CPUs=2, Memory=8000MB) ...
The hard requirement is currently 1000MB, but that requires swap to even "function".
Ideally this would be followed up by an analysis of where the memory is actually going...
Like monitor the memory usage over time, like we did previously with the cpu usage ?
The text was updated successfully, but these errors were encountered: