Skip to content

Commit a0ee3bd

Browse files
author
Matthew Fisher
committed
docs(client): add more clarity to limit:set
1 parent 4003921 commit a0ee3bd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

client/deis.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,12 @@ def limit_list(self, args):
13811381

13821382
def limit_set(self, args):
13831383
"""
1384-
Sets resource limits for an application
1384+
Sets resource limits for an application.
1385+
1386+
A resource limit is a finite resource within a container which we can apply
1387+
restrictions to either through the scheduler or through the Docker API. This limit
1388+
is applied to each individual container, so setting a memory limit of 1G for an
1389+
application means that each container gets 1G of memory.
13851390
13861391
Usage: deis limit:set [--memory | --cpu] <type>=<limit>... [options]
13871392

0 commit comments

Comments
 (0)