K3sClusterResource.withDataVolume
Method
interface K3sClusterResource { // ... omitted for brevity withDataVolume(name?: string): K3sClusterResource;}Signature
method
withDataVolumebuilderMounts a named Docker volume at the k3s data directory so cluster state persists across AppHost restarts.
withDataVolume(name?: string): K3sClusterResourceParameters
namestringoptionalReturns
K3sClusterResourceDefined on
This method is defined on the following type: