Open vikramkhatri opened 5 years ago
Same for me on a GKE cluster (GCloud). Really don't know what to do and I know no errors in stackdriver logging for my GKE cluster
Alright we figure out the issue. Consul need talk with kubernetes masters so for this dummy test we created an open firewall rules and then ... the light come out :). Everything works, I got my second container etc etc. Hope that can help @vikramkhatri
On GKE with shared vpc you need to open 8080 port between masters and pods.8080 port is used by consul webhook injector
Env: IBM Cloud Private just running one node.
Installed Consul 0.8.1 in Kubernetes. I had difficulty in installing as port 8500 and 8600 are in use if using ICP. But, after I modified the targetPort in service and daemonset, the pods came up and I can see the service in UI.
I followed your example step by step but I can't seem to connect with the counting service from the dashboard.
The tutorial did not mention anything about creating dns stub but readme says it.
So as per this link https://www.consul.io/docs/platform/k8s/dns.html I created this.
This was my coredns:
The consul dns is running on IP
10.0.0.111
. I tried DNS test and I did not succeed forconsul.service.consul
and I do not know from where this name comes.This is my setup for consul.
The counting service responds.
The logs from dashboard.
The UI shows -1 and it says
Counting service is unreachable
.What did I miss? And how to test dns stub and if services are discoverable. I do not see counting and dashboard in the UI except consul.