K8S中使用SubPath

对于使用共享目录的volumeMounts,比如一个目录有数据目录和日志目录都需要挂载,只需定义一个name。

posted @ 2020-04-21 14:22  ainimore  阅读(3605)  评论(0编辑  收藏  举报