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
Copy file name to clipboardExpand all lines: using-tasks.html.md.erb
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ Tasks are used to perform one-off jobs, which can include:
29
29
30
30
###<aid="task-proceses"></a> How Tasks Are Run
31
31
32
+
Tasks are always executed asynchronously, meaning that they run independently from the parent application or other tasks that run on the same application.
33
+
32
34
The life-cycle of a task is:
33
35
34
36
1. A user initiates a task in Cloud Foundry using one of the following mechanisms:
@@ -38,11 +40,11 @@ The life-cycle of a task is:
38
40
39
41
1. Cloud Foundry creates a container specifically for the task.
40
42
1. Cloud Foundry runs the task on the container using the value passed to the `cf run-task` command.
41
-
1. Cloud Foundry destroys container.
43
+
1. Cloud Foundry destroys the container.
42
44
43
-
When creating the container, Cloud Foundry uses the disk size and memory allocation specified for the parent application. The new container respects app, space, and organization-level memory quotas. The container also inherits environment variables, service bindings and security groups bound to the application. Tasks have a memory limit and a disk limit (global cloud foundry defaults for app memory in your bosh manifest or in ERT Application Developer Controls).
45
+
When creating the container, Cloud Foundry uses the disk size and memory allocation specified for the parent application. The new container for the task also respects app, space, and organization-level memory quotas.
44
46
45
-
Tasks are always executed asynchronously, meaning that they run independently from the parent application or other tasks run on the same application.
47
+
The container also inherits environment variables, service bindings and security groups bound to the application.
46
48
47
49
<pclass="note"><strong>Note</strong>: You cannot SSH into the container running a task.</p>
48
50
@@ -54,9 +56,12 @@ The task execution history is retained for one month.
54
56
55
57
## <aid='manage-tasks'></a> Manage Tasks
56
58
57
-
* Admins can use the Cloud Controller v3 API to view all the tasks that are running in an org or space. See http://v3-apidocs.cloudfoundry.org/version/3.0.0/index.html#list-tasks
59
+
From a system-level point of view, a user with admin-level privileges can use the Cloud Controller v3 API to view all tasks that are running within an org or space. For more information, see the documentation for the [Cloud Controller v3 API](http://v3-apidocs.cloudfoundry.org/version/3.0.0/index.html#list-tasks).
60
+
61
+
In addition, admins can set the default memory and disk usage quotas for tasks on a global level. Tasks use the same memory and disk usage defaults as applications.
58
62
59
-
* Admins can set memory usage on a global level (link)
63
+
partialize this-->
64
+
These defaults are located in the BOSH manifest or in the Application Developer Controls configuraiton screen of the Elastic Runtime.
60
65
61
66
## <aid='run-tasks'></a> Run a Task on an Application
0 commit comments