Skip to content

Conversation

@ipochi
Copy link
Contributor

@ipochi ipochi commented Sep 11, 2025

fixes : #739

we only accept the server count from a server that we have successfully added to our active client set, implicitly ignoring stale data from duplicate connection attempts.

This problem in seen in all previous verison as well so this will need to be backported from v0.31 branch onwards where the a new logic is introduced to enable lease-counting.

However, that means additional dependency on kube-apiserver/etcd for the basic functionality of apiserver-network-proxy. If lease-counting is not enabled, then the problem remains of stale metadata.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 11, 2025
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 11, 2025
@ipochi
Copy link
Contributor Author

ipochi commented Sep 11, 2025

@cheftako @jkh52 Please review the change.

@ipochi ipochi requested review from cheftako and jkh52 September 11, 2025 20:21
@ipochi
Copy link
Contributor Author

ipochi commented Sep 17, 2025

@cheftako @jkh52 friendly ping.

@cheftako
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 17, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheftako, ipochi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 62bba95 into kubernetes-sigs:master Sep 17, 2025
22 checks passed
ipochi pushed a commit to kinvolk/apiserver-network-proxy that referenced this pull request Sep 17, 2025
…ervercount-update

fix: avoid stale server count update
(cherry picked from commit 62bba95)
ipochi pushed a commit to kinvolk/apiserver-network-proxy that referenced this pull request Sep 17, 2025
…ervercount-update

fix: avoid stale server count update
(cherry picked from commit 62bba95)
ipochi pushed a commit to kinvolk/apiserver-network-proxy that referenced this pull request Sep 17, 2025
…ervercount-update

fix: avoid stale server count update
(cherry picked from commit 62bba95)
k8s-ci-robot added a commit that referenced this pull request Sep 19, 2025
…-release-0.33

Backport merge commit of #775 to release-0.33
k8s-ci-robot added a commit that referenced this pull request Sep 19, 2025
…-release-0.32

Backport merge commit of #775 to release-0.32
k8s-ci-robot added a commit that referenced this pull request Sep 19, 2025
…-release-0.31

Backport merge commit of #775 to release-0.31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent maintains stale server count metadata leading to incomplete connections in rolling update scenario (non-lease controller mode)

3 participants