Mojaloop published Helm Repo: http://mojaloop.io/helm/repo/
Refer to Helm docs for more information: https://docs.helm.sh/
- Deploy specific chart
helm install --debug --namespace=<namespace> --name=<release-name> --repo=http://mojaloop.io/helm/repo <chart_name>
e.g. helm install --debug --namespace=mojaloop --name=dev --repo=http://mojaloop.io/helm/repo centralledger
- Deploy specific chart overriding values
helm install --debug --namespace=<namespace> --name=<release-name> --repo=http://mojaloop.io/helm/repo -f <values_file> <chart_name>
e.g. helm install --debug --namespace=mojaloop --name=dev --repo=http://mojaloop.io/helm/repo -f ./values.yaml centralledger
Refer to the following default chart config file for values: http://mojaloop.io/helm/<chart_name>/values.yaml
- Deploy Mojaloop componenets
Warning: This will deploy all charts.
helm install --debug --namespace=<namespace> --name=<release-name> --repo=http://mojaloop.io/helm/repo mojaloop
e.g. helm install --debug --namespace=mojaloop --name=dev --repo=http://mojaloop.io/helm/repo mojaloop
- Deploy Ingress
helm install --debug --namespace=<namespace> --name=<release-name> --repo=http://mojaloop.io/helm/repo ingress-nginx
e.g. helm install --debug --namespace=kube-public --name=<release-name> --repo=http://mojaloop.io/helm/repo ingress-nginx
helm upgrade --debug <release-name> --repo=http://mojaloop.io/helm/repo <chart_name>
e.g. helm upgrade --debug dev --repo=http://mojaloop.io/helm/repo centralenduserregistry
Note: Please ensure that you update the Chart dependencies in the order show below.
helm dep up centralkms
helm dep up forensicloggingsidecar
helm dep up centralledger
helm dep up centralhub
helm dep up mockpathfinder
helm dep up centralenduserregistry
helm dep up centraldirectory
helm dep up central
helm dep up mojaloop
We are quitely waiting on recursive updates: helm/helm#2247
Alternatively please use the helper script sh ./update-charts-dep.sh
.
This script will ensure the correct order is maintained.
- Deploy specific chart
helm install --debug --namespace=<namespace> --name=<release-name> <chart_directory>
e.g. helm install --debug --namespace=mojaloop --name=dev ./centralledger
- Deploy mojaloop componenets
Warning: This will deploy all charts.
helm install --debug --namespace=<namespace> --name=<release-name> ./mojaloop
e.g. helm install --debug --namespace=mojaloop --name=dev ./mojaloop
- Deploy Ingress
helm install --debug --namespace=<namespace> --name=<release-name> ./kube-public/ingress-nginx
e.g. helm install --debug --namespace=kube-public --name=<release-name> ./kube-public/ingress-nginx
helm upgrade --debug <release-name> <chart_directory>
e.g. helm upgrade --debug dev ./centralenduserregistry/
- Add the following to your hosts file and ensure you have installed Ingress Controller on your Kubernetes Cluster:
<ip-of-k8s-node-ingress> central-kms.local forensic-logging-sidecar.local central-ledger.local central-end-user-registry.local central-directory.local central-hub.local
If your running Minikube, you can use the following cmd to discover your <ip-of-k8s-node-ingress>
:
minikube ip
- Curl Health End-points for Central Ledger http://central-ledger.local/admin/accounts
curl http://central-ledger.local/health
curl http://central-ledger.local/admin/health
Expected output:
{"status":"OK"}
- Confirm Central Ledger DB Connectivity
curl http://central-ledger.local/admin/accounts
Expected output:
[{"name":"LedgerName","id":"central-ledger.local/accounts/LedgerName","created":"2017-12-06T20:57:05.760Z","is_disabled":false,"_links":{"self":"central-ledger.local/accounts/LedgerName"}}]
- Open the Central Management Hub in your browser
http://central-hub.local/members
Check to see that an account name "LedgerName" is displayed
helm del --purge <release-name>
e.g. helm del --purge dev
- Execute a dry-run to display all the Kubernetes deployment files
helm install --dry-run --debug --namespace=<namespace> --name=<release-name> <chart_directory>
- Use Helm Linter to check for any issues
helm lint --strict <chart_directory>
1.) Deploy Ingress
This will deploy a new Ingress Nginx Controller with TCP and HTTP Ingress
sh deploy-ingress.sh -r lb -e -o ./config-ingress.yaml
2.) Undeploy Ingress
sh clean.sh -r lb -e
1.) Deploy Central
This will deploy a new Ingress Nginx Controller with TCP and HTTP Ingress
sh deploy-central.sh -r dev -e -o ./config-central.yaml
2.) Undeploy Central
sh clean.sh -r dev -e
1.) Package charts
Package all charts, and created an index.yaml in ./repo directory
sh package.sh