KubernetesAspireDashboardResourceBuilderExtensions
Classstaticnet10.0
Provides extension methods for creating Aspire Dashboard resources in the application model.
namespace Aspire.Hosting;
public static class KubernetesAspireDashboardResourceBuilderExtensions{ // ...}Methods3
Section titled MethodsIResourceBuilder<KubernetesAspireDashboardResource> Configures whether forwarded headers processing is enabled for the Aspire dashboard container.
WithOtlpServicePort(IResourceBuilder<KubernetesAspireDashboardResource>, int?, int?)extensionats exportIResourceBuilder<KubernetesAspireDashboardResource> Sets the Kubernetes Service ports for the Aspire Dashboard OTLP endpoints.
IResourceBuilder<KubernetesAspireDashboardResource> Sets the Kubernetes Service port for the Aspire Dashboard HTTP endpoint.