-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync Service API status rest storage #120623
sync Service API status rest storage #120623
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/sig network |
The Service API Rest implementation is complex and has to use different hooks on the REST storage. The status store was making a shallow copy of the storage before adding the hooks, so it was not inheriting the hooks. The status store must have the same hooks as the rest store to be able to handle correctly the allocation and deallocation of ClusterIPs and nodePorts. Change-Id: I44be21468d36017f0ec41a8f912b8490f8f13f55 Signed-off-by: Antonio Ojea <[email protected]>
c3eed28
to
21e2648
Compare
unrelated |
hmm, I wonder if anyone else hits this.. |
Seems not. Yet again, Service out here, doing weird stuff on our own. It makes me question the design of subresources being wholly independent from the main resource. Seems like a trap. /lgtm |
LGTM label has been added. Git tree hash: e988b25a4315c46e2dc4777853746bca1f83ad3c
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, thockin 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 |
/test pull-kubernetes-e2e-kind |
everyone using loadbalancers #120536 , the clusterip and nodeport reconcilers saved us multiple times, I'm going to add a metrics to expose how many times so we can be more proactive |
…3-upstream-release-1.27 Automated cherry pick of #120623: sync Service API status rest storage
…3-upstream-release-1.26 Automated cherry pick of #120623: sync Service API status rest storage
…3-upstream-release-1.28 Automated cherry pick of #120623: sync Service API status rest storage
…3-upstream-release-1.25 Automated cherry pick of #120623: sync Service API status rest storage
The Service API Rest implementation is complex and has to use different hooks on the REST storage. The status store was making a shallow copy of the storage before adding the hooks, so it was not inheriting the hooks.
The status store must have the same hooks as the rest store to be able to handle correctly the allocation and deallocation of ClusterIPs and nodePorts.
/kind bug
Fixes #120536