spigo
spigo copied to clipboard
Given `-c` flag spigo never exists
Without -c
:
$ ./spigo -a lamp
2018/12/03 19:57:37 Loading architecture from json_arch/lamp_arch.json
2018/12/03 19:57:37 Architecture: lamp Simple LAMP stack
2018/12/03 19:57:37 architecture: scaling to 100%
2018/12/03 19:57:37 Starting: {rds-mysql store 1 2 []}
2018/12/03 19:57:37 lamp.us-east-1.zoneA..eureka00...eureka.eureka: starting
2018/12/03 19:57:37 lamp.us-east-1.zoneC..eureka02...eureka.eureka: starting
2018/12/03 19:57:37 lamp.us-east-1.zoneB..eureka01...eureka.eureka: starting
2018/12/03 19:57:37 Starting: {memcache store 1 1 []}
2018/12/03 19:57:37 Starting: {webserver monolith 1 18 [memcache rds-mysql]}
2018/12/03 19:57:37 Starting: {webserver-elb elb 1 0 [webserver]}
2018/12/03 19:57:37 Starting: {www denominator 0 0 [webserver-elb]}
2018/12/03 19:57:37 lamp.*.*..www00...www.denominator activity rate 10ms
2018/12/03 19:57:47 asgard: Shutdown
2018/12/03 19:57:47 lamp.us-east-1.zoneC..eureka02...eureka.eureka: closing
2018/12/03 19:57:47 lamp.us-east-1.zoneB..eureka01...eureka.eureka: closing
2018/12/03 19:57:47 lamp.us-east-1.zoneA..eureka00...eureka.eureka: closing
2018/12/03 19:57:47 spigo: complete
With -c
:
$ ./spigo -c -a lamp
2018/12/03 19:55:27 Loading architecture from json_arch/lamp_arch.json
2018/12/03 19:55:27 HTTP metrics now available at localhost:8123/debug/vars
2018/12/03 19:55:27 Architecture: lamp Simple LAMP stack
2018/12/03 19:55:27 architecture: scaling to 100%
2018/12/03 19:55:27 Starting: {rds-mysql store 1 2 []}
2018/12/03 19:55:27 lamp.us-east-1.zoneA..eureka00...eureka.eureka: starting
2018/12/03 19:55:27 lamp.us-east-1.zoneB..eureka01...eureka.eureka: starting
2018/12/03 19:55:27 lamp.us-east-1.zoneC..eureka02...eureka.eureka: starting
2018/12/03 19:55:27 Starting: {memcache store 1 1 []}
2018/12/03 19:55:27 Starting: {webserver monolith 1 18 [memcache rds-mysql]}
2018/12/03 19:55:27 Starting: {webserver-elb elb 1 0 [webserver]}
2018/12/03 19:55:27 Starting: {www denominator 0 0 [webserver-elb]}
2018/12/03 19:55:27 lamp.*.*..www00...www.denominator activity rate 10ms
2018/12/03 19:55:37 asgard: Shutdown
^C
With -c
it hangs forever.