Skip to content

Commit eca3736

Browse files
authored
Create README.md
1 parent c076908 commit eca3736

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

deploy/example/fsgroup/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# fsGroup Support on NFS protocol
2+
3+
[fsGroupPolicy](https://kubernetes-csi.github.io/docs/support-fsgroup.html) feature is supported from Kubernetes 1.20, default CSI driver installation does not have this feature, follow below steps to enable this feature. Please note that blobfuse does not support fsGroupPolicy yet, only NFS protocol supports fsGroup.
4+
5+
### Option#1: Enable fsGroupPolicy support in [driver helm installation](../../../charts)
6+
7+
add `--set feature.enableFSGroupPolicy=true` in helm installation command.
8+
9+
### Option#2: Enable fsGroupPolicy support on a cluster with CSI driver already installed
10+
11+
```console
12+
kubectl delete CSIDriver blob.csi.azure.com
13+
cat <<EOF | kubectl create -f -
14+
apiVersion: storage.k8s.io/v1
15+
kind: CSIDriver
16+
metadata:
17+
name: blob.csi.azure.com
18+
spec:
19+
attachRequired: false
20+
podInfoOnMount: true
21+
fsGroupPolicy: File
22+
volumeLifecycleModes:
23+
- Persistent
24+
- Ephemeral
25+
EOF
26+
```

0 commit comments

Comments
 (0)