Add variables for cpu and memory limit
This commit is contained in:
parent
5eea5feb35
commit
1121234baf
@ -117,6 +117,8 @@ To get started, follow the [installation](../README.md#installation) guide to se
|
|||||||
authority_name: "" # eg: my-org-name
|
authority_name: "" # eg: my-org-name
|
||||||
cpu_reservation: "" # Minimum number of cpu cores to be used, eg: 2
|
cpu_reservation: "" # Minimum number of cpu cores to be used, eg: 2
|
||||||
memory_reservation: "" # Minimum amount of memory in GB to be used, eg: 4G
|
memory_reservation: "" # Minimum amount of memory in GB to be used, eg: 4G
|
||||||
|
cpu_limit: "" # Maximum number of cpu cores to be used, eg: 6
|
||||||
|
memory_limit: "" # Maximum amount of memory in GB to be used, eg: 8G
|
||||||
deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET
|
deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@ resources:
|
|||||||
cpus: {{ cpu_reservation }}
|
cpus: {{ cpu_reservation }}
|
||||||
memory: {{ memory_reservation }}
|
memory: {{ memory_reservation }}
|
||||||
limits:
|
limits:
|
||||||
cpus: 6
|
cpus: {{ cpu_limit }}
|
||||||
memory: 16G
|
memory: {{ memory_limit }}
|
||||||
volumes:
|
volumes:
|
||||||
reservations:
|
reservations:
|
||||||
storage: 200G
|
storage: 200G
|
||||||
|
@ -3,4 +3,6 @@ BOND_ID: "{{ BOND_ID }}"
|
|||||||
authority_name: ""
|
authority_name: ""
|
||||||
cpu_reservation: ""
|
cpu_reservation: ""
|
||||||
memory_reservation: ""
|
memory_reservation: ""
|
||||||
|
cpu_limit: "6"
|
||||||
|
memory_limit: "8G"
|
||||||
deployer_gpg_passphrase: ""
|
deployer_gpg_passphrase: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user