Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithWorkerNodes

Method
📦 CommunityToolkit.Aspire.Hosting.Kind v13.5.1-beta.895
func (IKindResource) WithWorkerNodes(count float64) IKindResource

Signature

methodWithWorkerNodesbuilder
Sets the number of worker nodes for the Kind cluster.
WithWorkerNodes(count float64) IKindResource
countfloat64The number of worker nodes. Must be zero or greater.
IKindResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types: