-
Notifications
You must be signed in to change notification settings - Fork 949
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
[feature request] make runtime advantages support in CRI managers for Kubernetes #1580
Comments
Thanks for your report, @allencloud |
also cc @fanux |
I think this will be useful, for example support the runtime (runv or runc) in kubernetes annotations. |
We could implement this ASAP. and runtime choosing could be the highest priority. @fanux |
@allencloud Please define the name for specific feature ASAP. It's easy for us to implement it in CRI manager 😄 |
If the annotation has a type of runtime type
resource view isolation via lxcfsTo be compatible with pouchd's API, we could have the following definition:
diskquota typeI think this is quite easy, we should just use
Rich container modeto be decided this mode's user case. /cc @YaoZengzeng @starnop |
How about add a runtime |
@allencloud The name should be more kubernetes native, like {"io.kubernetes.runtime":"runv"} 😄 |
cri-containerd has already supported hypervisor-based runtime, and we will follow this approach as well. |
Ⅰ. Issue Description
Currently, PouchContainer has lots of advantages over other container runtimes, such as:
While actually in kubernetes, there is no related API to support these feature.
While for these extended features in Kubernetes, Kubernetes has a hiden way to support this: make user-defined parameters in annotations field in pod's definition.
However, in order to implement this, I think we have to support these parameters in annotations in CRI manager(CRI implementation of PouchContainer).
When CRI manager deals the annotation details, it could pass these parameters to container manager, and container manager definitely implement these features very well.
So, we need to accomplish the following things:
The text was updated successfully, but these errors were encountered: