Repository navigation
Conversation
k0s-bot
enabled auto-merge
November 14, 2026 00:43
k0s-bot
force-pushed
the
renovate/main-konnectivity
branch
4 times, most recently
from
November 16, 2026 12:41
6a66314 to
a9375f4
Compare
| var statusErr *apierrors.StatusError | ||
| if !errors.As(err, &statusErr) { | ||
| // https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/v0.37.0/pkg/server/backend_manager.go#L457 | ||
| // https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/v0.37.1/pkg/server/backend_manager.go#L457 |
Contributor
There was a problem hiding this comment.
I'm not fixing this yet because we need to bump quay.io/k0sproject/apiserver-network-proxy-agent image first
k0s-bot
force-pushed
the
renovate/main-konnectivity
branch
12 times, most recently
from
November 20, 2026 16:28
af80fd4 to
f2499a5
Compare
Signed-off-by: k0s-bot <110385897+k0s-bot@users.noreply.github.com>
k0s-bot
force-pushed
the
renovate/main-konnectivity
branch
from
November 20, 2026 20:28
f2499a5 to
8951bdd
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.37.0→0.37.1v0.37.0→v0.37.1Release Notes
kubernetes-sigs/apiserver-network-proxy
v0.37.1: ANP v0.37.1 ReleaseCompare Source
SECURITY
Go released a critical security fix, so the build now requires Go 1.27.3
via GOTOOLCHAIN, and the Docker build uses the same version. The linter was
updated to work with it.
RELIABILITY FIXES
A dial timeout no longer drops a healthy agent (#924).
Before, if sending a dial request to an agent timed out, the server retired
the whole agent connection and cut every other tunnel using it. Now only
that one dial fails. Waiting for the send lock can also be cancelled, so
expired requests are never sent.
Client Close() no longer blocks.
conn.Close() used to wait up to 10 seconds for the server to confirm the
close. A webhook call with a 10s timeout could therefore take 20s and hold
an apiserver goroutine the whole time. Close() now returns right away and
waits for the confirmation in the background.
The agent no longer closes the wrong connection.
When a server connection died, two cleanup paths could each try to remove
it. If the agent reconnected in between, the second removal killed the new,
healthy connection. Removal now checks that it is removing the same client.
Fixed an agent crash on auth setup failure (#927).
If the auth context failed to initialize, the agent could crash with a nil
pointer error and lose the real error. Both problems are fixed.
Pending-dial counts stay accurate.
Some cleanup paths skipped updating the pending_backend_dials gauge or the
per-agent count of dials in progress. Every path now updates them.
FEATURES AND TUNING
The server prefers faster agents for new dials.
The server used to send every agent an equal share of new dials, even one
too short on CPU to dial quickly. It now estimates how long each agent will
take to dial and avoids clearly slow ones. In testing, mean dial time fell
from 31ms to 5ms.
New --keepalive-timeout flag on server and agent.
You can now set how long each side waits for a keepalive ping reply before
closing the connection (default 20s, same as before). With short keepalive
values, dead connections behind load balancers or NAT are found in seconds
instead of minutes.
Fewer wasted reconnects with --sync-forever.
With --count-server-leases, the agent stops dialing once it is connected to
every server. Before, it opened a new connection every sync interval,
causing churn on the load balancer and NAT and noise in the logs.
Forward HTTP proxying.
The HTTP frontend now forwards plain http:// requests like GET and POST
through agent tunnels, not just CONNECT requests. The
--backend-dial-timeout help text now covers these dials.
OBSERVABILITY
Agent: server_connection_lost_total (by reason) and
server_connection_attempts_total (by result).
Server: established_connections_closed_total (by reason) and
backend_connection_duration_seconds.
These record short outages that a gauge can miss between scrapes.
TOOLING AND DOCS
examples/kubernetes-troubleshooting has scripts and write-ups for
reproducing proxy failures in a kind cluster, such as connection resets,
CPU-starved agents and NAT behaviour. The tools tunnel-probe, webhook-load
and test-webhook now live under cmd/.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate CLI.