-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
741f43d
commit ab3ba13
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
## CSI driver troubleshooting guide | ||
### Case#1: volume create/delete issue | ||
- locate csi driver pod | ||
```sh | ||
```console | ||
$ kubectl get po -o wide -n kube-system | grep csi-blobfuse-controller | ||
NAME READY STATUS RESTARTS AGE IP NODE | ||
csi-blobfuse-controller-56bfddd689-dh5tk 5/5 Running 0 35s 10.240.0.19 k8s-agentpool-22533604-0 | ||
csi-blobfuse-controller-56bfddd689-sl4ll 5/5 Running 0 35s 10.240.0.23 k8s-agentpool-22533604-1 | ||
``` | ||
- get csi driver logs | ||
```sh | ||
```console | ||
$ kubectl logs `kubectl get po -n kube-system | grep csi-blobfuse-controller | cut -d ' ' -f1` -c blobfuse -n kube-system > csi-blobfuse-controller.log | ||
``` | ||
> note: there could be multiple controller pods, if there are no helpful logs, try to get logs from other controller pods | ||
### Case#2: volume mount/unmount failed | ||
- locate csi driver pod and make sure which pod do tha actual volume mount/unmount | ||
``` | ||
```console | ||
$ kubectl get po -o wide -n kube-system | grep csi-blobfuse-node | ||
NAME READY STATUS RESTARTS AGE IP NODE | ||
csi-blobfuse-node-cvgbs 3/3 Running 0 7m4s 10.240.0.35 k8s-agentpool-22533604-1 | ||
csi-blobfuse-node-dr4s4 3/3 Running 0 7m4s 10.240.0.4 k8s-agentpool-22533604-0 | ||
``` | ||
|
||
- get csi driver logs | ||
```sh | ||
```console | ||
$ kubectl logs csi-blobfuse-node-cvgbs -c blobfuse -n kube-system > csi-blobfuse-node.log | ||
``` |