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=string- Command to execute on the Task.
 --cpu-cores=string- Amount of dedicated CPU cores to give the Task (for example 256M, 1024M, 1G).
 -k, --disk-quota=string- Amount of dedicated disk space to give the Task (for example 256M, 1024M, 1G).
 -h, --help- help for run-task
 -m, --memory-limit=string- Amount of dedicated memory to give the Task (for example 256M, 1024M, 1G).
 --name=string- Display name to give the Task (auto generated if omitted).
 
Inherited flags
These flags are inherited from parent commands.
--as=string- Username to impersonate for the operation.
 --as-group=strings- Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.
 --config=string- Path to the Kf config file to use for CLI requests.
 --kubeconfig=string- Path to the kubeconfig file to use for CLI requests.
 --log-http- Log HTTP requests to standard error.
 --space=string- Space to run the command against. This flag overrides the currently targeted Space.