K3sClusterResource.WithLifetime
Method
type K3sClusterResource interface { // ... omitted for brevity WithLifetime(lifetime ContainerLifetime) K3sClusterResource}Signature
method
WithLifetime builderSets the container lifetime for the k3s cluster and all its agent nodes.
WithLifetime(lifetime ContainerLifetime) K3sClusterResourceParameters
lifetimeContainerLifetime The container lifetime to apply.Returns
K3sClusterResource The same builder, for chaining.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: