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
|
||||
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
|
||||
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
|
||||
```
|
||||
|
||||
|
@ -28,8 +28,8 @@ resources:
|
||||
cpus: {{ cpu_reservation }}
|
||||
memory: {{ memory_reservation }}
|
||||
limits:
|
||||
cpus: 6
|
||||
memory: 16G
|
||||
cpus: {{ cpu_limit }}
|
||||
memory: {{ memory_limit }}
|
||||
volumes:
|
||||
reservations:
|
||||
storage: 200G
|
||||
|
@ -3,4 +3,6 @@ BOND_ID: "{{ BOND_ID }}"
|
||||
authority_name: ""
|
||||
cpu_reservation: ""
|
||||
memory_reservation: ""
|
||||
cpu_limit: "6"
|
||||
memory_limit: "8G"
|
||||
deployer_gpg_passphrase: ""
|
||||
|
Loading…
Reference in New Issue
Block a user