cluster-api-ipam-provider-in-cluster icon indicating copy to clipboard operation
cluster-api-ipam-provider-in-cluster copied to clipboard

Reusing IP addresses immediately after they've been released causes issues during rolling upgrades

Open mcbenjemaa opened this issue 7 months ago • 4 comments

Describe the solution you'd like [A clear and concise description of what you want to happen.]

On K8s upgrades, the new and old nodes are part of a cluster until the new nodes become ready. There is a race condition where the IP is the same, which confuses the API server and prevents the old nodes from being cleaned up.

We are sure that this won't happen if we prevent the use of an already released IP immediately. Using released IPs will be possible after some Delays like 5m

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

/kind feature

mcbenjemaa avatar Apr 09 '25 13:04 mcbenjemaa

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 08 '25 16:07 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Aug 07 '25 17:08 k8s-triage-robot

/remove-lifecycle rotten

schrej avatar Aug 08 '25 09:08 schrej

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Nov 06 '25 09:11 k8s-triage-robot