How to mount /dev/kvm in a non-privileged pod?

纵饮孤独 提交于 2021-02-10 06:50:57

问题


My pod needs to access /dev/kvm but it cannot run as privileged for security reasons.

How do I do this in Kubernetes?


回答1:


There is a device-plugin called KVM Device Plugin that serves exactly for this purpose.

This software is a kubernetes device plugin that exposes /dev/kvm from the system.



来源:https://stackoverflow.com/questions/59231393/how-to-mount-dev-kvm-in-a-non-privileged-pod

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!