KubernetesPersistentVolumeResource.withCapacity
Method
interface KubernetesPersistentVolumeResource { // ... omitted for brevity withCapacity(capacity: string): KubernetesPersistentVolumeResource;}Signature
method
withCapacity builderSets the requested storage capacity for a persistent volume
withCapacity(capacity: string): KubernetesPersistentVolumeResourceParameters
capacitystringA Kubernetes quantity string (e.g. `"10Gi"`, `"500Mi"`).Returns
KubernetesPersistentVolumeResource Defined on
This method is defined on the following type: