Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PERFSCALE-3438] Introduce UDN Density L3 workload #57161

Merged
merged 25 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
37bd674
[PERFSCALE-3438] Introduce UDN Density L3 workload
krishvoor Sep 25, 2024
903389c
Minor nit
krishvoor Sep 26, 2024
1793986
minor nit
krishvoor Sep 26, 2024
ddf942c
Add 4.18 24 node job
krishvoor Sep 26, 2024
3308ec2
Adds make ci-operator-prowgen
krishvoor Sep 26, 2024
bf92848
Adds the buildcluster info
krishvoor Sep 26, 2024
083ddaa
Updates the worker instance type and disable infra node
krishvoor Sep 27, 2024
eb54264
Reverts the OPENSHIFT_INFRA_NODE_INSTANCE_TYPE for data-path jobs
krishvoor Sep 27, 2024
47c6a01
make updates
krishvoor Sep 27, 2024
4dec7b6
Merge branch 'openshift:master' into cp-udn-workload
krishvoor Sep 30, 2024
6772cc3
no need to move any components
krishvoor Sep 30, 2024
1e9b081
Bump benchmarking version
krishvoor Sep 30, 2024
f4a89c8
Testing
krishvoor Oct 1, 2024
012be51
Workaround Fix
krishvoor Oct 1, 2024
7b07dd3
Adds TechPreviewNoUpgrade
krishvoor Oct 1, 2024
838e435
Remove FeatureGate
krishvoor Oct 1, 2024
9824bb3
Set POD_READY_THRESHOLD:1400s
krishvoor Oct 2, 2024
9c12c7c
Merge branch 'openshift:master' into cp-udn-workload
krishvoor Oct 2, 2024
0bc4f3f
Adds documentation reference
krishvoor Oct 2, 2024
b7730bc
Minor nits
krishvoor Oct 3, 2024
dcaa8aa
Merge branch 'openshift:master' into cp-udn-workload
krishvoor Oct 8, 2024
5a4ac62
fixes makes build
krishvoor Oct 8, 2024
7c97b93
Merge branch 'openshift:master' into cp-udn-workload
krishvoor Oct 11, 2024
a0a3c23
Remove the Pull Job
krishvoor Oct 11, 2024
c9c8b2e
Minor Nits
krishvoor Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions ci-operator/step-registry/openshift-qe/udn-density-l3-pods/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
approvers:
- afcollins
- qiliredhat
- paigerube14
- mffiedler
- jtaleric
- svetsa-rh
reviewers:
- jogeo
- memodi
- mffiedler
- paigerube14
- rpattath
- skordas
- jtaleric
- svetsa-rh
- shahsahil264
- liqcui
- krishvoor
- afcollins
- rsevilla87
- vishnuchalla
- sachinninganure
- chaitanyaenr
- josecastillolema
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"path": "openshift-qe/udn-density-l3-pods/openshift-qe-udn-density-l3-pods-chain.yaml",
"owners": {
"approvers": [
"afcollins",
"qiliredhat",
"paigerube14",
"mffiedler",
"jtaleric",
"svetsa-rh"
],
"reviewers": [
"jogeo",
"memodi",
"mffiedler",
"paigerube14",
"rpattath",
"skordas",
"jtaleric",
"svetsa-rh",
"shahsahil264",
"liqcui",
"krishvoor",
"afcollins",
"rsevilla87",
"vishnuchalla",
"sachinninganure",
"chaitanyaenr",
"josecastillolema"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

chain:
as: openshift-qe-udn-density-l3-pods
steps:
- ref: openshift-qe-udn-density-l3-pods
documentation: |-
This workflow executes udn-density-l3-pods workload using kube-burner ocp wrapper
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
set -x
cat /etc/os-release
oc config view
oc projects
oc version
python --version
pushd /tmp
python -m virtualenv ./venv_qe
source ./venv_qe/bin/activate

ES_SECRETS_PATH=${ES_SECRETS_PATH:-/secret}

ES_HOST=${ES_HOST:-"search-ocp-qe-perf-scale-test-elk-hcm7wtsqpxy7xogbu72bor4uve.us-east-1.es.amazonaws.com"}
ES_PASSWORD=$(cat "${ES_SECRETS_PATH}/password")
ES_USERNAME=$(cat "${ES_SECRETS_PATH}/username")
if [ -e "${ES_SECRETS_PATH}/host" ]; then
ES_HOST=$(cat "${ES_SECRETS_PATH}/host")
fi

REPO_URL="https://github.com/cloud-bulldozer/e2e-benchmarking";
LATEST_TAG=$(curl -s "https://api.github.com/repos/cloud-bulldozer/e2e-benchmarking/releases/latest" | jq -r '.tag_name');
TAG_OPTION="--branch $(if [ "$E2E_VERSION" == "default" ]; then echo "$LATEST_TAG"; else echo "$E2E_VERSION"; fi)";
git clone $REPO_URL $TAG_OPTION --depth 1
pushd e2e-benchmarking/workloads/kube-burner-ocp-wrapper
export WORKLOAD=udn-density-l3-pods

current_worker_count=$(oc get nodes --no-headers -l node-role.kubernetes.io/worker=,node-role.kubernetes.io/infra!=,node-role.kubernetes.io/workload!= --output jsonpath="{.items[?(@.status.conditions[-1].type=='Ready')].status.conditions[-1].type}" | wc -w | xargs)

# The measurable run
iteration_multiplier=$(($ITERATION_MULTIPLIER_ENV))
export ITERATIONS=$(($iteration_multiplier*$current_worker_count))

export ES_SERVER="https://$ES_USERNAME:$ES_PASSWORD@$ES_HOST"

if [[ "${ENABLE_LOCAL_INDEX}" == "true" ]]; then
EXTRA_FLAGS+=" --local-indexing"
fi
EXTRA_FLAGS+=" --gc-metrics=true --pod-ready-threshold=$POD_READY_THRESHOLD --profile-type=${PROFILE_TYPE}"
export EXTRA_FLAGS

rm -f ${SHARED_DIR}/index.json
./run.sh

folder_name=$(ls -t -d /tmp/*/ | head -1)
jq ".iterations = $ITERATIONS" $folder_name/index_data.json >> ${SHARED_DIR}/index_data.json


if [[ "${ENABLE_LOCAL_INDEX}" == "true" ]]; then
metrics_folder_name=$(find . -maxdepth 1 -type d -name 'collected-metric*' | head -n 1)
cp -r "${metrics_folder_name}" "${ARTIFACT_DIR}/"
fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"path": "openshift-qe/udn-density-l3-pods/openshift-qe-udn-density-l3-pods-ref.yaml",
"owners": {
"approvers": [
"afcollins",
"qiliredhat",
"paigerube14",
"mffiedler",
"jtaleric",
"svetsa-rh"
],
"reviewers": [
"jogeo",
"memodi",
"mffiedler",
"paigerube14",
"rpattath",
"skordas",
"jtaleric",
"svetsa-rh",
"shahsahil264",
"liqcui",
"krishvoor",
"afcollins",
"rsevilla87",
"vishnuchalla",
"sachinninganure",
"chaitanyaenr",
"josecastillolema"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
ref:
as: openshift-qe-udn-density-l3-pods
from_image:
namespace: ci
name: ocp-qe-perfscale-ci
tag: latest
cli: latest
env:
- name: E2E_VERSION
default: "v2.2.5"
documentation: |-
Override the e2e version
- name: KUBE_BURNER_VERSION
default: "default"
documentation: |-
Override the kube burner version
- name: ITERATION_MULTIPLIER_ENV
default: "9"
documentation: |-
The number of iterations per worker nodes to create
- name: CHURN
default: "false"
documentation: |-
Default is false for udn-density-l3-pods workload
- name: POD_READY_THRESHOLD
default: "1400s"
documentation: |-
Defines the maximum threshold for Pod Ready
- name: EXTRA_FLAGS
default: ""
documentation: |-
Default EXTRA_FLAGS for udn-density-l3-pods workload is disabled
- name: PROFILE_TYPE
default: "both"
documentation: |-
Kube-burner indexing profile type
- name: GC
default: "true"
documentation: |-
Default is true, which means clean up the pod/resource that kube-burner ocp created, you can set it to false to keep the resource
- name: ENABLE_LOCAL_INDEX
default: "false"
documentation: |-
Trigger to enable local indexing
- name: ES_SECRETS_PATH
default: ""
documentation: |-
Override elasticsearch secrets path.
commands: openshift-qe-udn-density-l3-pods-commands.sh
timeout: 6h
credentials:
- namespace: test-credentials # this entry injects the custom credential
name: ocp-qe-perfscale-es
mount_path: /secret
- namespace: test-credentials
name: stackrox-perfscale-elasticsearch
mount_path: /secret_stackrox
- namespace: test-credentials
name: ocp-perfscale-horreum-poc
mount_path: /horreum-secret
resources:
requests:
cpu: 100m
memory: 100Mi
documentation: >-
This step runs the perfscale udn-density-l3-pods workload in the deployed cluster
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"path": "openshift-qe/udn-density-l3-pods/openshift-qe-udn-density-l3-pods-workflow.yaml",
"owners": {
"approvers": [
"afcollins",
"qiliredhat",
"paigerube14",
"mffiedler",
"jtaleric",
"svetsa-rh"
],
"reviewers": [
"jogeo",
"memodi",
"mffiedler",
"paigerube14",
"rpattath",
"skordas",
"jtaleric",
"svetsa-rh",
"shahsahil264",
"liqcui",
"krishvoor",
"afcollins",
"rsevilla87",
"vishnuchalla",
"sachinninganure",
"chaitanyaenr",
"josecastillolema"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

workflow:
as: openshift-qe-udn-density-l3-pods
steps:
test:
- chain: openshift-qe-udn-density-l3-pods
documentation: |-
This workflow executes udn-density-l3-pods workload.