Skip to content

pkg/azure/ipam: implementation plan for ReleaseIPs - #661

Closed
rifelpet wants to merge 2 commits into
mainfrom
peter.rifel/azure-release-ips-plan
Closed

pkg/azure/ipam: implementation plan for ReleaseIPs#661
rifelpet wants to merge 2 commits into
mainfrom
peter.rifel/azure-release-ips-plan

Conversation

@rifelpet

Copy link
Copy Markdown
Member

Summary

  • Adds implementation plan for ReleaseIPs in pkg/azure/ipam/node.go, which currently returns fmt.Errorf("not implemented")
  • Documents the full change surface: node-level logic, new Azure API methods (VM + VMSS), operator flag wiring, mock updates, and tests

Background

Two compounding gaps prevent IP release from working on Azure:

  1. PrepareIPRelease returns an empty ReleaseAction — no IPs are selected
  2. AllocatorAzure.Start hardcodes releaseExcessIPs=false in NewNodeManager — the node manager never invokes the release path regardless

Both must be fixed together. See pkg/azure/ipam/RELEASE_IPS_PLAN.md for the full plan.

🤖 Generated with Claude Code

rifelpet and others added 2 commits April 29, 2026 10:15
Documents the full scope of changes needed to implement IP release
for Azure IPAM: node-level PrepareIPRelease/ReleaseIPs, new Azure
API methods (VM + VMSS), operator flag wiring, and tests.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@jaredledvina

Copy link
Copy Markdown
Member

This has since been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants