Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

registered service do not show in consul #47

Open
danielmotaleite opened this issue Aug 13, 2019 · 0 comments
Open

registered service do not show in consul #47

danielmotaleite opened this issue Aug 13, 2019 · 0 comments

Comments

@danielmotaleite
Copy link

HI

i have a headless (daemonset) service named telegraf with the correct tabs and it looks like is being registered, but checking consul i do not see any service created

$  kubectl -n consul log  -f  kube-consul-register-7684f
I0813 00:40:37.622567       1 main.go:64] Using build: v0.1.6
I0813 00:40:37.636938       1 main.go:98] Current configuration: Controller: &config.ControllerConfig{ConsulAddress:"localhost", ConsulPort:"8500", ConsulScheme:"http", ConsulCAFile:"", ConsulCertFile:"", ConsulKeyFile:"", ConsulInsecureSkipVerify:false, ConsulToken:"TOKEN", ConsulTimeout:2000000000, ConsulContainerName:"consul", ConsulNodeSelector:"consul=enabled", PodLabelSelector:"", K8sTag:"k8s", RegisterMode:"node", RegisterSource:"endpoint"}, Consul: &api.Config{Address:"127.0.0.1:8500", Scheme:"http", Datacenter:"", HttpClient:(*http.Client)(0xc4203e06c0), HttpAuth:(*api.HttpBasicAuth)(nil), WaitTime:0, Token:""}
I0813 00:40:37.637004       1 main.go:128] Start syncing...
I0813 00:40:37.665763       1 controller.go:368] Service's been registered, Name: telegraf, ID: telegraf-2h2kr-9009
I0813 00:40:37.688484       1 controller.go:368] Service's been registered, Name: telegraf, ID: telegraf-pr96s-9009
I0813 00:40:37.709802       1 controller.go:368] Service's been registered, Name: telegraf, ID: telegraf-prmjc-9009
I0813 00:40:37.709821       1 main.go:133] Synchronization's been ended
I0813 00:40:37.709833       1 main.go:112] Start cleaning...
I0813 00:40:37.717472       1 main.go:117] Cleaning has been ended
I0813 00:42:37.709952       1 main.go:128] Start syncing...
I0813 00:42:37.724172       1 main.go:133] Synchronization's been ended
I0813 00:44:37.724291       1 main.go:128] Start syncing...
I0813 00:44:37.737537       1 main.go:133] Synchronization's been ended
I0813 00:46:37.737742       1 main.go:128] Start syncing...
I0813 00:46:37.751332       1 main.go:133] Synchronization's been ended

Maybe related to #35 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant