Maria
03/29/2022, 12:43 PMhelm upgrade
ran successfully, I get commands such as
1 Run the following command to get the UI URL:
UI_HOST=$( \
kubectl get svc \
--namespace prefect \
--template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}" \
prefect-server-ui \
) \
&& echo "UI available at: http://$UI_HOST:8080"...
when I run the above command, I get an error saying
error: error executing template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}": template: output:1:10: executing "output" at <index .status.loadBalancer.ingress 0>: error calling index: index of untyped nil
Then I have to run kubectl port-forward <name of the service> <port>:<port>
to get ui and apollo servers running. Is there a way to run this without port forwarding?
2. I’m trying to run a hello world example flow on prefect server on my EKS cluster. I tried to trigger it from my command line by creating a project and running prefect register --project test-project -p hello/
. The registering seem to run successfully but I don’t see the flow on the ui. I’m also not able to manually create flow project using ui. Am I interacting with two different prefect engine here? How do I register prefect flow so that it is running on my prefect server on EKS cluster?prefect backend server
so i think I’m no longer running prefect local. But I still have the issue running the commands to get the UI URL and Apollo URLAnna Geller
03/29/2022, 1:30 PM[server]
endpoint = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
[server.ui]
apollo_url = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
Maria
03/29/2022, 1:35 PMAnna Geller
03/29/2022, 1:37 PMMaria
03/29/2022, 1:57 PMAnna Geller
03/29/2022, 2:01 PMMaria
03/29/2022, 2:22 PMAnna Geller
03/29/2022, 2:31 PMMaria
03/29/2022, 6:46 PMAnna Geller
03/29/2022, 7:18 PMMaria
03/29/2022, 7:35 PMAnna Geller
03/29/2022, 8:58 PM~/.prefect/config.toml
you only have to add `YOUR_MACHINES_PUBLIC_IP`:
[server]
endpoint = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
Maria
03/30/2022, 1:17 PMAnna Geller
03/30/2022, 1:48 PMMaria
03/30/2022, 5:28 PMAnna Geller
03/30/2022, 5:30 PM