본문 바로가기
클라우드 및 인프라/Kubernetes

[Helm] Mac에 Helm 설치하기

by 작은소행성 2023. 4. 21.

Helm 이란 

deployment, service, ingress 등 yaml 파일을 하나의 패키지로 관리하기 위해 사용하는 도구로

yaml 내용이 변하면 한번에 처리가 가능해서 간편하다. 

 

Helm 설치하기 

$ brew install helm

Helm 설치 참고 사이트

https://helm.sh/docs/intro/install/

 

Installing Helm

Learn how to install and get running with Helm.

helm.sh

 

Helm Chart Repository 초기화

$ helm repo add stable bitnami https://charts.helm.sh/stable

 

Helm Repository

헬름이 준비되면 차트 리포지토리를 추가할 수 있다. 

다운 가능한 리포지토리는 Artifact Hub 에서 확인한다. 

## helm repo add {레포지토리 이름} {레포지토리 주소}
$ helm repo add bitnami https://charts.bitnami.com/bitnami

 

Helm Repository Chart 조회 

$ helm search repo {리포지토리 이름}

리포지토리 추가가 완료되면 설치할 수 있는 차트들의 목록을 볼 수 있다.

$ helm search repo grafana

 

 

 

Helm Release (install) 

차트 설치는 아래 명령어를 사용한다. 

$ helm install [release-name] [chart 생성경로]

 

Helm Release List 

헬름을 사용해 릴리스된 내용을 확인할 수 있다.

$ helm ls

 

 

Local의 helm chart 저장소를 최신 목록으로 갱신한다

$ helm repo update

 

 

ArtifactHUB 에서 빨간 상자 부분에서 value 에 대한 정보를 볼 수 있다.

 

 

 

 

반응형