KubernetesAspireDashboardResourceBuilderExtensions
Class static net8.0
Provides extension methods for creating Aspire Dashboard resources in the application model.
namespace Aspire.Hosting;
public static class KubernetesAspireDashboardResourceBuilderExtensions{ // ...}Methods3
Section titled MethodsWithForwardedHeaders(IResourceBuilder<KubernetesAspireDashboardResource>, bool)extensionats exportIResourceBuilder<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.
WithServicePort(IResourceBuilder<KubernetesAspireDashboardResource>, int?)extensionats exportIResourceBuilder<KubernetesAspireDashboardResource> Sets the Kubernetes Service port for the Aspire Dashboard HTTP endpoint.