consul-registration-hook
consul-registration-hook copied to clipboard
Hook that can be used for synchronous registration and deregistration in Consul discovery service on Kubernetes or Mesos cluster with Allegro executor
Is there any detailed documentation available to setup consul-registration-hook with kubernetes. My requirement is to register PODS and its IP address with Consul.
Deregistration in Consul can be quicker than registration and this creates a race condition in which the previous instances can be removed from Consul catalog before adding new ones are...
``` cmd/consul-registration-hook/main.go:52:7: unknown field 'Timeout' in struct literal of type k8s.ServiceProvider make[1]: *** [build] Error 2 make: *** [build-linux] Error 2 ```