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 13, 2022
1 parent afa2694 commit 5511898
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galileoexperiments/experiment/profiling/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def _run_profiling_experiment(config: ProfilingExperimentConfiguration):
params = config.exp_run_config.metadata
image = config.app_workload_config.app_container_image
name = config.app_name
pod_prefix = f'{name}-deployment'
host = config.host
no_pods = config.no_pods
n_clients = config.n_clients
Expand All @@ -175,7 +176,7 @@ def _run_profiling_experiment(config: ProfilingExperimentConfiguration):
zone_label: config.zone
}

pod_names = spawn_pods(image, name, host, labels, no_pods, config.app_workload_config.pod_factory)
pod_names = spawn_pods(image, pod_prefix, host, labels, no_pods, config.app_workload_config.pod_factory)
logger.info('Sleep for 5 seconds, to wait that pods are placed')
time.sleep(5)
pods = get_pods(pod_names)
Expand Down

0 comments on commit 5511898

Please sign in to comment.