K3sClusterResource.withAgentCount
Method
interface K3sClusterResource { // ... omitted for brevity withAgentCount(count: number): K3sClusterResource;}Signature
method
withAgentCount builderSets the number of k3s agent (worker) nodes to add to the cluster.
withAgentCount(count: number): K3sClusterResourceParameters
countnumberThe number of agent nodes. Zero or greater. Defaults to `0` (single-node cluster — the server node acts as both control-plane and worker).Returns
K3sClusterResource Defined on
This method is defined on the following type: