Si Wong
02/11/2021, 8:00 AMZanie
02/11/2021, 4:07 PMSi Wong
02/11/2021, 4:13 PMZanie
02/11/2021, 4:14 PMSi Wong
03/09/2021, 4:30 PMPREFECT__CLOUD__API: <http://prefect-server-apollo.prefect-harbor:4200/graphql/>
requests.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
03/09/2021, 4:41 PM<service-name>-<namespace>
which should be accessible although I'm not sure how that changes once an ingress is added.kubectl exec -i -t dnsutils -- nslookup <service-name>.<namespace>
Si Wong
03/09/2021, 5:01 PMPREFECT__CLOUD__API
despite using prefect-server?Zanie
03/09/2021, 5:14 PMCLOUD
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
03/09/2021, 5:25 PMSi Wong
03/09/2021, 5:25 PMZanie
03/09/2021, 8:25 PMSi 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
03/15/2021, 5:09 PMJonathan Wright
03/16/2021, 11:31 AMZanie
03/16/2021, 3:01 PM