Can I use different agents for different namespace...
# flyte-connectors
c
Can I use different agents for different namespaces (ie production/ staging)? I saw I could use canary deployments to route selected tasks to different agent services. But it is not clear to me how I could do such routing for different namespaces
d
Kevin knows the answer, but he is on vacation. To be honest, I didn't think about this question before, but I can take a look this week
thank you
f
I don’t think so this is supported today, but let Kevin be back next week
d
Update with Keivn: You can change your namespace from
Copy code
"dns:///flyteagent.flyte.svc.cluster.local:8000"
to
Copy code
"dns:///flyteagent.your_namespace.svc.cluster.local:8000"
c
Ok, thanks. But how can I make sure that for each workspace, tasks are routed to the corresponding agent?
d
you can print logs in your corresponding agent server
maybe it's a good idea to print logs about
endpoint 1
send
Create
request for
task type 1
@glamorous-carpet-83516 Do you think it's a good idea to do this for each request in the propeller?
g
what does workspace mean here? are you talking about project & domain?
c
Yes, I'd like to have different instances of my agent in each of my project domains. This way I can test changes to my agent in isolation without interfering with production workflows
g
sounds reasonable, but we don’t support that atm. mind creating an issue here. [flyte-core]