Share via

How to reserve a private IP from a virtual networks subnet

Justin Obanor 0 Reputation points
2026-04-09T10:55:19.2466667+00:00

I would like to reserve a single IP from a subnet, and only use it explicitly when needed

My kubernetes cluster can get torn down on different occasions, and we have a Kubernetes Service resource of type LoadBalancer

I want to be the one to set the IP for my LoadBalancer for this service, and also ensure the IP stays the same if the Kubernetes cluster gets recreated, or the service itself gets recreated

Is there a way of reserving a single IP from a subnet, which can only later be used explicitly by my resource only when I want

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.