https://prefect.io logo
Title
j

Josh Greenhalgh

01/21/2021, 10:27 PM
Hi wonder if anyone can help me - I have got the server running on kubernetes using the helm chart in the server repo. I am trying to add a new tenant using the command
prefect server create-tenant ...
it errors every time because its trying to connect to
localhost:4200
rather than
myserver_ip:4200
- how do I configure it to use the correct hostname?
added;
[cloud]
graphql = "<http://myserver_ip:4200/graphql>"
z

Zanie

01/22/2021, 12:02 AM
Glad you sorted it out! The Prefect Server docs don’t really have a great home right now 😞 hope to improve it in the future.
👍 1
s

Shailendra Thakur

02/01/2021, 1:44 PM
Hi Josh Greenhalgh  Could you please assist were you added this
[cloud]
graphql = "<http://myserver_ip:4200/graphql>"
In my case, I am using helm & only place I can think of values.yaml
j

Josh Greenhalgh

02/01/2021, 1:50 PM
This should be a local
config.toml
file and you should do
export PREFECT__USER_CONFIG_PATH="/path/to/config.toml"
This is so that the prefect cli commands know where to query thus why its local and not in the cluster
s

Shailendra Thakur

02/01/2021, 3:22 PM
Thanks Josh👍