Please refer to the following commands to perform a health check or investigation into Rok kmod ("Kernel Module").
1.Check the status of the Rok kmod DaemonSet:
$ kubectl get daemonset -n rok-system rok-disk-manager -o wide
Inspect the events on the Rok kmod DaemonSet:
$ kubectl describe daemonset -n rok-system rok-kmod
Check the status of the Rok kmod Pods:
$ kubectl get pods -n rok-system -l app=rok-kmod -o wide
Inspect the events and logs of a specific Rok kmod Pod:
$ kubectl describe pod -n rok-system rok-kmod-XYZ
$ kubectl logs -n rok-system rok-kmod-XYZ -f
After successful deployment, and under normal operation, every RDM Pod should emit log messages similar to the following ones after deployment:
2022-03-09T13:21:53.517563+0000 rok-kmod pid=9/tid=9/pytid=140015886546688 base:246
[INFO] Successfully prepared kernel modules
2022-03-09T13:21:53.517563+0000 rok-kmod pid=9/tid=9/pytid=140015886546688 base:246
[INFO] Successfully installed modules
After successful deployment, and under normal operation, every RDM Pod should emit log messages similar to the following ones after restart:
2022-03-09T13:21:53.517563+0000 rok-kmod pid=9/tid=9/pytid=140015886546688 base:246
[INFO] Successfully prepared kernel modules
2022-03-09T13:21:53.517938+0000 rok-kmod pid=9/tid=9/pytid=140015886546688 cli:193
[WARNING] No kernel modules to install
Comments
0 comments
Article is closed for comments.