Minikube PV 바인딩
2025. 1. 1. 22:05ㆍk8s
PV
/mnt는 root로 생성됨
/mnt/test는 pod 작동 계정으로 생성됨
apiVersion: v1
kind: PersistentVolume
metadata:
name: test-pv
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: manual
hostPath:
path: /mnt/test # Path on the host machine
PVC
https://barisein.tistory.com/755
'k8s' 카테고리의 다른 글
Minikube PV와 NFS 연결 (0) | 2025.01.03 |
---|---|
Minikube PV 디렉토리 NFS 마운트 (0) | 2025.01.01 |
Minikube root 권한 얻기 (0) | 2025.01.01 |
Minikube NFS 연동시, Minkube에서 Permission denied 오류 (0) | 2025.01.01 |
Error response from daemon: error while creating mount source path '/mnt/registry': mkdir /mnt/registry: permission denied (0) | 2025.01.01 |