You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf985fa
Browse filesBrowse the repository at this point in the historyBrowse files
* Add proxyless endpoint on-demand allocation
Allow dynamic proxyless container endpoints to allocate a target-port fallback when an endpoint reference requires an allocated endpoint before container creation. Disable the on-demand allocator once container ports are built so later resolution continues to use DCP service updates.
Co-authored-by: Copilot <[email protected]>
* Log proxyless endpoint fallback allocation
Log when a dynamic proxyless container endpoint is resolved before container creation and Aspire assigns the public port to match the target port.
Co-authored-by: Copilot <[email protected]>
* Use atomic proxyless allocator cutoff
Replace the endpoint allocation cutoff lock with an atomic exchange so BuildContainerPorts remains the point where on-demand proxyless endpoint allocation stops.
Co-authored-by: Copilot <[email protected]>
* Remove proxyless allocator clear helper
Use the atomic OnDemandAllocatedEndpointProvider setter directly at the BuildContainerPorts cutoff instead of a dedicated clear wrapper.
Co-authored-by: Copilot <[email protected]>
* Simplify proxyless allocator provider storage
Co-authored-by: Copilot <[email protected]>
* Move proxyless allocator cutoff into port build
Co-authored-by: Copilot <[email protected]>
* Move on-demand endpoint allocation ownership to resource
Co-authored-by: Copilot <[email protected]>
* Clarify on-demand endpoint allocation lifecycle
Co-authored-by: Copilot <[email protected]>
* Simplify resource-owned endpoint allocation
Co-authored-by: Copilot <[email protected]>
* Move proxyless allocation cutoff after configuration
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: David Negstad <[email protected]>
Co-authored-by: Copilot <[email protected]>
thrownewInvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.EndpointAnnotation.Name}' since it isn't using a proxy.");
"Endpoint '{EndpointName}' on container resource '{ResourceName}' was resolved before the container was created, so Aspire is assigning public port {PublicPort} to match target port {TargetPort} for proxyless access.",
0 commit comments