How do I disable interactive session (kubectl exec) to a Kubernetes pod

醉酒当歌 提交于 2021-02-17 05:13:39

问题


I need to disable interactive session/ssh access to a Kubernetes pod.


回答1:


It’s controlled via the RBAC system, via the pods/exec subresource. You can set up your policies however you want.



来源:https://stackoverflow.com/questions/60756423/how-do-i-disable-interactive-session-kubectl-exec-to-a-kubernetes-pod

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