WithAgentCount
Method
func (K3sClusterResource) WithAgentCount(count float64) K3sClusterResourceSignature
method
WithAgentCount builderSets the number of k3s agent (worker) nodes to add to the cluster.
WithAgentCount(count float64) K3sClusterResourceParameters
countfloat64The 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 The same builder, for chaining.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: