Skip to content
Docs Try Aspire
Docs Try

KubernetesAspireDashboardResource.withOtlpServicePort

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

Signature

method withOtlpServicePort builder
Sets the Kubernetes Service ports for the OTLP endpoints
withOtlpServicePort(
grpcPort?: number,
httpPort?: number): KubernetesAspireDashboardResource
grpcPort number optional
httpPort number optional
KubernetesAspireDashboardResource

Defined on

This method is defined on the following type: