Hi. When using `DaskKubernetesEnvironment` how to ...
# ask-community
n
Hi. When using
DaskKubernetesEnvironment
how to setup the k8s namespace in which we want the job to run in the cluster? I'm using
scheduler_spec_file/worker_spec_file
and in the yaml files I set the
metadata:namespace: <name>
. But for the job itself it starts in the
default
namespace
j
Hi @Nuno Silva have you also tried setting a namespace on your Kubernetes agent with the
--namespace
option? I’m thinking maybe it’s the first prefect job that is being spun up in the default namespace
n
Will try and report back. Thanks
it works, thanks!