---
kind: PersistentVolume
apiVersion: v1
metadata:
name: task-pv-volume
namespace: proteus
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data"
volumeClaimTemplates:
- metadata:
name: logs
spec:
storageClassName: manual
resources:
requests:
storage: 10Gi
accessModes:
- ReadWriteOnce
kubectl get pods -o wide --sort-by="{.spec.nodeName}"