FINERACT-783
- Update README.md with instructions for kubernetes - Setup fineractmysql configuration file - Setup fineract-server configuration file closes https://issues.apache.org/jira/browse/FINERACT-783
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
beee2e5330
commit
472f5b6280
@@ -107,6 +107,35 @@ _(Note that in previous versions, the `mysqlserver` environment variable used at
|
||||
and the `mysqlserver` environment variable is now no longer supported.)_
|
||||
|
||||
|
||||
Instructions to run using minikube and kubectl
|
||||
===================================================
|
||||
|
||||
You can also run Fineract using containers on a kubernetes cluster.
|
||||
|
||||
As Prerequisites, you must have `minikube` and `kubectl` installed on your machine; see
|
||||
[Minikube & Kubectl install](https://kubernetes.io/docs/tasks/tools/install-minikube/).
|
||||
|
||||
Now to run a new Fineract instance on minikube you can simply:
|
||||
|
||||
1. `git clone https://github.com/apache/fineract.git ; cd fineract`
|
||||
1. `minikube start --mount-string="./fineract-db/docker:/fineract-db" --mount`
|
||||
1. `kubectl apply -f kubernetes/secrets.yml`
|
||||
1. `kubectl apply -f kubernetes/fineractmysql-deployment.yml`
|
||||
1. `kubectl apply -f kubernetes/fineract-server-deployment.yml`
|
||||
1. `minikube service fineract-server --url`
|
||||
1. Fineract will run at the provided url
|
||||
|
||||
NB : Change protocol from `http` to `https`
|
||||
=======================================
|
||||
|
||||
To check the status of your containers on your local kubernetes cluster, run:
|
||||
`minikube dashboard`
|
||||
|
||||
Having difficulties setting up minikube locally, you can try out the deployment
|
||||
using katacoda(https://www.katacoda.com/courses/kubernetes/launch-single-node-cluster)
|
||||
From there start the scenario and follow the instructions as indicated above.
|
||||
|
||||
|
||||
Checkstyle
|
||||
============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user