-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agent and apollo crashed #5
Comments
From what I understand, the hasura service feeds data to apollo, and the agent needs apollo running for it to query the database to see if any Flows are pending execution. Doing a wget GET to http://<name_here>-prefect-ui-hasura:3000/v1alpha1/graphql should return a 404, I believe this is expecting a GraphQL query through a HTTP POST message. Is it possible to view the startup logs of your Apollo Pod? |
@szelenka below is the output logs in apollo pod
you are right about the POST for 3000.
|
In this case, the Pod is not starting because the Apollo service isn't responding to the readiness probe. You could try disabling the Readiness probe to investigate what's going on. The logs seem to imply it's in the middle of building the schema, which takes awhile on first run. One thing to check would be to ensure enough resources are allocated to the Pod (CPU & memory) so it can execute the steps before the Readiness probes fail and terminate the Pod. |
these two pods keep on crashing, the rest of the pods are fine. May i know is this path http://<name_here>-prefect-ui-hasura:3000/v1alpha1/graphql suppose to return result? i checked the port 3000 is open in hasura but this path is no accessible
The text was updated successfully, but these errors were encountered: