/k8s-infra

Kubernetes infrastructure to deploy MOSIP modules.

Primary LanguageShellMozilla Public License 2.0MPL-2.0

Kubernetes Infrastructure

Overview

This repo contains architecture and instructions to install Kubernetes based clusters for MOSIP deployment. The deployment consists of following clusters:

  1. 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.
  2. 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).

Cloud versus 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

Installation

Following install sequence is recommended: