metrics: Fix latency yamls path

This PR fixes the latency yamls path for the latency test for
kata metrics.

Fixes #8055

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-09-25 15:52:24 +00:00
parent 11cf0e2d28
commit 81c8babca9

View File

@ -30,7 +30,7 @@ function main() {
sleep_time=2 sleep_time=2
# Create server # Create server
kubectl create -f "${SCRIPT_PATH}/runtimeclass_workloads/latency-server.yaml" kubectl create -f "${SCRIPT_PATH}/latency-server.yaml"
# Get the names of the server pod # Get the names of the server pod
export server_pod_name="latency-server" export server_pod_name="latency-server"
@ -40,7 +40,7 @@ function main() {
waitForProcess "$wait_time" "$sleep_time" "$cmd" waitForProcess "$wait_time" "$sleep_time" "$cmd"
# Create client # Create client
kubectl create -f "${SCRIPT_PATH}/runtimeclass_workloads/latency-client.yaml" kubectl create -f "${SCRIPT_PATH}/latency-client.yaml"
# Get the names of the client pod # Get the names of the client pod
export client_pod_name="latency-client" export client_pod_name="latency-client"