❤️
악분의 ArgoCD 공부기록
  • Home
  • Argo CD 소개
    • 실습자료
    • 컨셉과 장단점
    • 설치
    • 아키텍처
  • ArgoCD CLI 설치
    • 설치
    • login
  • ARGO CD HelloWorld
    • nginx pod, service 배포
  • ARGO CD 단위
    • 소개
    • Applicaiton
    • Project
  • Sync 설정
    • 소개
    • Refresh Period
    • 수동 Refresh
    • Sync와 Sync Policy
    • Sync Status
    • Health Status
    • Prune
    • Directory Recurse
    • Self healing
    • Ignore Difference
    • Non Cascade 삭제
    • ArgoCD로 관리되는지 확인
    • 기존 리소스 연결
    • helm chart
    • kustomize
  • Sync LifeCycle
    • Phases
  • private repository
    • 소개
    • git private repo 관리
  • User 관리
    • 소개
    • Argo CD user
    • Built-in user
    • Local user 생성
    • 권한(Role) 관리
  • Argo CD Project
    • Project란?
    • Project 생성 예제
    • Project 설정
    • Project 설정 예제
    • Project 권한(Role)과 예제
  • App of Apps
    • App of Apps 패턴
  • Multi cluster 관리
    • 클러스터 추가
  • 모니터링
    • 소개
    • Argo CD Metrics 추가
    • Prometheus Operator 설치
Powered by GitBook
On this page
  • releaes 방법
  • helm 차트 저장소 주소 지정
  • git 주소 지정
  • helm values override
  • Helm 차트 release 원리
  1. Sync 설정

helm chart

Previous기존 리소스 연결Nextkustomize

Last updated 2 years ago

Argo cd에서 helm차트를 release방법을 설명합니다. 이 글은 Argo cd WEB UI를 이용합니다.

releaes 방법

Argo cd에서 helm차트 release 방법은 2가지 입니다. helm release설정은 Argo cd application생성 과정 중 source에서 설정합니다.

Argo cd에서 helm차트를 사용하는 방법은 2가지 입니다.

  • helm 차트 저장소 주소를 지정

  • git주소 지정

helm 차트 저장소 주소 지정

첫 번째 방법은 helm차트 저장소 주소를 지정하는 방법입니다.

helm차트 저장소를 선택하려면 ① source타입을 “HELM”을 선택하면 됩니다. 그리고 helm차트 주소를 지정하면 helm차트 목록과 helm차트 버전이 자동으로 출력됩니다.

git 주소 지정

두 번째 방법은 git에 있는 helm차트 경로를 직접 지정하는 방법입니다. “GIT’타입을 선택 한 후 git 주소 helm차트 경로를 지정하면 됩니다.

helm values override

Argo cd에서도 helm차트 values를 override할 수 있습니다. source에서 helm차트를 지정하고 스크롤을 아래로 내리면 helm values를 설정하는 화면이 나옵니다.

아래 그림처럼 helm차트 경로에 다른 values.yaml을 지정해서 helm values를 override할 수 있습니다.

또는 필드 1개씩 입력하여 helm values를 override할 수 있습니다.

Helm 차트 release 원리

Argo cd는 helm install명령어로 차트를 release하지 않습니다. helm template으로 차트를 렌더링하고 deploy합니다. 아래 명령어와 동작이 비슷합니다. 그래서 helm ls 명령어로 helm release, helm rollback 등 helm 관리 명령어를 적용할 수 없습니다.

helm template | kubectl apply -f

아래 예제는 “” helm차트 저장소를 사용하고 fastapi 0.1.0버전 helm차트를 사용했습니다.

https://build-deploy-pipeline.github.io/helm-charts/
참고자료:
https://argo-cd.readthedocs.io/en/stable/faq/#after-deploying-my-helm-application-with-argo-cd-i-cannot-see-it-with-helm-ls-and-other-helm-commands