如何在Kubernetes Pod中使用特定的UID挂载卷?
因此,我正在尝试根据Kubernetes中的此映像来运行Nexus ,但是失败了: mkdir: cannot create directory '../sonatype-work/nexus3/log': Permission denied mkdir: cannot create directory '../sonatype-work/nexus3/tmp': Permission denied Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file ../sonatype-work/nexus3/log/jvm.log due to No such file or directory 从文档中可以看出,该进程以UID 200运行,并且必须使用以下许可权挂载该卷: A persistent directory, /nexus-data, is used for configuration, logs, and storage. This directory needs to …