wish / katalog-sync

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

Consider pods that have been terminated as "not ready" #39

Closed jacksontj closed 3 years ago

jacksontj commented 3 years ago

the K8s API doesn't update container ready state within a terminating pod, as such you will find some pods which are terminating (maybe some containers stopped) which katalog-sync is still dutifully trying to sync. This check simply considers the pod not-ready if it has been terminated.