Create Persistence Volume Claims
#
Create a PVC#
Navigate to Cluster Management > Storage > Persistence Volume Claims#
Create a new 100GB PVC#
Save your PVC name#
Mount PVC to pod#
Create a New pod from WorkloadapiVersion: v1kind: Podmetadata: name: nignx-with-pvc namespace: defaultspec: volumes: - name: nginx-vol persistentVolumeClaim: claimName: bigstack-k8s-vol containers: - name: task-pv-container image: nginx ports: - containerPort: 80 name: "http-server" volumeMounts: - mountPath: "/usr/share/nginx/html" name: nginx-vol
#
Check the mount point