Helm 을 이용해 Nexus 설치하기

참고

1. Helm Repository 추가

helm repo add sonatype https://sonatype.github.io/helm3-charts/

2. Nexus Install

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: <storage class 이름>
namespace: <namespace 명>
volumeBindingMode: Immediate
provisioner: ebs.csi.aws.com
parameters:
type: gp3
reclaimPolicy: Retain
allowVolumeExpansion: true
# reclaimPolicy: Delete

values.yaml

StorageClass 정보 추가

...
persistence:
enabled: true
accessMode: ReadWriteOnce
existingClaim:
# annotations:
# "helm.sh/resource-policy": keep
storageClass: "nexus-ebs"
storageSize: 20Gi
# If PersistentDisk already exists you can create a PV for it by including the 2 following keypairs.
# pdName: nexus-data-disk
# fsType: ext4

tolerations: []
Share