Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    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
    Kevin Kho

    Kevin Kho

    5 months ago
    Is there an error? You can go in the interactive API tab of the UI and try querying to see if the API works
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    what query would i type
    Kevin Kho

    Kevin Kho

    5 months ago
    query {
      hello
    }
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    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
    Kevin Kho

    Kevin Kho

    5 months ago
    How about like this?
    query {
      tenant{
        name
        id
      }
    }
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    that works fine as well
    got the default tenant with id
    Kevin Kho

    Kevin Kho

    5 months ago
    That’s pretty weird. How do you create the project? UI or CLI?
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    through the UI
    Kevin Kho

    Kevin Kho

    5 months ago
    Can you try querying the projects to see if it may have gone through in one of the attempts?
    query {
      project{
        name
        id
      }
    }
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    { "data": { "project": [] } }
    comes blank
    Kevin Kho

    Kevin Kho

    5 months ago
    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"
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    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
    Kevin Kho

    Kevin Kho

    5 months ago
    prefect backend server
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    how do i point to to the server link
    sorry verry new to this cli
    Kevin Kho

    Kevin Kho

    5 months ago
    export PREFECT___SERVER___ENDPOINT=<YOUR-IP>:4200/graphql
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    got it ok
    that worked
    it was able to create the project
    Kevin Kho

    Kevin Kho

    5 months ago
    And then you can view it in the UI?
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    yup
    i see it in the UI
    Kevin Kho

    Kevin Kho

    5 months ago
    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
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    OK - i can try that. Our debugging confirms that its connected to the RDS server though right.
    Kevin Kho

    Kevin Kho

    5 months ago
    Yeah and the API is working
    Naimesh Chaudhari

    Naimesh Chaudhari

    5 months ago
    OK thank you!