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

cilium / cilium / 40117
39%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2022 01:36AM UTC
Jobs 3
Files 912
Run time 45min
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

04 Apr 2022 09:30PM UTC coverage: 35.056% (+0.003%) from 35.053%
40117

push

travis-ci-com

pchaigno
<a href="https://github.com/cilium/cilium/commit/<a class=hub.com/cilium/cilium/commit/<a class="double-link" href="https://git"><a class=hub.com/cilium/cilium/commit/<a class="double-link" href="https://git"><a class=hub.com/cilium/cilium/commit/365c788bb69eae6523ca22a3fa2b595069529c0a">365c788bb">&lt;a href=&quot;https://github.com/cilium/cilium/commit/</a><a class="double-link" href="https://github.com/cilium/cilium/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/cilium/cilium/commit/365c788bb69eae6523ca22a3fa2b595069529c0a">365c788bb</a><a href="https://github.com/cilium/cilium/commit/365c788bb69eae6523ca22a3fa2b595069529c0a">&lt;a href=&quot;https://github.com/cilium/cilium/commit/365c788bb69eae6523ca22a3fa2b595069529c0a&quot;&gt;&amp;quot;&amp;gt;k8s: Use kubelet&amp;amp;#39;s logic to close all idle connections

Following up from https://github.com/cilium/cilium/pull/19259, this
commit implements the same logic as kubelet [1] to close all idle
connections. We can rely on HTTP/2 to determine which connections are
idle (HTTP/2 pings), instead of closing all connections indiscriminately
(when the heartbeat fails) via the custom dialer in setDialer().

We can assume HTTP/2 support as it has been supported since K8s 1.20
[2]. Users can disable HTTP/2 by setting the DISABLE_HTTP2 environment
variable, however this only really meant from very advanced users, hence
no documentation. Kubernetes has been running with HTTP/2 as the default
for a long time (~since Dec 2020) without major issues.

CloseIdleConnectionsFor() was introduced in K8s 1.23 [3], hence this commit
cannot be backported to any earlier version of Cilium which doesn&amp;amp;#39;t
support K8s 1.23.

[1]: https://github.com/kubernetes/kubernetes/pull/104844
[2]: https://github.com/kubernetes/kubernetes/pull/95981/
[3]: https://github</a>.com/kubernetes/kubernetes/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/cilium/cilium/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/cilium/cilium/commit/b9d865a81&quot;&gt;b9d865a81&lt;/a&gt;&quot;&gt;b9d865a81&lt;/a&gt;&lt;... (continued)

10 of 10 new or added lines in 1 file covered. (100.0%)

45567 of 129982 relevant lines covered (35.06%)

6808.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40117.1 05 Apr 2022 01:36AM UTC 0
35.04
Travis Job 40117.1
2 40117.2 05 Apr 2022 01:37AM UTC 0
35.05
Travis Job 40117.2
3 40117.3 (RACE=1 BASE_IMAGE=quay.io/cilium/cilium-runtime:efb92c208c5f1f190243b361cbb43413ca49d534@sha256:8ca66f05327b5affad2bfb09614636f2b0d3fa24a9f40d1b5f86c2ef9ca2e46a LOCKDEBUG=1) 05 Apr 2022 02:20AM UTC 0
35.08
Travis Job 40117.3
Source Files on build 40117
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #40117
  • 365c788b on github
  • Prev Build on master (#40065)
  • Next Build on master (#40141)
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