This message was deleted.
# rancher-desktop
a
This message was deleted.
h
I'm trying to use a local path as my PV
Copy code
apiVersion: v1
kind: PersistentVolume
metadata:
  name: LocalPV
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 20Gi
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: <http://kubernetes.io/hostname|kubernetes.io/hostname>
          operator: In
          values:
          - masternode
  persistentVolumeReclaimPolicy: Delete
  storageClassName: local-path
  local:
    path: /some/path/somewhere
  volumeMode: Filesystem
Am I missing something for this to function with WSL?