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

kubeovn / kube-ovn / 26729460075
26%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2026 12:51AM UTC
Jobs 1
Files 212
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

01 Jun 2026 12:49AM UTC coverage: 25.629% (-0.02%) from 25.644%
26729460075

push

github

web-flow
feat: single-replica ovn-central + PVC + LoadBalancer + Kamaji split-cluster deployment (#6793)

* feat(ovn-central): support single-replica mode backed by a PVC

Introduce OVN_CENTRAL_MODE=single in the Helm chart and rework the
chart templates, startup scripts and leader-checker so ovn-central can
run as a single-replica Deployment with the OVN DB on a PVC. The pod
can drift to another node on host failure as long as the StorageClass
supports cross-node attach.

- chart: new OVN_CENTRAL_MODE value and ovn-central.storage block;
  ovnCentralReplicas / ovnCentralNodeIPs helpers; new central-pvc.yaml
  manifest; central-deploy.yaml branches replicas, strategy,
  podAntiAffinity and the host-config-ovn volume; the three ovn-nb /
  ovn-sb / ovn-northd Services drop the leader-label selector in
  single mode so the lone pod is always the endpoint;
  controller-deploy.yaml and ovsovn-ds.yaml route OVN_DB_IPS through
  the new helper so clients fall back to the Service ClusterIPs.
- start-db.sh: the existing NODE_IPS="" standalone path now also gets
  --ovn-northd-n-threads honoured and cleans stale sockets/pids so a
  drifted pod can start cleanly on a new node.
- ovn-is-leader.sh / ovn-healthcheck.sh: short-circuit raft-only logic
  in single mode (no cluster/status query, no ovn_northd lock steal);
  keep DB storage-status check + compaction.
- pkg/ovn_leader_checker: filter empty entries out of remoteAddresses
  and add a single-replica branch that just keeps the pod labelled as
  leader for nb/sb/northd and runs compaction.

Default OVN_CENTRAL_MODE remains cluster; `helm template` of the
cluster mode renders identically to before.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>

* feat(install): add ENABLE_SINGLE_REPLICA_OVN to install.sh and restore script

Wire the single-replica deployment mode into install.sh so users who
do not use Helm can opt in via ENABLE_SINGLE_REPLICA_OVN=true with
optional OVN_CENTRAL_STORAGE_CLASS / OVN_CENTRAL_PVC_S... (continued)

0 of 38 new or added lines in 1 file covered. (0.0%)

14770 of 57629 relevant lines covered (25.63%)

0.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
38
0.0
0.0% pkg/ovn_leader_checker/ovn.go
Jobs
ID Job ID Ran Files Coverage
1 26729460075.1 01 Jun 2026 12:51AM UTC 212
25.63
GitHub Action Run
Source Files on build 26729460075
  • Tree
  • List 212
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • adf50842 on github
  • Prev Build on master (#26678319961)
  • Next Build on master (#26729544649)
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