...
Add into the repo.
Code Block |
---|
|
# 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 |
---|
|
# 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 |
---|
|
# bitnami/nginx 대신 ./nginx로 지정.
$ helm install -g -n ns-test01 ./nginx |
Uninstall Chart
Helm Release 확인
Code Block |
---|
|
$ 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 |