Skip to content

CFP: Multi-pool remaining IPs metric #35366

@CallMeFoxie

Description

@CallMeFoxie

Cilium Feature Proposal

Is your proposed feature related to a problem?
Not really a bug, but a usability CFP.

Describe the feature you'd like
As of right now I have no easy way to detect that IPs are about to run out. There's a metric called cilium_ipam_capacity which is remaining IPs allocated to the node, but it doesn't take into account that the operator in multi-pool mode can allocate more IP subnets to each node.

I am not the first one to ask this - there was #25470 (comment) but I couldn't find any relevant issue from that comment.

(Optional) Describe your proposed solution
A metric called cilium_remaining_ips{pool="..."} for each pool (or some similar sounding metric name), either listing the amount of subnets it can still allocate or IP count it can allocate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ipamIP address management, including cloud IPAMarea/metricsImpacts statistics / metrics gathering, eg via Prometheus.help-wantedYou can help! Post a detailed plan on the issue or create a PR to solve this issue.kind/cfpCilium Feature Proposalkind/featureThis introduces new functionality.pinnedThese issues are not marked stale by our issue bot.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions