Another unrelated k8s deployment question: 1. `pr...
# prefect-community
t
Another unrelated k8s deployment question: 1.
prefect-cli
talks to
orion
via kubectl port-forward 2.
prefect-agent
knows about
orion
via the k8s service (setting api url env var) Hence the question: how does
prefect deploy
command interact with an
prefect-agent
if
orion
does not know about agent as well?
1
c
You would configure the prefect agent with an api url that points to Orion
And locally you would also configure your api url to Orion
t
yes exactly, so agent registers itself in Orion right?
c
No, you configure it when you deploy the agent
It doesn't register itself so to speak unless we are saying the same thing in different ways
You deploy an agent and set the api url - this would be an env var for the pod
1
Agents are outbound connections only , they are polling Orion for work
t
ok I see
thanks that’s also very helpful