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

zalando-incubator / kube-ingress-aws-controller / 16934234606
72%
master: 72%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/all-go-mod-patch-and-minor-743439b736
DEFAULT BRANCH: master
Ran 13 Aug 2025 10:14AM UTC
Jobs 1
Files 27
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

12 Aug 2025 12:54PM UTC coverage: 71.632% (+0.4%) from 71.184%
16934234606

push

github

web-flow
worker: delay ingress status update for new load balancers (#753)

Within
https://github.com/zalando-incubator/kube-ingress-aws-controller/pull/748
the controller was improved to wait until loadbalancer state becomes
"active" before updating ingress status which triggers traffic switch to
the new loadbalancer (e.g. via external-dns).

It turns out that while new loadbalancer state is active its target
groups may not have discovered targets yet.

This change delays ingress status update for a new loadbalancer to give
its target groups time to discover targets. The delay is configured by a
new `min-loadbalancer-age` flag. Default value was chosen after testing
in an AWS account.

The more elaborate alternative is to call `describe-target-health` and
check `TargetHealthDescriptions`.

Other changes:

* unexport loadbalancer state fields
* make loadbalancer state accessors its members
* skip logging of empty loadbalancer ARNs in GetStackLBStates
* use structured logging in updateIngress
* introduce AWS and Kubernetes API internal mocks using
github.com/stretchr/testify/mock

26 of 46 new or added lines in 4 files covered. (56.52%)

2861 of 3994 relevant lines covered (71.63%)

10.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
93.83
-6.17% aws/elbv2.go
6
76.73
3.58% worker.go
9
41.25
0.06% controller.go
Jobs
ID Job ID Ran Files Coverage
1 16934234606.1 13 Aug 2025 10:14AM UTC 27
71.63
GitHub Action Run
Source Files on build 16934234606
  • Tree
  • List 27
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d70d750a on github
  • Prev Build on refs/tags/v0.18.7 (#16722576939)
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

© 2025 Coveralls, Inc