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
The default memory and disk allocations are defined in the BOSH manifest. See [Deployment Manifest Schema](https://bosh.io/docs/deployment-manifest.html) for more information.
1
+
The default memory and disk allocations for tasks are specified by the `cc.default_app_memory` and `cc.default_app_disk_in_mb` properties defined in the BOSH Cloud Controller Worker job. See [Configuration Properties](http://bosh.io/jobs/cloud_controller_worker?source=github.com/cloudfoundry/cf-release&version=235) for more information.
Copy file name to clipboardExpand all lines: using-tasks.html.md.erb
+4-6
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,7 @@ The life-cycle of a task is:
40
40
41
41
1. Cloud Foundry creates a container specifically for the task.
42
42
1. Cloud Foundry runs the task on the container using the value passed to the `cf run-task` command.
43
-
1. Cloud Foundry destroys the container.
44
-
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.
43
+
1. Cloud Foundry destroys the container.
46
44
47
45
The container also inherits environment variables, service bindings and security groups bound to the application.
48
46
@@ -56,9 +54,9 @@ The task execution history is retained for one month.
56
54
57
55
## <aid='manage-tasks'></a> Manage Tasks
58
56
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).
57
+
At the system level, 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
58
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.
59
+
In addition, admins can set the default memory and disk usage quotas for tasks on a global level. Initially, tasks use the same memory and disk usage defaults as applications. However, the default memory and disk allocations for tasks can be defined separately from the default app memory and disk allocations.
62
60
63
61
<%ifvars.product_name == 'CF'%>
64
62
<%=partial'tasks_rec_alloc_oss'%>
@@ -70,7 +68,7 @@ In addition, admins can set the default memory and disk usage quotas for tasks o
70
68
71
69
You can use the cf CLI to run a task in the context of an application.
72
70
73
-
<pclass="note"><strong>Note</strong>: To run tasks with the cf CLI, you must install the cf CLI v6.23 (?) or later. See the <ahref="../cf-cli/install-go-cli.html">Installing the Cloud Foundry Command Line Interface</a> topic for information about downloading, installing, and uninstalling the cf CLI.</p>
71
+
<pclass="note"><strong>Note</strong>: To run tasks with the cf CLI, you must install the cf CLI v6.23.0 or later. See the <ahref="../cf-cli/install-go-cli.html">Installing the Cloud Foundry Command Line Interface</a> topic for information about downloading, installing, and uninstalling the cf CLI.</p>
74
72
75
73
To run a task on an application, first push your application. Then, use the `cf run-task APP-NAME TASK` command on your deployed application. For example:
0 commit comments