hasura / gitkube

Build and deploy docker images to Kubernetes using git push
Apache License 2.0
3.81k stars 207 forks source link

gitkube service type ClusterIP cannot be accessed from outside cluster. If this was intended, add remote manually #108

Closed davidmontgom closed 5 years ago

davidmontgom commented 5 years ago

Whats the deal?

gitkube remote create -f remote.yaml INFO[0001] remote myremote created
INFO[0001] waiting for remote url
FATA[0002] gitkube service type ClusterIP cannot be accessed from outside cluster. If this was intended, add remote manually

I am on aws eks....

Fix your tutorial so as not to waste other peoples time.

tirumaraiselvan commented 5 years ago

@davidmontgom Like the error mentions, ClusterIPs are not intended to be used with gitkube because you cannot access them from outside the cluster. How will you do git push from your local dev if you don't have an accessible IP?

Use type LoadBalancer when you are installing Gitkube through the CLI, or change the type of gitkubed service to type LoadBalancer manually.