helm 차트 삭제 (helm delete) 삭제하는 예시



$ helm ls --all --short $(kubectl config current-context) | xargs -L1 helm delete

삭제


$ helm ls --all $(kubectl config current-context)

NAME                  REVISION UPDATED                  STATUS  CHART                   APP VERSION NAMESPACE

google-production-context 25       Wed Sep 11 20:31:07 2019 DELETED prometheus 10.19.0      monitoring



$ helm del --purge  $(kubectl config current-context)

release "google-production-context" deleted


--purge를 해야 깔끔히 정리한다 .




helm 차트 추가하기(with 사설 저장소 추가)



$ helm repo add google-community http://charts.google.io

$ helm repo update


$ helm install --name $(kubectl config current-context) google-community/k8s-prometheus




Posted by '김용환'
,