This repo contains architecture and instructions to install Kubernetes based clusters for MOSIP deployment. The deployment consists of following clusters:
- Rancher cluster: Rancher is used for cluster administration and RBAC. One Rancher can manage multiple MOSIP clusters and hence a single organisation wide installation of this cluster would suffice.
- MOSIP cluster: All MOSIP modules run on this cluster. Each installation of MOSIP for development, testing, staging, production etc. would have a cluster each.
The clusters may be installed on cloud or on-premise (on-prem).
There are certain differences between cloud and on-prem deployments. Few of them are given below:
Feature | Cloud | On-prem |
---|---|---|
K8s cluster | Cloud provider provisioned. Eg. EKS on AWS, AKS on Azure | Native, eg. using Rancher RKE |
Load balancer | Automatic provision of loadbalancer | Nginx |
TLS termination | Cloud loadbalancer | Nginx |
Inter-node Wireguard network | Not compatible | Works well |
Storage | Cloud storage like EBS on AWS | Longhorn or NFS |
Following install sequence is recommended: