withLifetime
Method
interface K3sClusterResource { // ... 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 Applies to
This method applies to the following types: