containerd / containerd

An open and reliable container runtime
https://containerd.io
Apache License 2.0
17.44k stars 3.45k forks source link

Add priority flag for containerd on Windows hosts #4773

Closed ravisantoshgudimetla closed 3 weeks ago

ravisantoshgudimetla commented 3 years ago

What is the problem you're trying to solve

On Windows hosts, there is a chance that the containerd process won't get enough CPU cycles because of the default priority set for the Windows process.

xref: https://github.com/kubernetes/kubernetes/issues/95735#issuecomment-719083689

Describe the solution you'd like

Having an additional flag to containerd similar to what we did for kubelet might be helpful, so that end user can specify what priority can be set for containerd

Let me know if this is a reasonable approach. I can work on it.

Additional context xref: https://github.com/kubernetes/kubernetes/issues/95735

cc @marosset @jsturtevant @aravindhp

marosset commented 3 years ago

cc @kevpar