Deployment on Kubernetes
Last updated
Last updated
The guide here provides instructions to deploy OpenG2P on Kubernetes (K8s) cluster.
K8s cluster is set up as given .
The following utilities/tools must be present on the user's machine.
kubectl
, istioctl
, helm
, jq
, curl
, wget
, git
, bash
, envsubst
.
Clone the repository, and continue the installation of each of the following components from the 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 directory (This doesn't include ):
Run:
Prerequisites:
PostgreSQL [REQUIRED]
Minio [Optional]
ODK [Optional]
Run: (This installs the reference package dockers)
If use already have a custom packaged docker image or tag use:
Prerequisites:
PostgreSQL [REQUIRED]
Run the following to install ODK helm chart.
Post-installation:
Exec into the service pod, and create a user (and promote if required).
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.
Run:
Run:
Run:
Prerequisites:
Kafka [REQUIRED]
PostgreSQL [REQUIRED]
OpenG2P [REQUIRED]
Logging [REQUIRED]. (At least Elasticsearch is required)
Run the following to install reporting
Navigate to Kibana Stack Management -> Kibana Section -> Saved Objects.
Navigate to directory.
Packaged OpenG2P docker. . [Optional]
Navigate to directory.
Post installation: Refer to
Navigate to directory.
Note: The above helm chart uses the following docker images built from , since ODK Central doesn't provide pre-built docker images for these.
Navigate to directory.
Navigate to directory.
Navigate to directory.
Navigate to directory.
Clone .
Navigate to directory inside the above reporting repo.
Do the following to import the dashboards present in folder:
Import all files in folder.