Gradiant / ettus-device-plugin

Kubernetes device plugin to manage Ettus USRPs as Node Resources.
Apache License 2.0
3 stars 2 forks source link

'--overrides' instead of '--limits' #3

Closed KayFaessler closed 1 year ago

KayFaessler commented 1 year ago

Since '--limits' doesn't work anymore one should use '--overrides'. So in order to test a pod with the daemonset, the following command should be used:

kubectl run test-usrp -ti --rm --privileged --image openverso/ettus-uhd --override-type=strategic --overrides='{"spec":{"containers":[{"name":"test-usrp","resources":{"limits":{"ettus.com/usrp":"1"}}}]}}' -- benchmark_rate --rx_rate 10e6 --tx_rate 10e6

cgiraldo commented 1 year ago

README.md updated.

Thanks for your apport!