Repository navigation
Conversation
Added instructions for accessing Mifos web application and Fineract API.
Added ConfigMap for web app configuration and Nginx settings. Updated container image and adjusted liveness/readiness probe settings.
Updated kubectl startup script to handle existing secrets and removed unnecessary pod status checks.
Member
|
@lugosidomotor please link the relevant jira ticket in this. |
Contributor
Author
|
@Aman-Mittal I don’t have a Jira ticket for this. I just wanted to get the Minikube setup running, but it wasn’t working, so I fixed it |
Contributor
|
Please squash your commits and use in the PR and commit message: |
Contributor
Author
|
Thank you! I renamed the PR, squashing is anyway easier to do during the merge, so I’ll leave that up to you |
Contributor
|
@lugosidomotor Dont make a habit of it! We are asking you to have 1 commit per PR (unless multiple authors involved)! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR improves the Kubernetes deployment configuration for better compatibility with Minikube and local development environments.
Changes made:
Kubernetes deployment improvements:
mifos-communitydeployment to forward/fineract-providerAPI requests to the fineract-server backend, eliminating the need for separate ingress configurationopenmf/community-apptoopenmf/web-app:masterimage for better configurability via ConfigMapenvironment.jsonConfigMap for configuring the web-app frontend API URLsinitialDelaySeconds(180s → 90s/60s for fineract-server, 90s → 10s/5s for mifos-community)periodSeconds(1s → 10s) to reduce unnecessary loadfailureThreshold: 3for better reliabilityfineract-server(1Gi → 2Gi) to accommodate JVM heap + metaspace-XX:MaxMetaspaceSize=256mJVM optionScript improvements:
kubectl-startup.shto usekubectl waitinstead of polling loops--ignore-not-found=truetokubectl-shutdown.shfor idempotent cleanupDocumentation:
minikube service mifos-communitycommand for accessing the web UImifos/password)Why:
The previous Kubernetes configuration had issues running on Minikube with Docker driver on macOS. The web-app frontend couldn't reach the fineract-server backend due to network isolation. The nginx reverse proxy solution allows both frontend and API to be served from the same endpoint.
Checklist