Sample code to attach persistent volume claim in kubernetes

Sample code to attach persistent volume claim in kubernetes

This code will add 500Mi to be use as persistent volume claim PVC.


apiVersion: v1

kind: PersistentVolumeClaim

metadata:

  name: pvc1

spec:

  storageClassName: managed-nfs-storage

  accessModes:

    - ReadWriteMany

  resources:

    requests:

      storage: 500Mi

Comments

Popular posts from this blog

Push command for NetWorker Client Upgrade

Factors Affecting Users’ Sense of Security and Trust in Integrating Electronic health record to the cloud

Basic Elastic Cloud Storage Troubleshooting Commands