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

cilium / cilium / 39286
39%

Build:
DEFAULT BRANCH: master
Ran 09 Mar 2022 07:42PM UTC
Jobs 3
Files 910
Run time 48min
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

09 Mar 2022 06:54PM UTC coverage: 35.063% (-0.01%) from 35.076%
39286

push

travis-ci-com

joestringer
ipcache: Use incremental policy updates

Previously, this kube-apiserver code would trigger policy updates
globally with no synchronization to the policymap updates. This would
ensure a full re-evaluation of the policy for all endpoints, rather than
just targeting the policy updates that need to occur as a result of the
ipcache metadata injection (for associating the kube-apiserver label
with specific IP addresses).

Reuse EndpointManager.UpdatePolicyMaps() to ensure synchronous updates
of the underlying BPF policymaps, which should improve the ability to
consistently apply policy whenever there is an update involving the
kube-apiserver (for instance, if it moves to another node).

This will also serve as a basis to improve more general metadata
association with addresses as planned in upcoming changes.

Note that this will change the locking behaviour where previously, this
critical section would only synchronize the SelectorCache while holding
the IPcache, and asynchronously update the datapath. Now, policy map
updates for each endpoint will be performed while holding the IPcache
lock. This includes potentially updating the proxy policy.

Signed-off-by: Joe Stringer <joe@cilium.io>

44810 of 127797 relevant lines covered (35.06%)

7359.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39286.1 09 Mar 2022 07:42PM UTC 0
35.05
Travis Job 39286.1
2 39286.2 09 Mar 2022 08:18PM UTC 0
35.04
Travis Job 39286.2
3 39286.3 (RACE=1 BASE_IMAGE=quay.io/cilium/cilium-runtime:514cbfc3fccb32fb67193b4b686f508b2fa26621@sha256:30cf45c1feadd04d367c446d0a3e3530d85be1b1e86f166f2862fdc09950f6a0 LOCKDEBUG=1) 09 Mar 2022 08:26PM UTC 0
35.07
Travis Job 39286.3
Source Files on build 39286
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #39286
  • 409b2e60 on github
  • Prev Build on master (#39282)
  • Next Build on master (#39310)
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