Hi all - I am trying to get prefect to work on Kub...
# prefect-community
n
Hi all - I am trying to get prefect to work on Kubernetes hosted on aws EKS. I can access the UI and it in turn is able to access the graphql pod. I am having an issue where whenever i create a project it fails. Can anyone help resolve this. Is it related to the RDS postgresql database I connected? How would I go about debugging this
k
Is there an error? You can go in the interactive API tab of the UI and try querying to see if the API works
n
what query would i type
k
Copy code
query {
  hello
}
n
that works fine
Uh oh! There's a problem It looks like your project wasn't added. Please try again. If you still need help, visit our Support Page.
thats the error I get
k
How about like this?
Copy code
query {
  tenant{
    name
    id
  }
}
n
that works fine as well
got the default tenant with id
k
That’s pretty weird. How do you create the project? UI or CLI?
n
through the UI
k
Can you try querying the projects to see if it may have gone through in one of the attempts?
Copy code
query {
  project{
    name
    id
  }
}
n
Copy code
{
  "data": {
    "project": []
  }
}
comes blank
k
Hmm this is pretty weird. What happens when you do it through the CLI pointing to your API?
prefect create project name
prefect create project "name"
n
hmm let me try that. I havent set up the CLI on my PC yet
how to i set the backend server in the cli
k
prefect backend server
n
how do i point to to the server link
sorry verry new to this cli
k
export PREFECT___SERVER___ENDPOINT=<YOUR-IP>:4200/graphql
n
got it ok
that worked
it was able to create the project
k
And then you can view it in the UI?
n
yup
i see it in the UI
k
I don’t know what’s up with the UI then, you’d have to dig in the pod logs if it continues to persist
n
OK - i can try that. Our debugging confirms that its connected to the RDS server though right.
k
Yeah and the API is working
n
OK thank you!