wiretrack
07/03/2021, 11:07 PMprefect agent kubernetes install
but I keep getting a ClientError
with Name os service not known
. what I can think of is the lack of a tenant
, so I created one with slug=default
and name=default
. I’m using PREFECT__CLOUD___API=<http://prefect-apollo-service:4200/graphql>
. RBAC
is in place, so running out of ideas on what I might be doing wrong. the UI also can’t connect to apollo-service
, but health checks for apollo are ok, and curl localhost:4200/graphql
also works inside apollo
pod.
Also tried querying apollo-service from within the agent pod with:
curl \
-X POST \
-H "Content-Type: application/json" \
--data '{ "query": "{ tenant { id } }" }' \
<http://prefect-apollo-service:4200/graphql>
And it works fine, I get the tenant Id.
Any inputs? Thanks!env_vars
: basically even if the health checks are ok, communication between services might not be working because of the way environment variables was passed, a more detailed explanation in this issue: https://github.com/PrefectHQ/prefect/issues/4738