intel-device-plugins-for-ku.../demo/dlb-libdlb-demo-vf-pod.yaml
Ed Bartosh 6f93d42ee1 e2e-dlb: run only one command to test VF setup
Run only one test command for VF setup as the second one
usually fails with Error: DLB2_ST_DOMAIN_RESET_FAILED.

This issue has been reported to DLB developers.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-06-17 14:22:40 +03:00

17 lines
430 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: dlb-libdlb-demo-vf-pod
spec:
restartPolicy: Never
containers:
- name: dlb-libdlb-demo-vf-pod
image: intel/dlb-libdlb-demo:devel
command: [ "sh", "-c", "/usr/local/bin/dir_traffic -n 8 -w epoll -d $(ls /dev/dlb* | sed 's/\\/dev\\/dlb//')" ]
imagePullPolicy: IfNotPresent
resources:
limits:
dlb.intel.com/vf: 1
cpu: "500m"
memory: 200Mi