728x90
목차
helm repository 생성
helm repo list 추가
Repository URL을 복사한다.
아래 커맨드를 순서대로 따라한다.
helm repo 추가 커맨드 : helm repo add ${name} ${url}
여기서 name은 내가 정하는 것이고, url은 바로 위에 이미지에서 복사한 것을 붙여넣는다.
[root@docker04 nexus-charts]# helm repo list
NAME URL
jupyterhub https://jupyterhub.github.io/helm-chart/
cetic https://cetic.github.io/helm-charts
[root@docker04 nexus-charts]# helm repo add nexus http://10.10.10.10:1024/repository/custom-helm-1/
"nexus" has been added to your repositories
[root@docker04 nexus-charts]# helm repo list
NAME URL
jupyterhub https://jupyterhub.github.io/helm-chart/
cetic https://cetic.github.io/helm-charts
nexus http://10.10.10.10:1024/repository/custom-helm-1/
helm 패키징 후 저장소에 upload
[root@docker04 helm]# ll
total 0
drwxr-xr-x 4 root root 75 Apr 18 14:14 nexus
drwxr-xr-x 5 root root 183 Apr 17 19:55 nexus3
drwxr-xr-x 3 root root 50 Mar 18 11:55 nginx
drwxr-xr-x 3 root root 23 Apr 8 19:23 nifi
drwxr-xr-x 14 root root 259 Mar 22 10:14 portfolio
drwxr-xr-x 3 root root 22 Mar 18 11:46 superset
[root@docker04 helm]# helm package nexus3/
Successfully packaged chart and saved it to: /opt/apps/kubernetes/helm/nexus3-4.42.1.tgz
[root@docker04 helm]# ll
total 24
drwxr-xr-x 4 root root 75 Apr 18 14:14 nexus
drwxr-xr-x 5 root root 183 Apr 17 19:55 nexus3
-rw-r--r-- 1 root root 24181 Apr 18 14:16 nexus3-4.42.1.tgz
drwxr-xr-x 3 root root 50 Mar 18 11:55 nginx
drwxr-xr-x 3 root root 23 Apr 8 19:23 nifi
drwxr-xr-x 14 root root 259 Mar 22 10:14 portfolio
drwxr-xr-x 3 root root 22 Mar 18 11:46 superset
[root@docker04 helm]# curl -F file=@nexus3-4.42.1.tgz -u admin:1234 http://10.10.10.10:1024/service/rest/v1/components?repository=custom-helm-1
[root@docker04 helm]#
저장소에 업로드한 nexus를 helm으로 install
[root@docker04 helm]# helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "nexus" chart repository
...Successfully got an update from the "cetic" chart repository
...Successfully got an update from the "jupyterhub" chart repository
Update Complete. ⎈Happy Helming!⎈
[root@docker04 helm]# helm install nexus/nexus3 --generate-name
NAME: nexus3-1713419269
LAST DEPLOYED: Thu Apr 18 14:47:49 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
***********************************************************************
* Nexus3 *
***********************************************************************
Chart version: 4.42.1
App version: 3.67.1
Image tag: ghcr.io/cloudmoa/nexus3:latest
***********************************************************************
728x90
'Infrastructure > Docker & Kubernetes' 카테고리의 다른 글
[kubernetes] Github Package로 Container Registry 사용방법 (1) | 2024.04.27 |
---|---|
[kubernetes] CentOS에서 nexus-helm 설치 따라하기 (0) | 2024.04.20 |
[kubernetes] nexus docker 저장소 생성 후 push & pull (0) | 2024.04.20 |
[kubernetes] pv, pvc, storageClass 개념 (0) | 2024.04.16 |
[kubernetes] on-premise 내부 환경 적합한 Service Type 비교 (0) | 2024.04.11 |