metrics: Add sysbench pod yaml

This PR adds the sysbench pod yaml for the sysbench performance test.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-07-28 20:00:12 +00:00
parent ad413d1646
commit 5a1b5d3672
2 changed files with 19 additions and 3 deletions

View File

@ -8,9 +8,7 @@ set -o errexit
set -o nounset
set -o pipefail
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
source "${SCRIPT_PATH}/../../.ci/lib.sh"
SCRIPT_PATH=$(dirname "$(readlink -f "$0")"
source "${SCRIPT_PATH}/../lib/common.bash"
sysbench_file=$(mktemp sysbenchresults.XXXXXXXXXX)
TEST_NAME="${TEST_NAME:-sysbench}"

View File

@ -0,0 +1,18 @@
#
# Copyright (c) 2018-2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
apiVersion: v1
kind: Pod
metadata:
name: test-sysbench
spec:
terminationGracePeriodSeconds: 0
runtimeClassName: kata
containers:
- name: test-sysbench
image: localhost:5000/sysbench-kata:latest
command:
- sleep
- "60"