brew install helm
설치 끝...! 간단!
❯ helm create <chart name>
❯ tree
.
├── Chart.yaml
├── charts
├── templates
│ ├── NOTES.txt
│ ├── _helpers.tpl
│ ├── deployment.yaml
│ ├── hpa.yaml
│ ├── ingress.yaml
│ ├── service.yaml
│ ├── serviceaccount.yaml
│ └── tests
│ └── test-connection.yaml
└── values.yaml
3 directories, 10 files
Chart.yaml
: Chart의 정보를 정의하는 파일로 Chart의 이름, 버전 등을 정의charts
: dependency chart 파일들이 해당 디렉토리 아래에 생김template
: k8s 리소스 템플릿이 보관되는 디렉토리
NOTES.txt
: Chart를 설치 후 출력되는 내용을 정의.yaml
: 클러스터에 띄울 리소스 템플릿 파일들values.yaml
: 템플릿에 사용될 변수들을 모아놓은 파일# helm install <release name> <chart directory>
❯ helm install name .
❯ helm list
NAME NAMESPACE REVISION ...
<release name> default 1 ...
helm으로 띄운 리소스들은 helm을 통해 관리 가능