Amit
07/30/2020, 4:26 PMDylan
07/30/2020, 4:44 PMprefect agent install kubernetes --help
(prefect_cloud) dylanhughes@Dylans-MacBook-Pro-Prefect ~/d/cloud> prefect agent install kubernetes --help dev
Usage: prefect agent install [OPTIONS] NAME
Install an agent. Outputs configuration text which can be used to install
on various platforms. The Prefect image version will default to your local
`prefect.__version__`
Arguments:
name TEXT The name of an agent to install (e.g. `kubernetes`, `local`)
Options:
--token, -t TEXT A Prefect Cloud API token
--label, -l TEXT Labels the agent will use to query for flow runs
Multiple values supported e.g. `-l label1 -l label2`
--env, -e TEXT Environment variables to set on each submitted flow run.
Note that equal signs in environment variable values are not currently supported from the CLI.
Multiple values supported e.g. `-e AUTH=token -e PKG_SETTING=true`
--env
flag I believe that should work for youAmit
07/30/2020, 4:47 PMDylan
07/30/2020, 4:48 PM