Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithClusterReadyTimeout

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
func (K8sManifestResource) WithClusterReadyTimeout(timeout float64) K8sManifestResource

Signature

methodWithClusterReadyTimeoutbuilder
Sets the maximum time to wait for the Kubernetes API to become reachable before running kubectl apply.
WithClusterReadyTimeout(timeout float64) K8sManifestResource
timeoutfloat64The total readiness budget shared across repeated kubectl cluster-info probes. Values are normalized to whole seconds and must fall within the supported timeout range.
K8sManifestResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: