kok202
쿠버네티스 helm

2019. 6. 21. 17:45[정리] 기능별 개념 정리/Kubernetes

Helm 의 사전적 의미 : 지휘

Tiller 의 사전적의미  : 지휘자

helm 쿠버네티스 패키지 매니저, chart 관리도구
chart yaml 파일의 집합
config chart 에 사용할 설정
release chart 를 실행중인 인스턴스

 

 

 

 

 

Helm chart

https://github.com/helm/charts/tree/master/stable

ex. mysql, redis, jenkins, elastic search 등...

 

 

 

 

 

Helm client 

  • 차트를 만든다.
  • 차트 압축 파일을 만든다.
  • 차트 저장소에 올린다.
  • 차트 저장소에 있는 차트를 클러스터에 설치한다.

Helm Server ( =Tiller Server)

 

 

 

 

 

1. Helm client 설치

brew install kubernetes-helm

2. Helm client 에 Helm server 설치

helm init

3. Helm server (=tiller server) 가 실행중인 것을 확인

kubectl get pods -n kube-system

4. Helm 저장소 정보를 업데이트 (https://github.com/helm/charts/tree/master/stable)

helm repo update

5. Helm 저장소에 있는 차트 조회

 helm repo list

 

 

 

 

 

예시 Helm 을 통해 Redis 설치

1. Redis 설치

helm install stable/redis

2. Redis 가 설치 된 것을 확인

kubectl get pods

3. 현재 실행중인 helm chart 의 상태 확인

helm ls

4. 차트 이름 (ex. my-chart-name)을 이용하여 실행중인 차트를 삭제

helm del my-chart-name

 

 

 

 

 

위 글은 다음 포스팅을 재구성한 내용입니다.

https://arisu1000.tistory.com/27860

 

helm 기본

helm 소개 helm은 쿠버네티스 패키지 매니저 입니다. 쿠버네티스를 사용하다보면 결국 수많은 YAML파일들을 관리해야 됩니다. helm에서는 이런 YAML파일들의 집합을 차트(chart)라고하고, 이 차트를 관리할 수 있..

arisu1000.tistory.com