Viv Ian04/21/2020, 5:15 PM
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!
docker system prune -a
Zachary Hughes04/21/2020, 5:21 PM
Viv Ian04/21/2020, 6:16 PM
RUN prefect backend server
. Apollo, Hasura, etc. are running in their own kubernetes services.
CMD python flow_example.py
Zachary Hughes04/21/2020, 6:29 PM
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
references aren't playing nicely now that things are in different pods.
Viv Ian04/21/2020, 7:09 PM
and the response was:
ping: bad address '<http://graphql:4200/graphql/health>'
Zachary Hughes04/21/2020, 7:13 PM
, where 220.127.116.11 is the IP address of your graphql service?
Viv Ian04/21/2020, 7:40 PM
Zachary Hughes04/21/2020, 7:48 PM
Viv Ian04/21/2020, 7:51 PM
Zachary Hughes04/21/2020, 7:52 PM
in the same block of instructions where you run
? 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
prefect backend server
If the server is working as expected, you should be able to register a flow while port-forwarded to your current setup.
kubectl port-forward <YOUR APOLLO HERE> 4200:4200