moby / moby/libnetwork

[Proposal] publish the endpoint's node location information to IPAM driver in swarm mode cluster.

Open
#1,738 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

In the swarm mode cluster, the task's IP address allocated by the manager node's IPAM,not the task's node's IPAM driver. Some drivers allocate ip range to nodes like "calico-ipam driver" can not works on swarm mode. So libnetwork should publish the endpoint's node location to IPAM driver to find which IP should be allocate to the endpoint.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how swarm-mode tasks receive IP addresses from the manager node's IPAM and how the IPAM driver is called. Determine how the endpoint's node location could be exposed to the driver, and consider the calico-ipam limitation described in the issue. Done means node-aware allocation works for swarm endpoints without breaking existing IPAM behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.