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

kubevirt / hyperconverged-cluster-operator / 12457167065
82%
main: 76%

Build:
Build:
LAST BUILD BRANCH: bump_CDI_v1.999.0-test.0_main
DEFAULT BRANCH: main
Ran 22 Dec 2024 07:47PM UTC
Jobs 1
Files 54
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

22 Dec 2024 07:44PM UTC coverage: 84.466% (-0.03%) from 84.491%
12457167065

push

github

web-flow
[release-1.13] Handle kubevirt control plane NodePlacement on hypershift clusters (#3227)

* Handle kubevirt control plane NodePlacement on hypershift clusters

Since kubevirt v1.3, the kubevirt control plane components (e.g. virt-controller and virt-api) are getting schdeuled by default on the control-plane/master
nodes, not regular worker nodes.
In hypershift (Hosted Control Planes) clusters, there are no control plane nodes at all (the control plane is hosted as pods on the management cluster).
Therefore, in case there are no control plane nodes, we're setting the kubevirt's node placement as an empty struct to avoid any predefined scheduling/affinity rules
that might prevent the pods to be scheduled on the cluster.

Signed-off-by: Oren Cohen <ocohen@redhat.com>

* Minor fixes for #3219

1. fix comment (should be masters instead of workers)
2. use HaveValue matcher in unit tests.

Signed-off-by: Oren Cohen <ocohen@redhat.com>

---------

Signed-off-by: Oren Cohen <ocohen@redhat.com>
Co-authored-by: Oren Cohen <ocohen@redhat.com>

12 of 15 new or added lines in 2 files covered. (80.0%)

5443 of 6444 relevant lines covered (84.47%)

0.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
82.9
-0.76% pkg/util/cluster.go
Jobs
ID Job ID Ran Files Coverage
1 12457167065.1 22 Dec 2024 07:47PM UTC 54
84.47
GitHub Action Run
Source Files on build 12457167065
  • Tree
  • List 54
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d4f182cc on github
  • Prev Build on release-1.13 (#12453851351)
  • Next Build on release-1.13 (#12684524513)
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