一、k8s volumes
1、k8s存储之emptyDir、hostPath和nfs存储卷
emptyDir:
kubectl get pod -o yaml | grep nodeName nodeName: k8s-node1 kubectl get pod -o yaml | grep uid uid: e70923f9-156a-4fde-98be-e77f3f65fbd9 #临时目录在k8s-node1节点 tree /var/lib/kubelet/pods/e70923f9-156a-4fde-98be-e77f3f65fbd9/volumes/...
hostPath
NFS
configMap
secret