Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

traffic controller: report better errors #258

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

juliogreff
Copy link
Contributor

  • It is more useful when we actually report the number we mean, instead
    of the exact opposite: we were reporting number of pods ready and told
    the users that was the number of pods not ready. Now we report it
    correctly.

  • It's weird to report 0 pods not ready, but still not get any traffic.
    We add some more clarity on that by reporting that there are pods that
    haven't made it into the endpoints yet. This can be k8s taking its time
    to do its thing, or the service selector might be incorrect. We should
    be able to catch an incorrect selector in the future, see Validate Service's .spec.selector when shifting traffic #257.

  • To remain consistent with the errors we report in the Release, we now
    suggest the specific command to run to get more information about the
    CapacityTarget.

@juliogreff juliogreff added the bug Something isn't working label Jan 14, 2020
@juliogreff juliogreff added this to the release-0.8 milestone Jan 14, 2020
@juliogreff juliogreff self-assigned this Jan 14, 2020
* It is more useful when we actually report the number we mean, instead
of the exact opposite: we were reporting number of pods ready and told
the users that was the number of pods not ready. Now we report it
correctly.

* It's weird to report 0 pods not ready, but still not get any traffic.
We add some more clarity on that by reporting that there are pods that
haven't made it into the endpoints yet. This can be k8s taking its time
to do its thing, or the service selector might be incorrect. We should
be able to catch an incorrect selector in the future, see #257 [1].

* To remain consistent with the errors we report in the Release, we now
suggest the specific command to run to get more information about the
CapacityTarget.

[1] #257
@juliogreff juliogreff force-pushed the juliogreff/tt-pods-not-ready branch from d972b71 to 86af693 Compare January 15, 2020 12:27
@hihilla hihilla merged commit 6d1b8e3 into master Jan 20, 2020
@hihilla hihilla deleted the juliogreff/tt-pods-not-ready branch January 20, 2020 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants