Skip to content
DocsTry Aspire
DocsTry

KubernetesAspireDashboardResource.withOtlpServicePort

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
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: