Skip to content

Commit

Permalink
Do not add custom label for hog scenarios
Browse files Browse the repository at this point in the history
Custom label is no longer needed with https://github.com/redhat-chaos/krkn-hub/pull/130
  • Loading branch information
chaitanyaenr committed Aug 24, 2023
1 parent 461f952 commit 79c9019
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions prow/cpu-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ oc config view
echo "Printing node info"
for node in $(oc get nodes | awk 'NR!=1{print $1}'); do oc get node/$node -o yaml; done

# Label the nodes to target
for node in $(oc get nodes --selector="node-role.kubernetes.io/worker=" | awk ' NR>1 {print $1}'); do oc label node/$node chaos-hog=true; done

# Copy config to kraken
cp node-cpu-hog/input.yaml.template $SCENARIO_FOLDER/input.yaml.template

Expand Down
3 changes: 0 additions & 3 deletions prow/memory-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ oc config view
echo "Printing node info"
for node in $(oc get nodes | awk 'NR!=1{print $1}'); do oc get node/$node -o yaml; done

# Label the nodes to target
for node in $(oc get nodes --selector="node-role.kubernetes.io/worker=" | awk ' NR>1 {print $1}'); do oc label node/$node chaos-hog=true; done

# Copy config to kraken
cp node-memory-hog/input.yaml.template $SCENARIO_FOLDER/input.yaml.template

Expand Down

0 comments on commit 79c9019

Please sign in to comment.