From 9353c33abad9a486c67ea8bc82e06b37d3b36a92 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 19 Jan 2019 10:39:46 -0800 Subject: clean up. Removed scripts and some configs, they will be in their own repo. --- playgrounds/aurora/iperf.aurora | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 playgrounds/aurora/iperf.aurora (limited to 'playgrounds/aurora/iperf.aurora') diff --git a/playgrounds/aurora/iperf.aurora b/playgrounds/aurora/iperf.aurora deleted file mode 100644 index e071bd2..0000000 --- a/playgrounds/aurora/iperf.aurora +++ /dev/null @@ -1,37 +0,0 @@ -class StandardProfile(Struct): - environment=Default(String, 'prod') - tier=Default(String, 'preferred') - -DevelProfile = StandardProfile( - environment = 'devel', - tier = 'preemptible', -) - -api = Process( - name = 'iperf', - cmdline = '/usr/bin/iperf3 -s -p {{thermos.ports[http]}}' -) - -task = Task( - name = api.name(), - resources = Resources(cpu = 1.0, ram = 4 * GB, disk = 1 * GB), - processes = [api] -) - -service_template = Service( - role='fcuny', - name = 'iperf', - environment='{{profile.environment}}', - task = task, - instances = 3, - contact = 'fcuny@twitter.com', - announce=Announcer(), - tier ='{{profile.tier}}', - constraints={ - 'host': 'smf1-bgr-27-sr1', - } -) - -jobs = [ - service_template(cluster='smf1-test').bind(profile=DevelProfile()), -] -- cgit 1.4.1