From ad804f6d3f28a6df9d30641e7ff5049c6aaf2ffa Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 13 May 2019 17:32:10 -0400 Subject: [PATCH] docs: remove outdated global resource setting This was removed in c9bbddcfcbbcad64dd9453afec77ba614598fc67 as it was more complicated for operators to figure out _exactly_ which combination of limits/reservations would apply to their applications. Unfortunately, the documentation was never updated. We may re-add this functionality in the future, but for now, cleaning up the docs is the best option. [ci skip] --- docs/advanced-usage/resource-management.md | 116 --------------------- 1 file changed, 116 deletions(-) diff --git a/docs/advanced-usage/resource-management.md b/docs/advanced-usage/resource-management.md index 02227dd88..5e8916a21 100644 --- a/docs/advanced-usage/resource-management.md +++ b/docs/advanced-usage/resource-management.md @@ -83,64 +83,6 @@ dokku resource:limits node-js-app network-egress: ``` -#### Global Resource Limits - -By default, Dokku does not limit any resources, though these can be specified at the server level via the `--global` flag on the `resource:limit` command. - -```shell -dokku resource:limit --global --memory 200 -``` - -``` -=====> Setting default resource limits - memory: 200 -``` - -This may also be combined with the `--process-type` flag to set global limits on a process-type level: - -```shell -dokku resource:limit --global --memory 150 --process-type web node-js-app -``` - -``` -=====> Setting default resource limits (web) - memory: 150 -``` - -#### Displaying Global Resource Limits - -Running the `resource:limit` command with only the `--global` flag will display the currently configured default limits. - -```shell -dokku resource:limit --global -``` - -``` -=====> resource limits default information - cpu: - memory: 200 - memory-swap: - network: - network-ingress: - network-egress: -``` - -This may also be combined with the `--process-type` flag to see global limits on a process-type level: - -```shell -dokku resource:limit --global --process-type web -``` - -``` -=====> resource limits default information (web) - cpu: - memory-swap: - memory: 150 - network-egress: - network-ingress: - network: -``` - #### Clearing Resource Limits In cases where the values are incorrect - or there is no desire to limit resources - resource limits may be cleared using the `resource:limit-clear` command. @@ -217,64 +159,6 @@ dokku resource:reserve node-js-app network-egress: ``` -#### Global Resource Reservations - -By default, Dokku does not reserve any resources, though these can be specified at the server level via the `--global` flag on the `resource:reserve` command. - -```shell -dokku resource:reserve --global --memory 200 -``` - -``` -=====> Setting default resource reservation - memory: 200 -``` - -This may also be combined with the `--process-type` flag to set global reservations on a process-type level: - -```shell -dokku resource:reserve --global --memory 150 --process-type web node-js-app -``` - -``` -=====> Setting default resource reservation (web) - memory: 150 -``` - -#### Displaying Global Resource Reservations - -Running the `resource:reserve` command with only the `--global` flag will display the currently configured default reservation. - -```shell -dokku resource:reserve --global -``` - -``` -=====> resource reservation default information - cpu: - memory: 200 - memory-swap: - network: - network-ingress: - network-egress: -``` - -This may also be combined with the `--process-type` flag to see global reservations on a process-type level: - -```shell -dokku resource:reserve --global --process-type web -``` - -``` -=====> resource reservation default information (web) - cpu: - memory-swap: - memory: 150 - network-egress: - network-ingress: - network: -``` - #### Clearing Resource Reservations In cases where the values are incorrect - or there is no desire to reserve resources - resource reservations may be cleared using the `resource:reserve-clear` command.