docs-aspire icon indicating copy to clipboard operation
docs-aspire copied to clipboard

Publish .NET Aspire Dashboard to Azure Kubernetes

Open victorsanchezn opened this issue 7 months ago • 5 comments

Hi all,

We have deployed container image of Aspire Dashboard to Azure Kubernetes with a custom domain name i.e. https://apire-dev.domain.com and the dashboard application is being shown, and we are sending logs, traces and metrics from Api project but any logs, traces or metrics are being registered. We also configured the security considerations about header key.

Please let us know if some additional configuration is needed.

victorsanchezn avatar May 13 '25 20:05 victorsanchezn

If it is working, you have security on endpoints, and you've set the options from https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/configuration that are appropriate for your scenario then it sounds like you're done.

JamesNK avatar May 13 '25 22:05 JamesNK

@JamesNK I deployed the .NET Aspire Dashboard using only docker commands so that worked because I want only to use the dashboard as principal monitoring tool for all applications.

Image

But when I send signals (logs, traces and metrics) from any application type (API, Phyton program or browser) then the dashboard doesn't show nothing.

victorsanchezn avatar May 13 '25 23:05 victorsanchezn

This should be a doc about how to setup the standalone dashboard in Kuberentes.

davidfowl avatar May 14 '25 07:05 davidfowl

This should be a doc about how to setup the standalone dashboard in Kuberentes.

Sounds good. Could you (or someone) please provide a working example of how that is done exactly?

IEvangelist avatar May 14 '25 14:05 IEvangelist

Basically, I want to deploy the dashboard in hosted docker image i.e. AKS is being used in my case. I believe that my case is related to that thread [https://github.com/dotnet/aspire/issues/4131]

victorsanchezn avatar May 29 '25 18:05 victorsanchezn