Skip to content
Discussion options

You must be logged in to vote

Hi @tim-steg , thanks for opening this discussion!
Unlike Minikube (if default is still VM), k3d does not run a virtual machine that you can limit in resources.
Since the k3s containers are spawned in privileged mode, we also cannot leverage docker functionality to restrict their memory usage.
However, if you want to emulate restrictions to your pods, we have the --servers-memory and --agents-memory flags now which create fake meminfo files to tell cadvisor (in k3s in docker) wrong memory details.
If you want to ensure that your system doesn't get overloaded, then k3d doesn't give you any tools for that (but you can limit the Docker for Desktop VM, if you're on MacOS/Windows), if you real…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@timothystegall
Comment options

@iwilltry42
Comment options

@lukepolo
Comment options

@iwilltry42
Comment options

@lukepolo
Comment options

Answer selected by timothystegall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #624 on June 10, 2021 14:46.