File tree Expand file tree Collapse file tree 3 files changed +52
-48
lines changed Expand file tree Collapse file tree 3 files changed +52
-48
lines changed Original file line number Diff line number Diff line change 1010config.yml
1111tests /.coverage
1212tests /coverage.xml
13+ ! /docker /*
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN pip install -e .
88WORKDIR /app
99
1010RUN rm -rf /build
11- COPY docker/config.yml .
11+ COPY ./ docker/config.yml .
1212
1313USER 1000
1414
Original file line number Diff line number Diff line change 22# NOTE: the name is used to prefix and identify resources by a tag.
33# If changed, existing resources become unmanaged and must be deleted manually.
44name : app
5- enabled : true
5+ enabled : false
66dry_run : false
7- min : 2
8- max : 5
7+ min : 1
8+ max : 2
99max_step_down : 1
1010scale_down_selection : oldest
1111cooldown_timeout : 60
1212
1313policies :
14+ []
15+
1416 # # Query a web endpoint.
1517 # # A JSON return o {"metric": <int>} is expected in this case
16- - name : my check over web
17- target : 5
18- source : web
19- query : http://localhost:8000/target.json
20- config :
21- headers :
22- Authorization : Bearer xyz
23- key : metric
18+ # - name: my check over web
19+ # target: 5
20+ # source: web
21+ # query: http://localhost:8000/target.json
22+ # config:
23+ # headers:
24+ # Authorization: Bearer xyz
25+ # key: metric
2426
25- - name : random one to ten
26- target : 5
27- source : random
28- config :
29- start : 1
30- stop : 10
27+ # - name: random one to ten
28+ # target: 5
29+ # source: random
30+ # config:
31+ # start: 1
32+ # stop: 10
3133
32- - name : Scaling up at 7 a.m. by factor 3
33- source : time
34- target : 3
35- config :
36- start_time : " 06:58"
37- end_time : " 07:00"
38- metric : 1
34+ # - name: Scaling up at 7 a.m. by factor 3
35+ # source: time
36+ # target: 3
37+ # config:
38+ # start_time: "06:58"
39+ # end_time: "07:00"
40+ # metric: 1
3941
40- - name : Scaling down during night by factor 0.1
41- source : time
42- target : 1
43- config :
44- start_time : " 22:00"
45- end_time : " 06:59"
46- metric : 10
42+ # - name: Scaling down during night by factor 0.1
43+ # source: time
44+ # target: 1
45+ # config:
46+ # start_time: "22:00"
47+ # end_time: "06:59"
48+ # metric: 10
4749
4850cloud :
51+ {}
4952 # ## Cloudscale.ch
50- kind : cloudscale_ch
51- launch_config :
52- flavor : flex-2
53- image : debian-10
54- zone : lpg1
55- tags :
56- project : gemini
57- ssh_keys :
58- - ssh-ed25519 AAAAC3N
59- user_data : |
60- #cloud-config
61- manage_etc_hosts: true
62- package_update: true
63- package_upgrade: true
64- packages:
65- - nginx
53+ # kind: cloudscale_ch
54+ # launch_config:
55+ # flavor: flex-2
56+ # image: debian-10
57+ # zone: lpg1
58+ # tags:
59+ # project: gemini
60+ # ssh_keys:
61+ # - ssh-ed25519 AAAAC3N
62+ # user_data: |
63+ # #cloud-config
64+ # manage_etc_hosts: true
65+ # package_update: true
66+ # package_upgrade: true
67+ # packages:
68+ # - nginx
6669
6770 # ## Exoscale
6871 # kind: exoscale
You can’t perform that action at this time.
0 commit comments