gefyrahq / gefyra

Blazingly-fast :rocket:, rock-solid, local application development :arrow_right: with Kubernetes.
https://gefyra.dev
Apache License 2.0
689 stars 28 forks source link

gefyra-run: support for --cpu/--memory and similar parameters #742

Open crkurz opened 1 week ago

crkurz commented 1 week ago

What is the new feature about?

gefyra-run starts local containers with no constraints on cpu or memory usage. This means that any such container by default can consume unlimited cpu and memory and thus can make the entire docker host (with all other containers/services) unresponsive.

The other problem is that cpu/memory problems may stay undiscovered in gefyra until they get deployed in production.

It is good practice to put cpu/memory constraints on containers, in particular when running sets of containers.

cli option ideas:

Why would such a feature be important to you?

Anything else we need to know?

No response