From 6853cc94738661f38d71086b7bb6642bb93ec7b8 Mon Sep 17 00:00:00 2001 From: PRAFUL RAKHADE <99539100+prafulrakhade@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:21:34 +0530 Subject: [PATCH] [DSD-6020] added installation steps Signed-off-by: techno-467 --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 73782164ee5..37d38979456 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,27 @@ The project requires JDK 1.11. $ cd $ docker build -f Dockerfile ``` - -## Deploy -To deploy Commons services on Kubernetes cluster using Dockers refer to [Sandbox Deployment](https://docs.mosip.io/1.2.0/deployment/sandbox-deployment). +## Deployment in K8 cluster with other MOSIP services: +### Pre-requisites +* Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file: + * ``` + export KUBECONFIG=~/.kube/ + ``` +### Install + ``` + $ cd deploy + $ ./install.sh + ``` +### Delete + ``` + $ cd deploy + $ ./delete.sh + ``` +### Restart + ``` + $ cd deploy + $ ./restart.sh + ``` ## Test Automated functaionl tests available in [Functional Tests repo](https://github.com/mosip/mosip-functional-tests).