Darragh
08/07/2020, 1:52 PMScott Zelenka
08/07/2020, 1:55 PMPREFECT__CLOUD__AGENT__AGENT_ADDRESS was configured to <http://8080>, which for some reason defaulted to only listening on 127.0.0.1 so any external requests to the endpoint would fail.
To mitigate that, we set PREFECT__CLOUD__AGENT__AGENT_ADDRESS to <http://0.0.0.0:8080> to instruct it to listen on all available IP addresses configured in the Pod/EC2 instance.Darragh
08/07/2020, 1:56 PMScott Zelenka
08/07/2020, 1:58 PMDarragh
08/07/2020, 1:59 PMScott Zelenka
08/07/2020, 2:04 PMagent. For the server, I know there's a number of different components you could be checking the health on ... I think the apollo service would probably give you the best indication of overall health.
When I made a helm chart for the Server component, I setup all the health checks to simply verify the TCP ports were listening.
You might be able to do a health check on port 8080 for the website UI. Though I don't think they have a /healthz endpoint natively.Darragh
08/07/2020, 2:15 PMGreg Desmarais
08/07/2020, 2:35 PMDarragh
08/07/2020, 2:52 PMGreg Desmarais
08/07/2020, 3:06 PM/help . It does some unnecessary stuff for a healthcheck, but probably close to what would be needed.Darragh
08/07/2020, 3:07 PMGreg Desmarais
08/07/2020, 3:14 PMDarragh
08/07/2020, 3:20 PMDarragh
08/07/2020, 3:20 PM