https://prefect.io logo
Title
m

Mohamed Hajji

09/23/2021, 9:43 AM
hello can someone help me on how i can create mutiple agents using this helm chart ? https://github.com/PrefectHQ/server/tree/master/helm/prefect-server
d

davzucky

09/23/2021, 10:21 AM
Why do you need more than one agent? The agent with create a kubernetes job for every flow run
m

Mohamed Hajji

09/23/2021, 12:03 PM
i'm using my agent to create multiple kubernetes deployment (diffrent namespaces witch currently get me the error forbiden namespace ... ) , so i want to be able to create one agent per namespace to avoid this error
d

davzucky

09/23/2021, 1:07 PM
Ok that make sense. But you may be easier to just create manual deployment of agent.
👍 1
The helm chart should be more for the server side. As well this mean you would need multi namespace deployment from the helm chart. I'm not sure this is a common pattern
m

Mohamed Hajji

09/23/2021, 1:56 PM
yap you're right , do you have any recomandation for a chart that contains only the agent tenant combo? , or i should just create one myself ?
d

davzucky

09/23/2021, 9:12 PM
I don't have any. Usually I just create a kubernetes deployment. Personally we are using kustomize and not helm for any business deployment
1
m

Mohamed Hajji

09/24/2021, 3:01 PM
ok many thanks