-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define service resources from within services.{service}.resources val…
…ues (#474) This deprecates the use of resources.memory.{service}, except for job resources (e.g. app-init/app-migrate, which don't have a similar abstraction yet) Also the helm/_twig/values.yaml/resources.yml.twig is also deprecated, as unnecessary with serialisation of resources to yaml
- Loading branch information
1 parent
104d968
commit 704d912
Showing
26 changed files
with
371 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
cpu: | ||
requests: | ||
limits: | ||
memory: | ||
app_init: {{ @('resources.memory.app_init') }} | ||
app_migrate: {{ @('resources.memory.app_migrate') }} | ||
console: {{ @('resources.memory.console') }} | ||
cron: {{ @('resources.memory.cron') }} | ||
elasticsearch: {{ @('resources.memory.elasticsearch') }} | ||
mysql: {{ @('resources.memory.mysql') }} | ||
nginx: {{ @('resources.memory.nginx') }} | ||
php_fpm: {{ @('resources.memory.php_fpm') }} | ||
php_fpm_exporter: {{ @('resources.memory.php_fpm_exporter') }} | ||
postgres: {{ @('resources.memory.postgres') }} | ||
rabbitmq: {{ @('resources.memory.rabbitmq') }} | ||
redis: {{ @('resources.memory.redis') }} | ||
redis_session: {{ @('resources.memory.redis_session') }} | ||
tideways: "{{ @('resources.memory.tideways') }}" | ||
varnish: {{ @('resources.memory.varnish') }} | ||
{# this file is deprecated, and instead resources attribute is serialised into the values directly #} | ||
{# in the case of services, resource attribute is further deprecated and available continuing forward in services.*.resources #} | ||
{{ to_nice_yaml(@('resources'), 2, 2) | raw }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.