Installing Helm on OpenShift

Install Helm on the Red Hat® OpenShift® cluster where InfoSphere® MDM will be deployed.

Before you begin

Before you install Helm on your OpenShift cluster, you must have the following prerequisites:
  • A Red Hat OpenShift cluster
  • Helm Package Manager. For more information, see https://helm.sh/.

Procedure

  1. Run the following commands to install Helm Version 2.16.1 on your OpenShift cluster:
    wget https://get.helm.sh/helm-v2.16.1-linux-amd64.tar.gz
    
    tar -xzvf helm-v2.16.1-linux-amd64.tar.gz
    
    cd linux-amd64
    
    mv helm /usr/local/bin/helm
    
    helm init
    Helm will install into your cluster.
  2. Run the following commands to create a service account that complies with role based access control requirements:
    kubectl create serviceaccount --namespace kube-system tiller
    
    kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
    
    kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
    Allow a minute for the patch to be applied to the tiller pod in the system.
  3. Check to ensure that the Helm client and server versions match by running the following command:
    helm version

What to do next

Install the deployed-mdm Helm chart

For details, see Installing the deployed-mdm Helm chart.

Review some basic Helm commands
helm list
Provides a list of the installed Helm charts.
helm install --name <NAME> <CHARTNAME>
Installs a Helm chart, where:
  • <NAME> is the release name you want to specify.
  • <CHARTNAME> is the name of the chart that you want to install.
helm install --dry-run <CHARTNAME>
Runs a dry run test of the chart before installing.
helm delete <CHARTNAME> --purge
Deletes a given Helm chart.