wish / katalog-sync

A reliable node-local mechanism for syncing k8s pods to consul services
MIT License
37 stars 7 forks source link

fix duplicated service instances issue #51

Closed yiyan-wish closed 3 years ago

yiyan-wish commented 3 years ago

Every katalog-sync pod will register the service through the local consul-client, and then the pod which has annotation "katalog-sync.wish.com/service-names" will be registered repeatedly. Screen Shot 2021-04-28 at 3 32 35 PM

Katalog-sync should only sync the pod which is located on the same node.