diff options
author | Clement Delafargue <clement.delafargue@fretlink.com> | 2020-06-19 15:39:22 +0200 |
---|---|---|
committer | Clement Delafargue <clement.delafargue@fretlink.com> | 2020-06-22 14:41:16 +0200 |
commit | 96f02eb1f426c16c631598c80bec4bc0e60f75c1 (patch) | |
tree | 36a0cf97bdfea091f673537eef7c5465c97a657c /README.md | |
parent | f39118d499132f017d7f2ec0944bf673b6deb7e9 (diff) | |
download | ansible-clever-96f02eb1f426c16c631598c80bec4bc0e60f75c1.tar.gz ansible-clever-96f02eb1f426c16c631598c80bec4bc0e60f75c1.tar.zst ansible-clever-96f02eb1f426c16c631598c80bec4bc0e60f75c1.zip |
Add support for scalability configuration
Closes #52
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -36,6 +36,7 @@ Variables for the application | |||
36 | - `clever_disable_metrics`: a boolean to disable metrics support. Optional, default to `false`. | 36 | - `clever_disable_metrics`: a boolean to disable metrics support. Optional, default to `false`. |
37 | - `clever_env_output_file`: as a post deploy task you might need to retrieve the full Clever environment configuration (i.e. with addon env variables). If this variable is set to a filename then the env will be retrieved after a successful deploy inside this file. Optional. | 37 | - `clever_env_output_file`: as a post deploy task you might need to retrieve the full Clever environment configuration (i.e. with addon env variables). If this variable is set to a filename then the env will be retrieved after a successful deploy inside this file. Optional. |
38 | - `clever_build_flavor`: an optional text value used to configure the size of the dedicated build instance (for instance `S` or `XL`). If not defined, it delegates to clever cloud default behaviour. Setting `disabled` disables the dedicated build instance altogether. | 38 | - `clever_build_flavor`: an optional text value used to configure the size of the dedicated build instance (for instance `S` or `XL`). If not defined, it delegates to clever cloud default behaviour. Setting `disabled` disables the dedicated build instance altogether. |
39 | - `clever_scaling`: an optional object used to configure the runtime instances flavours and numbers. If not defined, it delegates to clever cloud default behaviour. | ||
39 | 40 | ||
40 | Variables specific to deployment, default should be fine: | 41 | Variables specific to deployment, default should be fine: |
41 | - `clever_cli_version`: Version of clever cli tools, default to `2.6.1`. | 42 | - `clever_cli_version`: Version of clever cli tools, default to `2.6.1`. |
@@ -44,6 +45,20 @@ Variables specific to deployment, default should be fine: | |||
44 | - `clever_app_confdir`: Path where to store clever cloud data specific to this application, default to `"{{ clever_app_root }}/.clever_cloud"` | 45 | - `clever_app_confdir`: Path where to store clever cloud data specific to this application, default to `"{{ clever_app_root }}/.clever_cloud"` |
45 | - `clever_login_file`: Path to store login information. Default to `"{{ clever_app_confdir }}/login"`. | 46 | - `clever_login_file`: Path to store login information. Default to `"{{ clever_app_confdir }}/login"`. |
46 | 47 | ||
48 | Scaling configuration | ||
49 | --------------------- | ||
50 | |||
51 | ```yaml | ||
52 | clever_scaling: | ||
53 | # instances and flavors are optional and can be configured as | ||
54 | # either a fixed value (with `fixed`) or a range # (with `min` and `max`) | ||
55 | flavors: | ||
56 | fixed: XS | ||
57 | instances: | ||
58 | min: 2 | ||
59 | max: 5 | ||
60 | ``` | ||
61 | |||
47 | 62 | ||
48 | Dependencies | 63 | Dependencies |
49 | ------------ | 64 | ------------ |