Here are some useful basic commands to check the status and debug the service:
1 # get all resources 2 kubectl get all --all-namespaces 3 4 # get all pods 5 kubectl get pods --all-namespaces -o wide 6 7 # get all k8s nodes 8 kubectl get nodes 9 10 # get storage classes 11 $ kubectl get sc 12 13 # get persistent volume claims 14 $ kubectl get pvc 15 16 # get persistent volumes 17 $ kubectl get pv 18 19 # kubectl describe pod/<pod-name> -n <namespace> 20 kubectl describe pod/csi-wekafsplugin-dvdh2 -n csi-wekafsplugin 21 22 # get logs from a pod kubectl logs <pod name> 23 <container name> 24 25 # get logs from the weka csi plugin 26 # container (-c) can be one of: [node-driver-registrar wekafs liveness27 kubectl logs pods/csi-wekafsplugin-<ID> --namespace csi-wekafsplugin -c