Installing an application using Helm charts

Let's perform the following steps to install a Helm chart from the official Helm repository location:

  1. 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

  1. 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
  1. 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.107.100