Skip to content

Commit

Permalink
Adding Virt for k8s-netperf
Browse files Browse the repository at this point in the history
Allow the user to set env var of "VIRT" to set VM network performance
test.

Signed-off-by: Joe Talerico aka rook <[email protected]>
  • Loading branch information
jtaleric committed Sep 16, 2024
1 parent e8a749c commit 0ec4b41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions workloads/network-perf-v2/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fi
export ALL_SCENARIOS=${ALL_SCENARIOS:-true}
export DEBUG=${DEBUG:-true}
export METRICS=${METRICS:-true}
export VM=${VIRT:-false}
export NETPERF_FILENAME=${NETPERF_FILENAME:-k8s-netperf}
export NETPERF_VERSION=${NETPERF_VERSION:-v0.1.25}
export OS=${OS:-Linux}
Expand Down
1 change: 1 addition & 0 deletions workloads/network-perf-v2/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ add_flag "prom" "${PROMETHEUS_URL}"
add_flag "search" "${ES_SERVER}"
add_flag "tcp-tolerance" "${TOLERANCE}"
add_flag "uuid" "${UUID}"
add_flag "vm" "${VM}"

# Execute the constructed command
eval "$cmd"
Expand Down

0 comments on commit 0ec4b41

Please sign in to comment.