Viv Ian
04/21/2020, 5:15 PMdocker system prune -a
for a fresh start 🙂
• created prefect service/deployments for k8s (using latest images)
• docker build my app image
• created service/deployments for my app for k8s
Any ideas? THANKS!Zachary Hughes
04/21/2020, 5:21 PMViv Ian
04/21/2020, 6:16 PMRUN prefect backend server
and CMD python flow_example.py
. Apollo, Hasura, etc. are running in their own kubernetes services.Zachary Hughes
04/21/2020, 6:29 PM<http://graphql:4200/graphql/health>
from the pod you're trying to register your flow with?
I ask that as an arbitrary connectivity test because I'm wondering if the localhost
references aren't playing nicely now that things are in different pods.Viv Ian
04/21/2020, 7:09 PMping <http://graphql:4200/graphql/health>
and the response was: ping: bad address '<http://graphql:4200/graphql/health>'
Zachary Hughes
04/21/2020, 7:13 PM<http://1.2.3.4:4200/graphql/health>
, where 1.2.3.4 is the IP address of your graphql service?Viv Ian
04/21/2020, 7:40 PMZachary Hughes
04/21/2020, 7:48 PMViv Ian
04/21/2020, 7:51 PMZachary Hughes
04/21/2020, 7:52 PMexport PREFECT__SERVER__HOST=apollo
in the same block of instructions where you run prefect backend server
?
It also sounds like building/deploying might be something of a laborious process. If you want to verify that the server API is working as-is before rebuilding your app, you could also kubectl port-forward <YOUR APOLLO HERE> 4200:4200
If the server is working as expected, you should be able to register a flow while port-forwarded to your current setup.