Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

consider adding flag to constrain cpu/mem for non-k8s use cases #2811

Closed
egernst opened this issue Jul 1, 2020 · 1 comment
Closed

consider adding flag to constrain cpu/mem for non-k8s use cases #2811

egernst opened this issue Jul 1, 2020 · 1 comment
Labels
area/runtime enhancement Improvement to an existing feature

Comments

@egernst
Copy link
Member

egernst commented Jul 1, 2020

Which feature do you think can be improved?

In Kubernetes, the sandbox is constrained for memory and CPUs by Kubelet. Utilizing RuntimeClass, this is setup to take the overhead of running a Kata based sandbox into account. As a result Kata does not constrain these cgroups.

For non-K8S use cases, it may be desirable to constrain on the host based on CPU/memory requests. It would be up to the end user to size their workloads to be appropriate for running in a Kata sandbox.

How can it be improved?

Add a knob in our config.toml that allows a user to enable cpu/memory cgroup management on host. This should default to disabled.

@egernst egernst added enhancement Improvement to an existing feature needs-review Needs to be assessed by the team. labels Jul 1, 2020
@jodh-intel jodh-intel added this to To do in Issue backlog Aug 10, 2020
@ariel-adam ariel-adam added area/runtime and removed needs-review Needs to be assessed by the team. labels Dec 8, 2020
@ariel-adam ariel-adam moved this from To do to area agent/runtime in Issue backlog Mar 9, 2021
@fidencio
Copy link
Member


This issue is being automatically closed as Kata Containers 1.x has now reached EOL (End of Life). This means it is no longer being maintained.

Important:

All users should switch to the latest Kata Containers 2.x release to ensure they are using a maintained release that contains the latest security fixes, performance improvements and new features.

This decision was discussed by the @kata-containers/architecture-committee and has been announced via the Kata Containers mailing list:

If you believe this issue still applies to Kata Containers 2.x, please open an issue against the Kata Containers 2.x repository, pointing to this one, providing details to allow us to migrate it.


Issue backlog automation moved this from area agent/runtime to Done May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/runtime enhancement Improvement to an existing feature
Projects
Issue backlog
  
Done
Development

No branches or pull requests

3 participants