Skip to content

Commit 61a224f

Browse files
authored
Update csi-debug.md
1 parent 2dc70fa commit 61a224f

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/csi-debug.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ mount | grep blobfuse | uniq
9898
- collect log files: `/var/log/messages`, `/var/log/syslog`, `/var/log/blobfuse*.log*`
9999

100100
### troubleshooting connection failure on agent node
101-
- blobfuse
101+
> You can verify if the mount will work on the agent node by running the following commands to check if the storage account name, key, and container name are correct. If any of these details are incorrect, the blobfuse mount will not be successful.
102+
>
103+
> You can find more detailed information about blobfuse environment variables at https://github.com/Azure/azure-storage-fuse#environment-variables.
102104
103-
To check if blobfuse mount would work on the agent node, run the following commands to verify that the storage account name, key, and container name are correct. If any of these are incorrect, the blobfuse mount will fail:
105+
- blobfuse mount with account key authentication
104106
```console
105107
mkdir test
106108
export AZURE_STORAGE_ACCOUNT=
@@ -109,7 +111,17 @@ export AZURE_STORAGE_ACCESS_KEY=
109111
# export AZURE_STORAGE_BLOB_ENDPOINT=accountname.blob.core.chinacloudapi.cn
110112
blobfuse2 test --container-name=CONTAINER-NAME --tmp-path=/tmp/blobfuse -o allow_other --file-cache-timeout-in-seconds=120
111113
```
112-
> You can find more detailed information about environment variables at https://github.com/Azure/azure-storage-fuse#environment-variables.
114+
115+
- blobfuse mount with managed identity authentication
116+
```console
117+
mkdir test
118+
export AZURE_STORAGE_ACCOUNT=
119+
export AZURE_STORAGE_AUTH_TYPE=MSI
120+
export AZURE_STORAGE_IDENTITY_CLIENT_ID=
121+
# only for sovereign cloud
122+
# export AZURE_STORAGE_BLOB_ENDPOINT=accountname.blob.core.chinacloudapi.cn
123+
blobfuse2 test --container-name=CONTAINER-NAME --tmp-path=/tmp/blobfuse -o allow_other --file-cache-timeout-in-seconds=120
124+
```
113125

114126
- NFSv3
115127

0 commit comments

Comments
 (0)