Name
kf run-task - Run a short-lived Task on the App.
Synopsis
kf run-task APP_NAME [flags]
Description
The run-task sub-command lets operators to run a short-lived Task on the App.
Examples
kf run-task my-app --command "sleep 100" --name my-task
Flags
-c, --command=stringCommand to execute on the Task.
--cpu-cores=stringAmount of dedicated CPU cores to give the Task (for example 256M, 1024M, 1G).
-k, --disk-quota=stringAmount of dedicated disk space to give the Task (for example 256M, 1024M, 1G).
-h, --helphelp for run-task
-m, --memory-limit=stringAmount of dedicated memory to give the Task (for example 256M, 1024M, 1G).
--name=stringDisplay name to give the Task (auto generated if omitted).
Inherited flags
These flags are inherited from parent commands.
--as=stringUsername to impersonate for the operation.
--as-group=stringsGroup to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=stringPath to the Kf config file to use for CLI requests.
--kubeconfig=stringPath to the kubeconfig file to use for CLI requests.
--log-httpLog HTTP requests to standard error.
--space=stringSpace to run the command against. This flag overrides the currently targeted Space.