Please refer to the following commands to perform a health check or investigation into the Rok Disk Manager (RDM).
1. Check the status of the RDM DaemonSet:
$ kubectl get daemonset -n rok-system rok-disk-manager -o wide
2. Check the status of the RDM Pods:
$ kubectl get pods -n rok-system -l name=rok-disk-manager -o wide
3. Inspect the events on the RDM DaemonSet:
$ kubectl describe daemonset -n rok-system rok-disk-manager
4. Inspect the events of a specific RDM Pod:
$ kubectl describe pod -n rok-system rok-disk-manager-XYZ
5. Inspect the logs of a specific RDM Pod:
$ kubectl logs -n rok-system rok-disk-manager-XYZ -f
After successful deployment, and under normal operation, every RDM Pod should emit log messages similar to the following ones:
2022-03-09T16:03:27.937936+0000 rok-disk-manager pid=9/tid=9/pytid=140245501699520
disk_setup:136 [INFO] Disk setup completed successfully
2022-03-09T16:03:27.938113+0000 rok-disk-manager pid=9/tid=9/pytid=140245501699520
disk_setup:342 [INFO] Sleeping for 60 before re-running disk setup
Comments
0 comments
Article is closed for comments.