• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ovn-org / ovn-kubernetes / 8688780191
53%

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2024 12:31PM UTC
Jobs 1
Files 219
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Apr 2024 10:28AM UTC coverage: 52.391% (+0.02%) from 52.369%
8688780191

push

github

jcaamano
Fix endpoint selection for externalTrafficPolicy=local

Fix the case for "all endpoints terminating on a node when traffic policy is local":
"When the traffic policy is "Local" and all endpoints are terminating within a single node, then traffic should be routed to any terminating endpoint that is ready on that node."
https://github.com/kubernetes/enhancements/blob/master/keps/sig-network/1669-proxy-terminating-endpoints/README.md#example-all-endpoints-terminating-on-a-node-when-traffic-policy-is-local

The endpoint selection logic in the services controller is now entirely implemented in getEndpointsForService, which computes for a given service and each service port all its cluster-wide endpoints and per-node local endpoints. We first apply a cluster-wide vs local endpoint selection and only then we apply readiness-based filtering with getEligibleEndpointAddresses.

Added unit tests for the new logic.

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>

216 of 227 new or added lines in 4 files covered. (95.15%)

25 existing lines in 6 files now uncovered.

27389 of 52278 relevant lines covered (52.39%)

92.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8688780191.1 15 Apr 2024 12:31PM UTC 0
52.39
GitHub Action Run
Source Files on build 8688780191
Detailed source file information is not available for this build.
  • Back to Repo
  • a3c8570d on github
  • Prev Build on master (#8682340767)
  • Next Build on master (#8697909762)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc