Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法配置 k8s,以便在某些外部 nfs 服务器上预先定义的 nfs 导出,仅适用于属于特定命名空间的 pod,而其他命名空间中的其他 pod 无法挂载它。
不幸的是,没有办法管理对 Kubernetes 中 NFS 共享的访问。
您可以通过将 NFS 服务器与 Kerberos 一起使用来限制访问。
您可以在NFSv4Howto文档中找到一个示例。