Gabriel Milan
11/29/2021, 11:45 AMagent section of the values.yaml file looks like this:
agent:
enabled: true
prefectLabels:
- mylabel
...
job:
...
envFrom:
- secretRef:
name: gcp-credentials
The secret gcp-credentials exists and is correct. Unfortunately, this doesn't seem to workAnna Geller
Gabriel Milan
11/29/2021, 11:52 AMPATH or PREFECT__BACKENDAnna Geller
KubernetesRun, ensuring that your flow has all dependencies it needs.Gabriel Milan
11/29/2021, 11:52 AMAnna Geller
env:
- name: PREFECT__CLOUD__API
value: <https://api.prefect.io>
- name: PREFECT__BACKEND
value: cloudGabriel Milan
11/29/2021, 11:56 AMvalues.yaml file, considering it already has an agent.job section containing resources definition?Gabriel Milan
11/29/2021, 11:58 AMresources under agent.job. I'll try that with the job template YAML file, thanks!Anna Geller
env:
- name: "var_name"
value: "value"
- name: "another"
value: "one"Gabriel Milan
11/29/2021, 12:01 PMenv but not envFrom?Anna Geller
Gabriel Milan
11/29/2021, 12:17 PMenv nor envFrom for my jobs directly in values.yaml, right?Anna Geller
KubernetesRun. This has worked for many people from the community. https://docs.prefect.io/orchestration/flow_config/run_configs.html#kubernetesrun
flow.run_config = KubernetesRun(job_template_path="<s3://bucket/path/to/spec.yaml>")Gabriel Milan
11/29/2021, 12:25 PMGabriel Milan
11/29/2021, 1:07 PM