Skip to content
DocsTry Aspire
DocsTry

K3sClusterResource.withAgentCount

Method
📦 CommunityToolkit.Aspire.Hosting.K3s v13.5.0
interface K3sClusterResource {
// ... omitted for brevity
withAgentCount(count: number): K3sClusterResource;
}

Signature

methodwithAgentCountbuilder
Sets the number of k3s agent (worker) nodes to add to the cluster.
withAgentCount(count: number): K3sClusterResource
countnumber
K3sClusterResource

Defined on

This method is defined on the following type: