Si Wong
02/11/2021, 8:00 AMZanie
Si Wong
02/11/2021, 4:13 PMZanie
Zanie
Si Wong
03/09/2021, 4:30 PMPREFECT__CLOUD__API: <http://prefect-server-apollo.prefect-harbor:4200/graphql/>
Si Wong
03/09/2021, 4:32 PMrequests.exceptions.ConnectTimeout: HTTPConnectionPool(host='prefect-server-apollo.prefect-harbor', port=4200): Max retries exceeded with url: /graphql (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f88206e0250>, 'Connection to prefect-server-apollo.prefect-harbor timed out. (connect timeout=15)'
Zanie
<service-name>-<namespace>
which should be accessible although I'm not sure how that changes once an ingress is added.Zanie
Zanie
kubectl exec -i -t dnsutils -- nslookup <service-name>.<namespace>
Si Wong
03/09/2021, 5:01 PMPREFECT__CLOUD__API
despite using prefect-server?Zanie
CLOUD
just means "backend api" there 🙂Si Wong
03/09/2021, 5:23 PM_helpers.tpl
file under the apollo directory for the chart and modify out the port. As I have setup a proxy using nginx. I changed it to the below snippet and it now works as expected with a tenant and agent. Onwards and upwards
{{- define "prefect-server.apollo-api-url" -}}
{{- $host := include "prefect-server.apollo-hostname" . -}}
{{- $port := "4200" -}}
{{ printf "<http://%s>" $host }}
{{- end -}}
Zanie
Si Wong
03/09/2021, 5:25 PMZanie
Si Wong
03/15/2021, 4:49 PM<http://prefect-server-apollo.prefect.svc.cluster.local:80/graphql>
It needs to be a public domain which we can't protect, can you advise how I could potentially link the UI > Apollo endpoint utilising kubernetes backbone network rather than the browser looking for a public facing DNS?Zanie
Jonathan Wright
03/16/2021, 11:31 AMZanie