Deploy Originations Data Storage in K8 Container

The Originations Data Storage microservice is provisioned for deployment in the K8 container.

Artifacts

Enabled Kubernetes.

Deploy

NOTE:

Install Docker Engine in the deployment environment. Refer https://docs.docker.com/install/overview/

Turn on Linux containers in docker

To deploy the Originations Data Storage microservice:

  1. After the docker is installed, enable Kubernetes in the Docker Desktop app.
  2. Kubernetes requires a minimum of 6 CPUs to run smoothly. Go to Docker settings → Resources and increase the CPU and Memory as shown here
  3. Install Helm and set helm path as an environment variable on the system. Kubernetes deployment package is available with Docker package. Unzip the docker package, the scripts for starting the deploying can be found at ms-storge-Docker/k8/on-premise.
  4. Execute start-storage-mongo.bat/start-storage-mongo.sh for Kubernetes package with MongoDb as the database. For schema creation in MongoDB edit the config file at ms-storage-Docker/dbMigration/config with below values
  5. database.key=mongodb
    database.name=ms_storage
    db.username=root
    db.password=ENC(g26gIJOn14ADSIjzxKvYJg==)
    db.connection.url=mongodb://localhost:30958
    db.scripts.location=migration\
  6. After the config values are edited, execute the execute.bat/execute.sh for schema creation in Mongo pods
  7. For services with PostgreSQL, execute start-storage-postgresql.bat/start-storage-postgresql.sh, Running execute.bat for PostgreSQL is not required. Use below command to check if the status of all the pods are Running:
    kubectl get pods --all-namespaces
  8. Use below command to check the service details of each kubernetes service like port, ip etc:
    kubectl get svc --all-namespaces

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, October 5, 2021 11:12:32 AM IST

Feedback
x