Hi :wave: I’m testing Prefect 2.0 kubernetes/Helm ...
# prefect-community
l
Hi 👋 I’m testing Prefect 2.0 kubernetes/Helm deployment Everything seems fine expected that the agent got an issue when launching the job because the namespace and the service account are set with default value. Is it possible to override these value ? I didn’t found it in the doc
1
a
yes, you can do that in metadata section of your K8s manifest
l
hmm that’s weird @Anna Geller the namespace is set for the agent deployment in the metadata section (i can deploy only in this namespace).
I found it, it should be added to the Deployment configuration
Copy code
name="k8s-example",
    flow=my_kubernetes_flow,
    flow_runner=KubernetesFlowRunner(namespace="prefect", service_account_name="prefect-sa")
)
1
🙌 1