solo-io / sqoop

The GraphQL Engine powered by Gloo
https://sqoop.solo.io
529 stars 42 forks source link

connect glooctl to gloo service running in Docker #30

Closed eddiechihyi closed 5 years ago

eddiechihyi commented 5 years ago

I am new to Gloo & Sqoop but very interested in seeing them working in action. However, I am having trouble to get them both working in my corp environment.

1) I was able to get the gloo running in Docker following below documentation https://gloo.solo.io/installation/docker-compose/

However, glooctl can't talk to the docker container and giving me below error. I don't know if there's any configuration for me to point glooctl to the correct IP/Port of the services inside docker container.

==> glooctl proxy url Error: could not detect 'gateway-proxy' service in gloo-system namespace. Check that Gloo has been installed properly and is running with 'kubectl get pod -n gloo-system': Get https://192.168.99.105:8443/api/v1/namespaces/gloo-system/services/gateway-proxy: dial tcp 192.168.99.105:8443: i/o timeout

2) I can't install Kubernetes inside corp network. and it seems sqoop no longer support Docker installation anymore. All the previous document links result in 404. I am trying to see if there's anyway I can run sqoopctl to connect to the gloo services installed in Docker.

Appreciated if anyone can shed some lights in order for me to move forward.

ilackarms commented 5 years ago

hey @eddiechihyi ! currently our docker compose support is limited for Gloo (supported by gloo but not glooctl - interacting with gloo will require writing yaml files by hand) and nonexistent for Sqoop, sorry! :slightly_frowning_face:

it's possible to get them both running using docker compose if that's a hard requirement, but by far the easiest way will be using minikube, k3s, kubernetes-in-docker, or one of the many other kube solutions available.

eddiechihyi commented 5 years ago

Thanks for the quick response.

Unfortunately, it's quite challenging for me to run the Minikube inside corp firewall given various networking issue.

Like you suggested, I was able to get sqoop service running as part of the Docker-compose yaml. Now I just can't have the glooctl to connect. I was also able to manually modify the /data folder to play a bit but can't really register any resolverMap to connect sqoop and gloo to test the graphQL query.

Anyway, thanks for the help. I will be watching and come back some other time.

Regards, Eddie