Versions Compared

Key

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

...

Code Block
sansae@workspace-win10:/mnt/c/apps$ helm version
version.BuildInfo{Version:"v3.7.1", GitCommit:"1d11fcb5d3f3bf00dbe6fe31b8412839a96b3dc4", GitTreeState:"clean", GoVersion:"go1.16.9"}

Helm 사용하기

  • Helm 차트를 사용하기 위해 차트 repository를 추가 합니다.

Code Block
sansae@workspace-win10:/mnt/c/apps$ helm repo add stable https://charts.helm.sh/stable
"stable" has been added to your repositories
  • 추가된 Repository를 확인 합니다.

Info

sansae@workspace-win10:/mnt/c/apps$ helm repo list
NAME URL
stable https://charts.helm.sh/stable
sansae@workspace-win10:/mnt/c/apps$

  • 추가된 Repository에 어떤 Charts가 있는지 확인 합니다.

Code Block
sansae@workspace-win10:/mnt/c/apps$ helm search repo stable
NAME                                    CHART VERSION   APP VERSION             DESCRIPTION
stable/acs-engine-autoscaler            2.2.2           2.1.1                   DEPRECATED Scales worker nodes within agent pools
stable/aerospike                        0.3.5           v4.5.0.5                DEPRECATED A Helm chart for Aerospike in Kubern...
stable/airflow                          7.13.3          1.10.12                 DEPRECATED - please use: https://github.com/air...
stable/ambassador                       5.3.2           0.86.1                  DEPRECATED A Helm chart for Datawire Ambassador
stable/anchore-engine                   1.7.0           0.7.3                   Anchore container analysis and policy evaluatio...
stable/apm-server                       2.1.7           7.0.0                   DEPRECATED The server receives data from the El...
stable/ark                              4.2.2           0.10.2                  DEPRECATED A Helm chart for ark
stable/artifactory                      7.3.2           6.1.0                   DEPRECATED Universal Repository Manager support...
stable/artifactory-ha                   0.4.2           6.2.0                   DEPRECATED Universal Repository Manager support...
~~~~~~~~~~ 생략 ~~~~~~~~~~~~
  • Helm Repository Update

Code Block
sansae@workspace-win10:/mnt/c/apps$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
sansae@workspace-win10:/mnt/c/apps$
  • Package 설치 하기

Code Block
$ kubectl create namespace db 
$ helm install postgresql-v1 stable/postgresql --namespace db 
$ helm status postgresql-v1
  • Upgrade & Rollback



Code Block
$ helm upgrade postgresql-v1 stable/postgresql --namespace db
$ helm history postgresql-v1 --namespace db
$ helm rollback postgresql-v1 1 --namespace db


  • Release 삭제하기

Code Block
$ helm uninstall postgresql-v1 --namespace db