Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

이 외에도 자사 제품의 손쉬운 배포 관리를 지원하기 위해,
대부분의 경우, 각 application provider가 직접 chart repo를 노출한다.

예, https://github.com/influxdata/helm-charts

또한, https://github.com/helm/monocular 도 많이 사용한다. → 현재 deprecated 됨.

Add into the repo.

Code Block
languagepy
# Add repository
$ helm repo add bitnami https://charts.bitnami.com/bitnami

# List up repo
$ helm repo list
NAME            URL
stable          https://charts.helm.sh/stable
nginx-stable    https://helm.nginx.com/stable
bitnami         https://charts.bitnami.com/bitnami # bitnami repo가 추가되었다.
monocular       https://helm.github.io/monocular
influxdata      https://helm.influxdata.com/

...

Code Block
languagepy
# Generate Release name.
$ helm install bitnami/nginx -n ns-test01 -g

# Or Specify Release name as "nginx-test".
$ helm install nginx-test bitnami/nginx -n ns-test01

...

Code Block
languagepy
# bitnami/nginx 대신 ./nginx로 지정.
$ helm install -g -n ns-test01 ./nginx

Uninstall Chart

Helm Release 확인

Code Block
languagepy
$ helm ls -A
NAME                    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
nginx-1606191524        default         1               2020-11-24 13:18:46.768504183 +0900 KST deployed        nginx-8.1.0     1.19.4
nginx-1606192435        ns-test01       1               2020-11-24 13:33:57.905368836 +0900 KST deployed        nginx-8.1.0     1.19.4
nginx-1606197987        ns-test01       1               2020-11-24 15:06:30.102370781 +0900 KST deployed        nginx-8.1.0     1.19.4

Uninstall a certain Release

Code Block
# Usage:
#   helm uninstall RELEASE_NAME [...] [flags]

# Aliases:
#   uninstall, del, delete, un

$ helm uninstall -n default nginx-1606191524
release "nginx-1606191524" uninstalled