Part of NVIDIA/cloud-native-team#299.
Once the operand images (mig-parted, nvidia-container-toolkit,
k8s-driver-manager, k8s-device-plugin) drop their /bin/sh busybox
symlink, the remaining sh -c wrappers in gpu-operator's operand
asset DaemonSets will break. These need to be converted to direct
binary invocations or to rmglob-style static helpers (modeled on
the rmglob introduced in PR #2434).
Scope (assets/state-*/):
state-driver/0500_daemonset.yaml — nvidia-driver probe_nvidia_peermem, lsmod | grep nvidia_fs, lsmod | grep gdrdrv, rm -f /run/.../driver-ctr-ready preStop
state-vfio-manager/0500_daemonset.yaml — vfio-manage bind --all && while true; do sleep …
state-mig-manager/0600_daemonset.yaml
state-vgpu-manager/0500_daemonset.yaml
state-vgpu-device-manager/0600_daemonset.yaml
state-sandbox-device-plugin/0500_daemonset.yaml
state-cc-manager/0500_daemonset.yaml
state-dcgm/0400_dcgm.yml
state-dcgm-exporter/0800_daemonset.yaml
state-mps-control-daemon/0400_daemonset.yaml
state-container-toolkit/0500_daemonset.yaml
state-device-plugin/0500_daemonset.yaml
gpu-feature-discovery/0500_daemonset.yaml
Acceptance:
Part of NVIDIA/cloud-native-team#299.
Once the operand images (mig-parted, nvidia-container-toolkit,
k8s-driver-manager, k8s-device-plugin) drop their
/bin/shbusyboxsymlink, the remaining
sh -cwrappers in gpu-operator's operandasset DaemonSets will break. These need to be converted to direct
binary invocations or to
rmglob-style static helpers (modeled onthe
rmglobintroduced in PR #2434).Scope (
assets/state-*/):state-driver/0500_daemonset.yaml—nvidia-driver probe_nvidia_peermem,lsmod | grep nvidia_fs,lsmod | grep gdrdrv,rm -f /run/.../driver-ctr-readypreStopstate-vfio-manager/0500_daemonset.yaml—vfio-manage bind --all && while true; do sleep …state-mig-manager/0600_daemonset.yamlstate-vgpu-manager/0500_daemonset.yamlstate-vgpu-device-manager/0600_daemonset.yamlstate-sandbox-device-plugin/0500_daemonset.yamlstate-cc-manager/0500_daemonset.yamlstate-dcgm/0400_dcgm.ymlstate-dcgm-exporter/0800_daemonset.yamlstate-mps-control-daemon/0400_daemonset.yamlstate-container-toolkit/0500_daemonset.yamlstate-device-plugin/0500_daemonset.yamlgpu-feature-discovery/0500_daemonset.yamlAcceptance:
sh -clsmod | grep <module>checks replaced by Go-based modulechecks or sentinel-file-based readiness
rm -fcalls replaced withrmglobor equivalentstatic binary