Philip Bennett
09/01/2020, 2:04 PMprefect agent install kubernetes --api "<http://10.154.15.199:4200>" --rbac --resource-manager --env DB_HOST=10.104.145.11 --env CRUNCHBASE_API_KEY=XYZ | kubectl apply -f -
I try to access them using os.getenv()
but cannot access them.
Has anyone had similar issues?Chris White
09/01/2020, 3:14 PMyaml
file? If you just inspect the output of prefect agent install kubernetes --api "<http://10.154.15.199:4200>" --rbac --resource-manager --env DB_HOST=10.104.145.11 --env CRUNCHBASE_API_KEY=XYZ
and look for DB_HOST
, etc.Philip Bennett
09/01/2020, 3:17 PM- name: PREFECT__CLOUD__AGENT__ENV_VARS__DB_HOST
value: 10.104.145.11
- name: PREFECT__CLOUD__AGENT__ENV_VARS__CRUNCHBASE_API_KEY
value: XYZ
Chris White
09/01/2020, 3:18 PMPhilip Bennett
09/01/2020, 3:19 PMChris White
09/01/2020, 3:21 PMPhilip Bennett
09/01/2020, 3:23 PMChris White
09/01/2020, 3:23 PMMarvin
09/01/2020, 3:24 PMPhilip Bennett
09/01/2020, 3:25 PMChris White
09/01/2020, 11:43 PMPhilip Bennett
09/02/2020, 8:07 AM