Accelerated Pods - Accelerated Pods - UG1656

Onload Operator for Kubernetes User Guide (UG1656)

Document ID
UG1656
Release Date
2024-04-26
Revision
1.0 English
pod=onload-sfnettest-client

# Expect `amd.com/onload`
kubectl get pod $pod -o jsonpath='{..resources.limits}'

# Expect path to `libonload.so` unless `setPreload` in Onload CR is disabled
kubectl exec $pod -- sh -c 'echo $LD_PRELOAD'

# Expect `onload` binary and/or `libonload.so` libraries. Adjust if different mount paths set in Onload CR
kubectl exec onload-sfnettest-client -- ls -R /opt/onload

# Expect Onload version
kubectl exec onload-sfnettest-client -- /opt/onload/usr/lib64/libonload.so

# Expect a net1 interface for Multus networks
kubectl get events --field-selector reason=AddedInterface

# Expect `NetworkAttachmentDefinition` referencing accelerable hardware
nad=ipvlan-bond0
kubectl get net-attach-def $nad -o yaml

Further details on individuals applications are available from Onload tools on the node host.