Skip to content
Docs Try Aspire
Docs Try

KubernetesAspireDashboardResource.withServicePort

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

Signature

method withServicePort builder
Sets the Kubernetes Service port for the Aspire dashboard
withServicePort(port?: number): KubernetesAspireDashboardResource
port number optional
KubernetesAspireDashboardResource

Defined on

This method is defined on the following type: