I'm not sure if I have a configuration error or I just don't know where to look but I can't seem to find where my files are being stored with these configurations
apiVersion: v1
kind: PersistentVolume
metadata:
name: tmp-storage
spec:
storageClassName: manual
capacity:
storage: 2Gi
accessModes:
- ReadWriteMany
hostPath:
path: /tmp/netes
type: Directory
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: tmp-storage-claim
spec:
storageClassName: manual
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
Deployment
spec:
volumes:
- name: abcd
persistentVolumeClaim:
claimName: tmp-storage-claim
containers:
...
volumeMounts:
- mountPath: '/tmp'
name: abcd
I've tried accessing the docker desktop vm with docker run -it --rm --privileged --pid=host justincormack/nsenter1
but there is nothing inside /tmp
There's also nothing on my computer inside /tmp
I've also tried looking in /Users/username/.docker/Volumes/
but I have no volumes directory in that location
/tmp
directory is listed as a shared folder underresources/file sharing
– Chenoweth