diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-01-19 10:39:46 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-01-19 10:39:46 -0800 |
commit | 9353c33abad9a486c67ea8bc82e06b37d3b36a92 (patch) | |
tree | b27ff6c5259e7cd983b55153d1fe1438cc75cd6b /playgrounds/aurora/iperf.aurora | |
parent | [bash] go back to simple prompt. (diff) | |
download | emacs.d-9353c33abad9a486c67ea8bc82e06b37d3b36a92.tar.gz |
clean up.
Removed scripts and some configs, they will be in their own repo.
Diffstat (limited to '')
-rw-r--r-- | playgrounds/aurora/iperf.aurora | 37 |
1 files changed, 0 insertions, 37 deletions
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()), -] |