Skip to content

Commit

Permalink
Add -deployment to prefix for post experiment analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
praith-dsg committed Jul 7, 2022
1 parent 931d99e commit afa2694
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galileoexperiments/experiment/scenario/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def spawn_pods_for_config(workload_config: ScenarioWorkloadConfiguration) -> Lis
zone_label: workload_config.zone_mapping[host]
}
profiling_app = workload_config.profiling_apps[image]
names = spawn_pods(image, name, host, labels, no_pods, profiling_app.pod_factory)
pod_name_prefix = f'{name}-deployment'
names = spawn_pods(image, pod_name_prefix, host, labels, no_pods, profiling_app.pod_factory)
pod_names.extend(names)
# TODO remove sleep and implement approach to continuously poll for pods till their IP is available
time.sleep(5)
Expand Down

0 comments on commit afa2694

Please sign in to comment.