Node Host - Node Host - UG1656

Onload Operator for Kubernetes User Guide (UG1656)

Document ID
UG1656
Release Date
2024-04-26
Revision
1.0 English
# Set node name and OpenShift or Kubernetes (as implementations have incompatibilities)
debug_node="oc debug node/compute-0 -q"
#debug_node="kubectl debug node/compute-0 --image=busybox -q"

# Expect storage space available
$debug_node -- chroot /host df -h /opt

# Expect matching Onload version number
$debug_node ONLOAD_PRELOAD=/opt/onload/usr/lib64/libonload.so -- chroot /host /opt/onload/usr/bin/onload --version

# Expect both `sfc` and `onload` kernel modules loaded
$debug_node -- chroot /host lsmod | grep -e sfc -e onload

# Expect clean logs for both modules after boot time
$debug_node -- dmesg -xT | grep -ie sfc -e onload

$debug_node -- chroot /host /opt/onload/usr/bin/onload_stackdump lots # or `filters` or `filter_table`
$debug_node -- chroot /host /opt/onload/usr/bin/onload_mibdump llap