有一个 Nexus 的舵图:https://github.com/helm/charts/tree/master/stable/sonatype-nexus https://github.com/helm/charts/tree/master/stable/sonatype-nexus
我像使用 helm 一样安装它:
helm install stable/sonatype-nexus --name=nexus
但由于 Nexus-proxy 的原因,它不起作用。有 nexus-proxy 容器的日志:
[vert.x-eventloop-thread-0]
[io.vertx.ext.web.impl.RoutingContextImplBase] 中出现意外异常
路线
所以,我开始谷歌并找到了那个帖子:https://github.com/travelaudience/nexus-proxy/issues/4 https://github.com/travelaudience/nexus-proxy/issues/4
除了这个之外我们没有答案:
我遇到了这个错误。使用 imageTag=2.2.0 解决了以下问题
我。
所以我删除了 Nexus 版本并安装了该图表,如下所示:
helm install stable/sonatype-nexus --name=nexus -f nexus.yml
nexus.yml 是替换了 nexus-proxy 图像标签值的文件https://github.com/helm/charts/blob/master/stable/sonatype-nexus/values.yaml https://github.com/helm/charts/blob/master/stable/sonatype-nexus/values.yaml
现在,当我击中http://localhost-8080.com/ http://localhost:8080/我明白了:
无效的主机。要浏览 Nexus,请单击此处/。使用 Docker
注册表,将您的客户端指向 .
塔达姆,我做错了什么?
我尝试在 mac 上的 kubernetes 中安装此图表。我尚未在 GKE 上成功安装此图表