CLOUD/Kubernetes

[Kubernetes] Helm 명령어 정리 - 설치, 배포, 조회, 자동완성 등

헐리 2021. 7. 20. 10:43

Helm 설치하기

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh

 

Helm 버전 확인하기

helm version

 

쿠버네티스 config 파일 확인

cd ~/.kube/
ls

 

helm 자동완성

source <(helm completion bash)

helm 명령어 입력 후 tap

 

Chart 조회

Helm 가이드

helm completion

repo 검색

helm search repo [keyword]

hub 검색

helm search hub [keyword]

 

레포지토리 관리

helm repo add [name] [url]

레포지토리 리스트 확인

helm repo list

레포지토리 업데이트

helm repo update

레포지토리 삭제

helm repo remove [name]

 

배포 관리

helm install [name] [chart] [flags]

배포 리스트 보기

helm list

배포 상태 확인

helm status

배포 삭제

helm uninstall