Skip to content
Docs Try Aspire
Docs Try

withOtlpServicePort

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

Signature

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

Applies to

This method applies to the following types: