Deployment on Kubernetes

Introduction

The guide here provides instructions to deploy OpenG2P on Kubernetes (K8s) cluster.

Prerequisites

  • K8s cluster is set up as given here.

  • The following utilities/tools must be present on the user's machine.

    • kubectl, istioctl, helm, jq, curl, wget, git, bash, envsubst.

Installation

Clone the https://github.com/openg2p/openg2p-deploymentarrow-up-right repository, and continue the installation of each of the following components from the kubernetesarrow-up-right directory.

Choose and install the components needed for your cluster from the following. If you wish to install all the components below, run this from the kubernetesarrow-up-right directory (This doesn't include Reporting):

OPENG2P_HOSTNAME=openg2p.sandbox.net \
ODK_HOSTNAME=odk.openg2p.sandbox.net \
KEYCLOAK_HOSTNAME=keycloak.openg2p.sandbox.net \
KAFKA_UI_HOSTNAME=kafka.openg2p.sandbox.net \
KIBANA_HOSTNAME=kibana.openg2p.sandbox.net \
MINIO_HOSTNAME=minio.openg2p.sandbox.net \
    ./install-all.sh

PostgreSQL

OpenG2P

ODK

Minio

  • Navigate to kubernetes/minioarrow-up-right directory.

  • Run:

  • Post-installation:

    • Once OpenG2P is installed, do the following:

      • Navigate to OpenG2P Documents (From OpenG2P Menu) -> Document Store.

      • Configure URL and password for this backend service (Like http://minio.minio:9000). Password and account-id/username can be obtained from the secrets in minio namespace.

Keycloak

Kafka

Logging and Elasticsearch

Reporting

Last updated