From 88b8a8fd36e65fcb12a4c4c01c5801cebc2cb9d9 Mon Sep 17 00:00:00 2001 From: Jetsada Machom Date: Fri, 25 Nov 2016 02:56:02 +0700 Subject: [PATCH] fix(docs): fix resource limit display issue --- src/applications/managing-resource-limits.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/applications/managing-resource-limits.md b/src/applications/managing-resource-limits.md index ce25b279..19410a45 100644 --- a/src/applications/managing-resource-limits.md +++ b/src/applications/managing-resource-limits.md @@ -1,9 +1,9 @@ ## Managing Application Resource Limits Deis Workflow supports restricting memory and CPU shares of each process. Requests/Limits set on a per-process type are given to -Kubernetes as a requests and limits. Which means you guarantee \ amount of resource for a process as well as limit -the process from using more than \. -By default, Kubernetes will set \ equal to \ if we don't explicitly set \ value. Please keep in mind that `0 <= requests <= limits`. +Kubernetes as a requests and limits. Which means you guarantee amount of resource for a process as well as limit +the process from using more than . +By default, Kubernetes will set equal to if we don't explicitly set value. Please keep in mind that `0 <= requests <= limits`. ## Limiting Memory @@ -22,7 +22,7 @@ Available units for memory are: !!! important The minimum memory limit allowed is 4MiB. -Use `deis limits:set =` to restrict memory by process type, where value can be \ or \/\ format : +Use `deis limits:set =` to restrict memory by process type, where value can be or / format : ``` $ deis limits:set web=64M @@ -65,8 +65,8 @@ Unlimited ## Limiting CPU -You can also use `deis limits:set = --cpu` to restrict CPU shares, where value can be \ or -\/\ format. CPU shares are tracked in milli-cores. One CPU core is equivalent to 1000 milli-cores. +You can also use `deis limits:set = --cpu` to restrict CPU shares, where value can be or +/ format. CPU shares are tracked in milli-cores. One CPU core is equivalent to 1000 milli-cores. To dedicate half a core to your process, you would need 500 milli-cores or 500m. | Unit | Amount |