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

SchSeba / sriov-network-device-plugin
76%
master: 75%

Build:
Build:
LAST BUILD BRANCH: task-4ddb04f7-79d2-4cd1-939f-d44c49772f75
DEFAULT BRANCH: master
Repo Added 01 Jun 2022 11:31AM UTC
Token gpb9qFNNpLGAlzxqqrzRdEYGzGBKca6Qp regen
Build 89 Last
Files 40
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

LAST BUILD ON BRANCH update_devices_on_shutdown
branch: update_devices_on_shutdown
CHANGE BRANCH
x
Reset
Sync Branches
  • update_devices_on_shutdown
  • add_helper_function
  • add_vfio_device_to_info_provider
  • bump_go_libs
  • bump_packages
  • bump_to_golang_1.18_k8s_1.24
  • enable_func_test
  • fix_device_spec_rdma
  • fix_device_spec_rdma_2
  • fix_grpc_deprecation
  • fix_unittest
  • master
  • multiple_bumps
  • task-0c26ed58-d6c9-42aa-bd4c-3ad21279669c
  • task-4ddb04f7-79d2-4cd1-939f-d44c49772f75
  • task-5f38542b-40aa-4639-bc42-7e537d0ad8a6
  • task-ce68f3df-0014-4d76-979d-259ef0360305
  • token_support

21 Oct 2023 03:36PM UTC coverage: 75.867% (-0.2%) from 76.064%
6598237791

push

github

SchSeba
update the capacity to zero on shutdown/reset

When the device plugin is restarted, kubelet marks the resource as unhealthy, but still reports the resource as existing for a grace period (5 mins). If a pod is scheduled before the device plugin comes up, the pod create fails without a retryloop with an error message Pod was rejected: Allocate failed due to no healthy devices present; cannot allocate unhealthy devices <DEVICE_NAME>, which is unexpected.

This commit allow the device plugin to send an empty list of devices before the reset or shutdown

Signed-off-by: Sebastian Sch <sebassch@gmail.com>

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

2012 of 2652 relevant lines covered (75.87%)

4.52 hits per line

Relevant lines Covered
Build:
Build:
2652 RELEVANT LINES 2012 COVERED LINES
4.52 HITS PER LINE
Source Files on update_devices_on_shutdown
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
6598237791 update_devices_on_shutdown update the capacity to zero on shutdown/reset When the device plugin is restarted, kubelet marks the resource as unhealthy, but still reports the resource as existing for a grace period (5 mins). If a pod is scheduled before the device plugin com... push 21 Oct 2023 03:40PM UTC SchSeba github
75.87
6377734263 update_devices_on_shutdown update the capacity to zero on shutdown/reset push 02 Oct 2023 08:29AM UTC Sebastian Sch github
75.87
6377484635 update_devices_on_shutdown update the capacity to zero on shutdown/reset When the device plugin is restarted, kubelet marks the resource as unhealthy, but still reports the resource as existing for a grace period (5 mins). If a pod is scheduled before the device plugin com... push 02 Oct 2023 08:06AM UTC SchSeba github
75.88
6377418706 update_devices_on_shutdown update the capacity to zero on shutdown/reset push 02 Oct 2023 07:57AM UTC Sebastian Sch github
75.88
See All Builds (67)

Badge your Repo: sriov-network-device-plugin

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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