SW Development

[Helm] popular commands

카미오_레알 2020. 7. 26. 08:18

새로운 helm chart 생성

helm create <<my-service-helm>>

 

Lint Error check

helm lint ./<<my-service-helm>>

 

# Template에 있는 value를 보고 싶을 때

helm template ./<<my-service-helm>>

 

# Dry run: 설치 전 manifest file을 보고 싶을 때

helm install --dry-run -deug ./<<my-service-helm>>

 

# 설치

helm install

 

# 설치된 것 확인

helm list

 

# 지우기

helm delete 

 

# Update

helm upgrade --install <<service_name>> <<my-service-helm path>> -f <<custom-value.yml path>>

i.e) helm upgrade --install my-sample_service ./my-sample-service-helm -f ./my-sample-service-helm /others/custom-values.yml