Hi Team, can someone help me with one of my query,...
# prefect-community
a
Hi Team, can someone help me with one of my query, I am trying to use helm chart on kubernetes cluster, but facing issue while connecting to the backend apollo, by default the ui and graphql server is trying to connect http://localhost:4200, whereas I have been exposing the apollo using NodePort on specific node and host, PFA for the error that I am getting on graphql while creating tenants, FYI have changed the ENV variables to use the new values as well and also tried adding config.toml file to graphql pod
1
a
Can you explain what you are trying to do? This markdown file explains Server helm chart in-depth
moving image here
a
hi @Anna Geller thanks for your quick response, So I have been trying to setup prefect stack on a kubernetes cluster, I am able to run all the components, but I am facing issues while creating tenants, so basically When I try creating tenants on prefect server (in this case kubernetes pod), it fails to create as its trying to connect to localhost:4200 by default, whereas I am exposing the apollo service using NodePort service on the cluster, http://ip-address:port/graphql is what I am using while connecting to the prefect server from UI, and yes I am using the same helm chart as sent by you above.
1
a
Did you try creating the tenant directly as part of the Helm chart?
a
Hi @Anna Geller, so I applied config.toml changes from within the pod and was able to get it running, will post here if I come across any such problems, one thing though providing ENV variables from chart doesn’t have any effect or wont work, need to explicitly go to the pod and apply changes in form of config.toml , thanks for your response
🙌 1