Create a Persistent Volume Claim (PVC) (preview)
The PVC is a persistent volume claim against the persistent volume that you can use to mount a Kubernetes pod.
This size does not affect the ceiling of blob storage used in the cloud to support this local cache. Note the name of this PVC, as you need it when you create your application pod.
Create PVC
Create a file named pvc.yaml with the following contents:
apiVersion: v1 kind: PersistentVolumeClaim metadata: ### Create a name for your PVC ### name: CREATE_A_NAME_HERE ### Use a namespace that matched your intended consuming pod, or "default" ### namespace: INTENDED_CONSUMING_POD_OR_DEFAULT_HERE spec: accessModes: - ReadWriteMany resources: requests: storage: 5Gi storageClassName: esa volumeMode: Filesystem ### This name references your PV name in your PV config ### volumeName: INSERT_YOUR_PV_NAME
Note
If you intend to use your PVC with the Azure IoT Operations Data Processor, use
azure-iot-operations
as thenamespace
on line 7.To apply this .yaml file, run:
kubectl apply -f "pvc.yaml"
Next steps
After you create a Persistent Volume Claim (PVC), attach your app (Azure IoT Operations Data Processor or Kubernetes Native Application):
Feedback
https://aka.ms/ContentUserFeedback.
Disponibbli dalwaqt: Matul l-2024 se nkunu qed inwaqqfu gradwalment Problemi GitHub bħala l-mekkaniżmu ta’ feedback għall-kontenut u se nibdluh b’sistema ġdida ta’ feedback. Għal aktar informazzjoni, ara:Issottometti u ara feedback għal