Pre-installation - Openshift (3.1)

The preparations described below are required to install  on OpenShift clusters using Helm charts and Docker images. Read through the steps below and follow each step before installing. This pre-installation is normally not needed to be done again, once you have done it.

The procedure involves several steps in the following order:

  1. OpenShift Cluster Setup
  2. Helm Repository and PostgreSQL Database Setup
  3. Online and Offline Kubernetes Nodes Setup
  4. MZ10 Ports Configuration & Persistent Storage
  5. MZ10 Helm Charts Changes Validation
  6. MZ10 Installation to an OpenShift Cluster

Namespace Setup

An important prerequisite is to create the required namespace for the   installation. 

  1. Create the required namespace

    $ oc create ns <namespace>

Initialization

  1. Export the kubeadmin credentials.

    $ export KUBECONFIG=<installation_directory>/auth/kubeconfig
  2. Verify can run oc commands successfully using the exported configurations

    $ oc whoami
    
  3. Verify that your are in right cluster and can list the nodes and other resources

    $ kubectl get node
    $ kubectl get all
  4. To verify that the Helm CLI is initialized, run the following command:

    $ helm version -c

    Output example:

    $ helm version -c
    version.BuildInfo{Version:“v3.2.1”, GitCommit:“fe51cd1e31e6a202cba7dead9552a6d418ded79a”, GitTreeState:“clean”, GoVersion:“go1.13.10"}

This section contains: