Closed clementnuss closed 9 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/servicecheck/transport.go | 0 | 1 | 0.0% | ||
internal/kubenurse/server.go | 10 | 16 | 62.5% | ||
<!-- | Total: | 17 | 24 | 70.83% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
internal/servicecheck/servicecheck.go | 4 | 86.58% | ||
internal/kubediscovery/nodewatcher.go | 7 | 78.43% | ||
<!-- | Total: | 11 | --> |
Totals | |
---|---|
Change from base Build 7198416239: | -2.2% |
Covered Lines: | 444 |
Relevant Lines: | 581 |
I noticed that kubenurse was:
SIGTERM
then the http server shuts down almost immediately).In Kubenurse shutdown scenarios, this lead to erroneous
me_ingress
errors (i.e. when the pod has already closed its http server, but the ingress-nginx still has an inflight request that then timeouts), and to to falsepath_<node>
errors as well, as terminating pods were still receiving queries.together with that I fixed the build script a little 🙃