Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.6k views
in Technique[技术] by (71.8m points)

k8s pod 挂载 $home的问题

各位好, 我需要将一个文件挂载到 container中的 $home目录下, 但是 如果我直接在mountvolume里定义地址为$home, pod创建成功后, 在根路径下会有一个'$home' 的地址 但该地址无法进入且也不是真正的home目录. 所以我想请问一下, 如何在 pod中定义挂载的时候, 把home目录挂载进去,谢谢!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...