withKubernetesPersistentVolumeMount
Method
interface ContainerResource { // ... omitted for brevity withKubernetesPersistentVolumeMount( volume: KubernetesPersistentVolumeResource, mountPath: string, isReadOnly?: boolean): IComputeResource;}Signature
method
withKubernetesPersistentVolumeMountbuilderBinds a workload to a Kubernetes persistent volume and mounts it at a path
withKubernetesPersistentVolumeMount( volume: KubernetesPersistentVolumeResource, mountPath: string, isReadOnly?: boolean): IComputeResourceParameters
volumeKubernetesPersistentVolumeResourcemountPathstringisReadOnlybooleanoptional= FalseReturns
IComputeResourceApplies to
This method applies to the following types: