Is it possible to expose the flyte cluster demo to...
# ask-the-community
Is it possible to expose the flyte cluster demo to hostnetwork? I'm trying to send a simple post/get to my application from flyte task running in the cluster but I always get a connection error
yes cc @Kevin Su you can deploy this type of network service that will forward to the external host
How can I enable this in the flyte demo cluster?
you just need to create a k8s service by yourself. change the external name to your ip of application.
I don't have a k8s running in cloud, I only develop and test locally. Do you have a guide to setup the k8s locally using minikube?
there is a k8s cluster already running in the flytectl demo cluster
kubectl get pods -n flyte
, you will see the flyte cluster is running in the k8s
thank you, I'll check that first
This is the result from pods flyte
Copy code
NAME                                                  READY   STATUS    RESTARTS   AGE
flyte-sandbox-kubernetes-dashboard-6757db879c-49k6l   1/1     Running   0          111s
flyte-sandbox-docker-registry-6488dbddd-rdqhd         1/1     Running   0          111s
flyte-sandbox-buildkit-7d7d55dbb-l4rrk                1/1     Running   0          111s
flyte-sandbox-minio-645c8ddf7c-j56zv                  1/1     Running   0          111s
flyte-sandbox-postgresql-0                            1/1     Running   0          111s
flyte-sandbox-proxy-8f4f7fd9b-92s5w                   1/1     Running   0          111s
flyte-sandbox-6547fb44fd-pf5gf                        1/1     Running   0          111s
flyteagent-86748cd469-n6hpq                           1/1     Running   0          111s