https://flyte.org logo
#flyte-on-gcp
Title
# flyte-on-gcp
a

Artyom Korkhov

01/17/2024, 3:09 PM
Hey! Possibly a stupid question about deploying flyte on GCP. After applying the terraform manifests successfully, is there a way to get started with flyte before setting up the A DNS record? I'm probably missing something very obvious, but when I try to reach the ingress directly, I get 404s
d

David Espejo (he/him)

01/17/2024, 3:26 PM
@Artyom Korkhov welcome! I'm glad you're using the modules So I guess you're using the IP allocated by NGINX directly?
a

Artyom Korkhov

01/17/2024, 3:27 PM
yup, pretty much just following the readme. a proper FQDN might take some time to setup, but I'd like to ideally a) understand if everything is installed correctly b) start running example jobs with Flyte
d

David Espejo (he/him)

01/17/2024, 3:29 PM
what happens if you go to
<https://Ingress-IP/console>
? is that where you get the 404?
a

Artyom Korkhov

01/17/2024, 3:31 PM
yup.
kubectl get ingress -n flyte
gives an IP address, accessing it with both http/https gives Nginx's 404
d

David Espejo (he/him)

01/17/2024, 3:31 PM
what's the status of the Pods?
kubectl get pods -n flyte
a

Artyom Korkhov

01/17/2024, 3:33 PM
Copy code
kubectl get pods -n flyte                                                                                                                                                        

NAME                                 READY   STATUS    RESTARTS   AGE
datacatalog-75bf86bb9d-fswrs         1/1     Running   0          144m
flyte-pod-webhook-776c7bc497-p6dws   1/1     Running   0          144m
flyteadmin-fc9dbf4bc-lc4lj           1/1     Running   0          144m
flyteconsole-75b675c6b5-ds5f4        1/1     Running   0          144m
flytepropeller-d5878f847-twhjv       1/1     Running   0          144m
flytescheduler-5589cdfd8f-8tkhz      1/1     Running   0          144m
syncresources-9b5687f84-5j2c7        1/1     Running   0          144m
d

David Espejo (he/him)

01/17/2024, 3:36 PM
can you try with a local DNS entry? as Ingress is configured to route depending on host and path, I'm not sure it's going to do anything if we connect directly to the IP
a

Artyom Korkhov

01/17/2024, 3:41 PM
can you try with a local DNS entry?
absolutely; could you please elaborate on how to get one?
d

David Espejo (he/him)

01/17/2024, 3:43 PM
there are different ways. probably the easiest would be to edit the
hosts
file in your OS. Like described here (see step 11)
a

Artyom Korkhov

01/17/2024, 4:02 PM
Managed to check with port-forwarding; the
/console
uri is accessible (but jumping between pages doesn't work ofc, leading to localhost addresses).
What host the local DNS entry should point to?
d

David Espejo (he/him)

01/17/2024, 4:35 PM
it should be just
Copy code
<your-Ingress-IP>       <your-Ingress-host>
a

Artyom Korkhov

01/17/2024, 4:58 PM
that works! thank you so much! 🙏
d

David Espejo (he/him)

01/17/2024, 4:59 PM
awesome! Any other question please let us know
5 Views