Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: