跳转到主内容

如何使用 Trident ONTAP 驱动程序设置 fsGroup

Views:
11
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用于

  • 适用于 Kubernetes 和 Openshift 的 Trident
  • Kubernetes fsGroup pod 使用情况

说明

对于 NAS 和 SAN ONTAP 驱动程序,使用 fsGroup 时都存在一些陷阱,这些陷阱需要特定的设置。
 
如文档所示,runAsUser, runAsGroup and fsGroupsecurityContext 下的设置,在 Pod 定义中,Trident 驱动程序支持这些设置,以便在挂载 NFS PVC 时应用所有权更改。根据 NFS 设置,NAS 可能不遵守这些设置。

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.