Skip to content

Commit

Permalink
Merge pull request #901 from chandrams/perf_profile
Browse files Browse the repository at this point in the history
Removed creating performance profile after kruize restart
  • Loading branch information
dinogun authored Aug 16, 2023
2 parents 18ca637 + a58ea9f commit b20295e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ def main(argv):
print("Restarting kruize failed!")
failed = 1
sys.exit(failed)
else:
# Create the performance profile as Kruize is restarted
perf_profile_json_file = "../json_files/resource_optimization_openshift.json"
create_performance_profile(perf_profile_json_file)

# Fetch listExperiments
list_exp_json_file_after = list_exp_json_dir + "/list_exp_json_after_" + str(i) + ".json"
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/remote_monitoring_tests/helpers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def compare_json_files(json_file1, json_file2):
return False

def get_kruize_pod(namespace):
command = f"kubectl get pod -n {namespace} | grep kruize | cut -d ' ' -f1"
command = f"kubectl get pod -n {namespace} | grep kruize | grep -v kruize-ui | cut -d ' ' -f1"
# Execute the command and capture the output
output = subprocess.check_output(command, shell=True)

Expand Down

0 comments on commit b20295e

Please sign in to comment.