You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/applications/managing-resource-limits.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
## Managing Application Resource Limits
2
2
3
3
Deis Workflow supports restricting memory and CPU shares of each process. Requests/Limits set on a per-process type are given to
4
-
Kubernetes as a requests and limits. Which means you guarantee \<requests\> amount of resource for a process as well as limit
5
-
the process from using more than \<limits\>.
6
-
By default, Kubernetes will set \<requests\> equal to \<limit\> if we don't explicitly set \<requests\> value. Please keep in mind that `0 <= requests <= limits`.
4
+
Kubernetes as a requests and limits. Which means you guarantee <requests\> amount of resource for a process as well as limit
5
+
the process from using more than <limits\>.
6
+
By default, Kubernetes will set <requests\> equal to <limit\> if we don't explicitly set <requests\> value. Please keep in mind that `0 <= requests <= limits`.
7
7
8
8
## Limiting Memory
9
9
@@ -22,7 +22,7 @@ Available units for memory are:
22
22
!!! important
23
23
The minimum memory limit allowed is 4MiB.
24
24
25
-
Use `deis limits:set <type>=<value>` to restrict memory by process type, where value can be \<limit\> or \<request\>/\<limit\> format :
25
+
Use `deis limits:set <type>=<value>` to restrict memory by process type, where value can be <limit\> or <request\>/<limit\> format :
26
26
27
27
```
28
28
$ deis limits:set web=64M
@@ -65,8 +65,8 @@ Unlimited
65
65
66
66
## Limiting CPU
67
67
68
-
You can also use `deis limits:set <type>=<value> --cpu` to restrict CPU shares, where value can be \<limit\> or
69
-
\<request\>/\<limit\> format. CPU shares are tracked in milli-cores. One CPU core is equivalent to 1000 milli-cores.
68
+
You can also use `deis limits:set <type>=<value> --cpu` to restrict CPU shares, where value can be <limit\> or
69
+
<request\>/<limit\> format. CPU shares are tracked in milli-cores. One CPU core is equivalent to 1000 milli-cores.
70
70
To dedicate half a core to your process, you would need 500 milli-cores or 500m.
0 commit comments