Hi Patrick, I am aware of the possibility to use minikube. But considering the number of services I have run simultaneously, K8 using minikube locally will just crash my computer.
if have made some progress on the k8 scripts pls feel free to create a PR. I will review it On Wed, Mar 13, 2019 at 2:12 PM Patrick Finken <[email protected]> wrote: > I worked on the deployment of fineract-cn on k8s and I produced some > scripts based on what courage started. I can push them to the repo. I can > start working on it as soon as with have to docker image pushed to the > docker hub. > > @courage, you can install minikube to run k8s locally so that you don't > need a GKE account. > > Patrick > > On Wed, Mar 13, 2019 at 2:05 PM Courage Angeh <[email protected]> > wrote: > > > The project is still under Mifos Initiative, > > https://github.com/openMF/fineract-cn-containers > > > > Most of the Dockerfiles have been pushed to the different Finerect CN > > repositories. The idea > > is to have the compose file pull directly from Docker hub. > > > > On Wed, Mar 13, 2019 at 1:52 PM Awasum Yannick <[email protected]> > wrote: > > > > > Thanks Courage. Please, Which Github repos ? Are they on Fineract > Repos? > > Do > > > you want to put them there? > > > > > > On Wed, Mar 13, 2019 at 6:48 PM Courage Angeh <[email protected]> > > > wrote: > > > > > > > They are all on the GitHub repo. > > > > Still working on the swarm thing though. > > > > > > > > Previously was updating the deployment for docker and k8 > > simultaneously, > > > > but my credits for my GKE account is finished so the K8 scripts are a > > > > little behind. > > > > > > > > On Wed, Mar 13, 2019 at 1:42 PM Awasum Yannick <[email protected]> > > > wrote: > > > > > > > > > Hi Courage, > > > > > > > > > > Are the Docker Compose, Swarm scripts and K8 scripts all available > on > > > our > > > > > Apache Github repos? I think that will be great. > > > > > > > > > > On Wed, Mar 13, 2019 at 6:38 PM Courage Angeh < > > [email protected]> > > > > > wrote: > > > > > > > > > > > Hi Patrick and Myrle, > > > > > > > > > > > > Actually, we started some work on Kubernetes. > > > > > > If you have the physical resource to set-up Kubernetes and > > implement > > > > the > > > > > > scripts to deploy with > > > > > > Fineract CN using k8 please go ahead to send your contributions. > > > > > > > > > > > > But for the summer of code, Mifos or Apache hasn't provided us > with > > > the > > > > > > resource yet. > > > > > > > > > > > > So we are going with swarm since we can use that for now. > > > > > > > > > > > > Thanks, > > > > > > Courage > > > > > > > > > > > > On Wed, Mar 13, 2019 at 1:32 PM Myrle Krantz <[email protected]> > > > wrote: > > > > > > > > > > > > > Hey Patrick, > > > > > > > > > > > > > > I would love to see that. There's no reason not to do both! > > > > > > > > > > > > > > Best, > > > > > > > Myrle > > > > > > > > > > > > > > On Wed, Mar 13, 2019 at 6:29 PM Patrick Finken < > > > > > [email protected] > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > Hello guys, > > > > > > > > > > > > > > > > I was wondering since the industry tends toward kubernetes > for > > > > > > containers > > > > > > > > orchestration, wouldn't be better to configure fineract-cn > > > > deployment > > > > > > > with > > > > > > > > K8s instead of docker swarm? Or maybe keeping the two > > versions? I > > > > > could > > > > > > > > help to contribute to the K8s version. > > > > > > > > > > > > > > > > regards, > > > > > > > > Patrick > > > > > > > > > > > > > > > > On Wed, Mar 13, 2019 at 12:24 PM Juhan Aasaru < > > [email protected]> > > > > > > wrote: > > > > > > > > > > > > > > > > > Hey! > > > > > > > > > > > > > > > > > > Great work, Courage! > > > > > > > > > > > > > > > > > > Regarding what you wrote in your first mail: > > > > > > > > > Lastly, we could publish the built Fineract CN services > > > libraries > > > > > to > > > > > > a > > > > > > > > > Maven Artifactory so developers will not have to manually > > clone > > > > and > > > > > > > > publish > > > > > > > > > these services by themselves. > > > > > > > > > > > > > > > > > > You didn't put that into the Jira ticket but I got an idea > > how > > > we > > > > > > could > > > > > > > > > smoothly solve this step using jitpack.io > > > > > > > > > I thought it would be good to share this idea in the > current > > > > > > > discussion. > > > > > > > > > > > > > > > > > > Publishing a new version of a library to Maven Central is > > > quite a > > > > > > work. > > > > > > > > > With jitpack.io one can just use a git commit hash as a > > > version > > > > > > number > > > > > > > > (or > > > > > > > > > branchname-SNAPSHOT to get the build of the latest commit). > > > > > > > > > Basically, you one needs to configure jitpack repository > as a > > > > > > > dependency > > > > > > > > (I > > > > > > > > > use maven style as example): > > > > > > > > > > > > > > > > > > <repository> > > > > > > > > > <id>jitpack.io</id> > > > > > > > > > <url>https://jitpack.io</url> > > > > > > > > > </repository> > > > > > > > > > > > > > > > > > > and then there is need to specify the dependency using > Github > > > > url: > > > > > > > > > > > > > > > > > > For example > > > > > > > > > https://github.com/apache/fineract-cn-identity > > > > > > > > > with Latest commit 6f8498d 4 days ago > > > > > > > > > > > > > > > > > > turns into the following dependency: > > > > > > > > > > > > > > > > > > <dependency> > > > > > > > > > <groupId>com.github.aasaru</groupId> > > > > > > > > > <artifactId>fineract-cn-identity</artifactId> > > > > > > > > > <version>6f8498d</version> > > > > > > > > > </dependency> > > > > > > > > > > > > > > > > > > Jitpack checks out and builds the jar during the first > > request. > > > > > > > > > And it can be also downloaded from the public Maven repo > that > > > > > jitpack > > > > > > > > > serves. Url would be something like: > > > > > > > > > > > > > https://jitpack.io/com/github/apache/fineract-cn-identity/6f8498d/ > > > > > . > > > > > > .. > > > > > > > > > > > > > > > > > > For now this doesn't work yet (I suspect the gradle command > > > that > > > > > > > > > jitpack uses doesn't result with a build > > > > > > > > > due to the current configuration of fineract-cn-identity > > > > > > build.gradle. > > > > > > > > This > > > > > > > > > needs yet to be investigated. > > > > > > > > > > > > > > > > > > Kind regards > > > > > > > > > Juhan > > > > > > > > > > > > > > > > > > Kontakt Courage Angeh (<[email protected]>) kirjutas > > > > > kuupäeval > > > > > > P, > > > > > > > > 10. > > > > > > > > > märts 2019 kell 23:03: > > > > > > > > > > > > > > > > > > > Hi Guys, > > > > > > > > > > > > > > > > > > > > I have created this task on Jira: > > > > > > > > > > https://issues.apache.org/jira/browse/FINCN-139 > > > > > > > > > > > > > > > > > > > > I think the project to should be added to the GSoC 2019 > > > > idealist. > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > Courage > > > > > > > > > > > > > > > > > > > > On Sat, Mar 9, 2019 at 2:04 PM Courage Angeh < > > > > > > [email protected] > > > > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > Thanks and you're welcome. > > > > > > > > > > > > > > > > > > > > > > On Sat, Mar 9, 2019, 8:01 AM Myrle Krantz < > > > [email protected]> > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > >> Wonderful! > > > > > > > > > > >> > > > > > > > > > > >> I've merged. > > > > > > > > > > >> > > > > > > > > > > >> Thank you Courage, > > > > > > > > > > >> Myrle > > > > > > > > > > >> > > > > > > > > > > >> On Sat, Mar 9, 2019 at 1:14 AM Courage Angeh < > > > > > > > > [email protected]> > > > > > > > > > > >> wrote: > > > > > > > > > > >> > > > > > > > > > > >> > Hello guys, > > > > > > > > > > >> > > > > > > > > > > > >> > Hope this email finds you well. For the past weeks, > I > > > have > > > > > > been > > > > > > > > > > working > > > > > > > > > > >> on > > > > > > > > > > >> > moving the different Fineract CN service Dockerfiles > > to > > > > > their > > > > > > > > > > respective > > > > > > > > > > >> > repositories. Here are the PRs, can some please view > > and > > > > > merge > > > > > > > > them: > > > > > > > > > > >> > > > > > > > > > > > >> > https://github.com/apache/fineract-cn-rhythm/pull/7 > > > > > > > > > > >> > > https://github.com/apache/fineract-cn-identity/pull/8 > > > > > > > > > > >> > https://github.com/apache/fineract-cn-office/pull/8 > > > > > > > > > > >> > > > https://github.com/apache/fineract-cn-accounting/pull/9 > > > > > > > > > > >> > > > > > > > > > https://github.com/apache/fineract-cn-deposit-account-management > > > > > > > > > > >> > https://github.com/apache/fineract-cn-portfolio > > > > > > > > > > >> > > https://github.com/apache/fineract-cn-teller/pull/10 > > > > > > > > > > >> > > > > > > > > > > > >> > What work is left for successful deployment? > > > > > > > > > > >> > > > > > > > > > > > >> > First, we need to configure Docker scripts to deploy > > and > > > > > > manage > > > > > > > > the > > > > > > > > > > >> system > > > > > > > > > > >> > on swarm mode. Then update provision and migration > > > script > > > > to > > > > > > > work > > > > > > > > > with > > > > > > > > > > >> > cluster environments and create the chart accounts. > > > > > > > > > > >> > We also have to add Jenkins to the different > Fineract > > CN > > > > > > > services, > > > > > > > > > > then > > > > > > > > > > >> > each service to its image on DockerHub. > > > > > > > > > > >> > Lastly, we could publish the built Fineract CN > > services > > > > > > > libraries > > > > > > > > > to a > > > > > > > > > > >> > Maven Artifactory so developers will not have to > > > manually > > > > > > clone > > > > > > > > and > > > > > > > > > > >> publish > > > > > > > > > > >> > these services by themselves. > > > > > > > > > > >> > > > > > > > > > > > >> > But all this needs resources like a DockerHub and > > > Jenkins > > > > > > > account. > > > > > > > > > > >> > I would like to propose this project for a GSoC > > project. > > > > > > > > > > >> > > > > > > > > > > > >> > Thanks, > > > > > > > > > > >> > Courage. > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Patrick Finken, > > > > > > > > Owner > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > Patrick Finken, > Owner >
