Prerequisites
-
You have a running {product-title} cluster and you have logged into it.
-
You have installed Helm.
Procedure
-
Create a new project:
$ oc new-project mysql
-
Add a repository of Helm charts to your local Helm client:
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/ "stable" has been added to your repositories
-
Update the repository:
$ helm repo update
-
Install an example MySQL chart:
$ helm install example-mysql stable/mysql
-
Verify that the chart has installed successfully:
$ helm list NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION example-mysql mysql 1 2019-12-05 15:06:51.379134163 -0500 EST deployed mysql-1.5.0 5.7.27