I'm trying to get started with the kubernetes agen...
# prefect-community
w
I'm trying to get started with the kubernetes agent locally (and just
prefect server start
for the scheduler) it keeps firing up pods that try to connect to localhost:4200 for the graphql endpoint and failing because they can't access
localhost
from inside a pod. Is there a way to specify the endpoint the pods should be trying to connect to (e.g. to `kubernetes.docker.internal`instead)?
j
Hi Will, you can configure the api address used by the agent when deploying the agent via the
--api
option on
prefect agent start
or
prefect agent install
. Note that the pods will need access to the server api, so you may need to do additional networking config (not sure) to ensure network access between k8s and docker.
w
Thanks so much!
👍 1