「NEXUS」- 部署 | 安装升级 | 服务简单部署

on Kubernetes with Helm Chart

文档 | https://help.sonatype.com/en/installation-methods.html#installing-with-the-helm-chart

nexus-repository-manager

nexus-repository-manager 64.2.0 · sonatype/sonatype

— As of October 24, 2023, we will no longer update or support this Helm chart. We now provide one
https://github.com/sonatype/nxrm3-ha-repository/tree/main/nxrm-ha that supports both high availability and resilient deployments in AWS, Azure, or on-premises in a Kubernetes cluster. This is our only supported Helm chart for deploying Sonatype Nexus Repository; it requires a PostgreSQL database.

https://github.com/sonatype/nxrm3-helm-repository/tree/main

— As of October 24, 2023, we will no longer update or support the Single-Instance OSS/Pro Helm Chart. Deploying Nexus Repository in containers with an embedded database has been known to corrupt the database under some circumstances. We strongly recommend that you use an external PostgreSQL database for Kubernetes deployments.

该仓库已归档,官方不再支持。

nxrm-ha

https://artifacthub.io/packages/helm/sonatype/nxrm-ha

— NOTE: Sonatype does not support or plan to support using a Helm chart for deployments using embedded databases, which includes all OSS deployments. Using Kubernetes to manage an application with an embedded database is a leading cause of corruption, outages, and data loss.

该 Chart 需要填写 license 信息,似乎仅用于 Pro 版本部署,不支持 OSS 版本部署。

修改 Ingress、StorageClass 参数

helm upgrade --install --namespace nexus-system --create-namespace \
    nexus ./nexus-repository-manager-60.0.0.tgz \
    -f nexus-repository-manager-60.0.0.tgz.helm-values.yaml