
上QQ阅读APP看书,第一时间看更新
Installing an application using Helm charts
Let's perform the following steps to install a Helm chart from the official Helm repository location:
- Before you install a chart, always sync the repository to pull the latest content. Otherwise, you may end up with the old version of the Helm charts:
$ helm repo update
- Install an example chart, in this case, stable/mysql:
$ helm install --name my-mysqlrelease stable/mysql
Similarly, you can install other applications from the Helm charts stable repository or add your own repositories for custom charts.
Every time you install a chart, a new release with a random name is created unless specified with the --name parameter. Now, list the releases:
$ helm ls
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
my-mysqlrelease 1 Thu Aug 8 02:30:27 2019 DEPLOYED mysql-1.3.0 5.7.14 default
- Check the status in the release, in our example, my-mysqlrelease:
$ helm status my-mysqlrelease
You will get the Deployment status and information on all resources.