Watch Aspire live streamsDocsTry Aspire

KubernetesAspireDashboardResource.withOtlpServicePort

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
interface KubernetesAspireDashboardResource {
// ... omitted for brevity
withOtlpServicePort(
grpcPort?: number,
httpPort?: number): KubernetesAspireDashboardResource;
}

Signature

methodwithOtlpServicePortbuilder
Sets the Kubernetes Service ports for the Aspire Dashboard OTLP endpoints.
withOtlpServicePort(
grpcPort?: number,
httpPort?: number): KubernetesAspireDashboardResource
grpcPortnumberoptional
httpPortnumberoptional
KubernetesAspireDashboardResource

Defined on

This method is defined on the following type: