Last 12 weeks · 0 commits
2 of 6 standards met
i have deploy the consul latest version on kubernetes V1.10.0 .but the consul pod's log show these error message: 2018/07/20 11:26:11 [WARN] agent: Check "service:ribbon-consumer" HTTP request failed: Get http://DESKTOP-MCQSJ49:8504/health: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 2018/07/20 11:26:15 [ERR] agent: failed to sync remote state: No cluster leader 2018/07/20 11:26:16 [ERR] agent: Coordinate update error: No cluster leader the cluster doesnt work correctly.
I try to follow the guideline to install consul in kubernetes 1.7.5, but it is failure due to can't resolve the hostname , I use namespace kubectl logs consul-0 ... 2017/11/01 12:48:58 [INFO] consul: Adding LAN server consul-0 (Addr: tcp/10.233.78.176:8300) (DC: dc1) 2017/11/01 12:48:58 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp) 2017/11/01 12:48:58 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp) 2017/11/01 12:48:58 [INFO] agent: (LAN) joining: [consul-0.consul.default.svc.cluster.local consul-1.consul.default.svc.cluster.local consul-2.consul.default.svc.cluster.local] 2017/11/01 12:48:58 [INFO] agent: Started HTTP server on [::]:8500 2017/11/01 12:48:58 [INFO] agent: Retry join is supported for: aws azure gce softlayer 2017/11/01 12:48:58 [INFO] agent: Joining cluster... 2017/11/01 12:48:58 [WARN] memberlist: Failed to resolve consul-1.consul.default.svc.cluster.local: lookup consul-1.consul.default.svc.cluster.local on 10.233.0.3:53: no such host 2017/11/01 12:48:58 [WARN] memberlist: Failed to resolve consul-2.consul.default.svc.cluster.local: lookup consul-2.consul.default.svc.cluster.local on 10.233.0.3:53: no such host 2017/11/01 12:48:58 [INFO] agent: (LAN) joined: 1 Err: 2017/11/01 12:48:58 [INFO] agent: Join completed. Synced with 1 initial agents 2017/11/01 12:49:04 [WARN] raft: no known peers, aborting election Are there anything I missed to configure in kubernetes or I need extra component there.
Repository: kelseyhightower/consul-on-kubernetes. Description: Running HashiCorp's Consul on Kubernetes Stars: 599, Forks: 173. Primary language: Shell. Languages: Shell (100%). License: Apache-2.0. Open PRs: 2, open issues: 20. Last activity: 7y ago. Community health: 42%. Top contributors: kelseyhightower, blachniet.