1Panel-dev / webkubectl

Run kubectl command in Web Browser.
Apache License 2.0
854 stars 117 forks source link

K8s中部署报错 #24

Closed gorexlv closed 2 years ago

gorexlv commented 2 years ago

在k8s中部署,进去终端的时候报错: unshare: unshare(0x20020000): Operation not permitted

请问在k8s中部署,需要做什么配置吗?

gorexlv commented 2 years ago

应该是特权模式的问题。

请问webkubectl可以提供在非特权模式下的终端功能吗?

liqiang-fit2cloud commented 2 years ago

感谢关注。 现在会话隔离是用Linux的Namespace实现的,每个会话是一个临时Namespace,创建Namespace需要特权。 所以没有特权的话就做不到会话隔离,目前还没想到其他方案能实现隔离。