Pre-installation - Openshift (4.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:
- OpenShift Cluster Setup
- Helm Repository and PostgreSQL Database Setup
- Online and Offline Kubernetes Nodes Setup
- MZ10 Ports Configuration & Persistent Storage
- MZ10 Helm Charts Changes Validation
- MZ10 Installation to an OpenShift Cluster
Namespace Setup
An important prerequisite is to create the required namespace for the installation.
Create the required namespace
$ oc create ns <namespace>
Initialization
Export the
kubeadmin
credentials.$ export KUBECONFIG=<installation_directory>/auth/kubeconfig
Verify can run
oc
commands successfully using the exported configurations$ oc whoami
Verify that your are in right cluster and can list the nodes and other resources
$ kubectl get node $ kubectl get all
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: