wish / katalog-sync

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

WIP fix for pods synced but not ready #52

Closed jacksontj closed 2 years ago

jacksontj commented 3 years ago

As of now when a pod is synced but not ready katalog-sync will spin as fast as it can to recheck (no sleep). This adds a sleep in the event it wasn't ready to avoid burning all the CPU.

TODO: Another thing I noticed is the check here only ensures that the service was synced to consul not that the readiness has been synced -- which we probably want to check as well.

jacksontj commented 2 years ago

A more complete fix for this is in https://github.com/wish/katalog-sync/pull/54