Skip to content

build(deps): upgrade kube-vip from v0.5.5 to v0.9.2 - #217

Open
sebastian-pf9 wants to merge 3 commits into
mainfrom
claude/upgrade-kube-vip-e27734
Open

build(deps): upgrade kube-vip from v0.5.5 to v0.9.2#217
sebastian-pf9 wants to merge 3 commits into
mainfrom
claude/upgrade-kube-vip-e27734

Conversation

@sebastian-pf9

@sebastian-pf9 sebastian-pf9 commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Drop the insomniacslk/dhcp replace directive (added for kube-vip 0.5.1) and upgrade kube-vip to v0.9.2, a stable release with modern dependencies.

  1. Update deleteIP() to handle the new vip.NewConfig API (returns []Network, requires additional parameters) and DeleteIP's new error signature.
  2. kube-vip v0.9.2 requires vip_subnet to be set explicitly: its SelectSubnet() only overrides the default when the env var is non-empty,

@sebastian-pf9
sebastian-pf9 force-pushed the claude/upgrade-kube-vip-e27734 branch from 4a5ffbe to 6890892 Compare August 20, 2026 15:54
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agent/reconciler/host_reconciler_linux.go 0.00% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

Drop the insomniacslk/dhcp replace directive (added for kube-vip 0.5.1)
and upgrade kube-vip to v0.9.2, a stable release with modern dependencies.

Update deleteIP() to handle the new vip.NewConfig API (returns []Network,
requires additional parameters) and DeleteIP's new error signature.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@sebastian-pf9

Copy link
Copy Markdown
Collaborator Author

I can reproduce the e2e failure here. this is more complicated than expected.

@indradhanush

Copy link
Copy Markdown
Collaborator

I can reproduce the e2e failure here. this is more complicated than expected.

Maybe not worth it at the moment?

@indradhanush indradhanush added the do-not-merge Do not merge it yet label Aug 21, 2026
kube-vip v0.9.2 requires vip_subnet to be set explicitly: its
SelectSubnet() only overrides the default when the env var is
non-empty, and nothing else fills in the "32 for IPv4" default the
--vipSubnet flag help text describes. Left unset, kube-vip crash-loops
on every control-plane host with:

  invalid CIDR "10.89.0.151/": could not format address with subnetMask ''

which blocks the control-plane endpoint from ever coming up, so
kubeadm init/join times out waiting for a healthy API server. Verified
locally: all 3 previously-failing single-BYOH-host specs now pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sebastian-pf9
sebastian-pf9 force-pushed the claude/upgrade-kube-vip-e27734 branch from 6890892 to ce913b0 Compare August 21, 2026 12:42
kube-vip v0.9.2 pulls in a much larger transitive dependency tree
(netlink, conntrack, dhcp, opentelemetry, ...) than v0.5.5, adding real
compile time to `make build-host-agent-deb` on a cold Go build cache.
main was already passing test-packaging at 273s against a 300s
(-timeout 5m) budget before this bump, so the added compile time pushed
a cold CI run over the edge (test timed out mid-build, no assertion
failure). Bump to 10m for headroom; the suite itself still finishes in
under 3 minutes with a warm cache.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants