1.1. Mojaloop Helm release v10.x or less does not support Kubernetes v1.16 or greater
Description
Note: This is only applicable to Mojaloop Helm v10.x or less release.
When installing mojaloop helm charts, the following error occurs:
Error: validation failed: [unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta2", unable to recognize "": no matches for kind "StatefulSet" in version "apps/v1beta1"]
Reason
In version 1.16 of Kubernetes breaking change has been introduced (more about it in "Deprecations and Removals" of Kubernetes release notes. The Kubernetes API versions apps/v1beta1 and apps/v1beta2are no longer supported and and have been replaced by apps/v1.
Mojaloop helm charts v10 or less refer to deprecated ids, therefore it's not possible to install v10- on Kubernetes version above 1.15 without manually modification.
The following error is displayed when attempting to access an end-point (e.g. central-ledger.local) via the Kubernetes Service directly in a browser: ERR_NAME_NOT_RESOLVED
Fixes
Verify that that Mojaloop was deployed by checking that the helm chart(s) was installed by executing:
Ensure that all the Mojaloop Pods/Containers have started up correctly and are available through the Kubernetes dashboard.
Note that the Mojaloop deployment via Helm can take a few minutes to initially startup depending on the system's available resources and specification. It is recommended that you wait at least 10m for all Pods/Containers to self heal before troubleshooting.
2.3. MicroK8s - Connectivity Issues
Description
My pods can’t reach the internet or each other (but my MicroK8s host machine can).
An example of this is that the Central-Ledger logs indicate that there is an error with the Broker transport as per the following example:
Fixes
Make sure packets to/from the pod network interface can be forwarded to/from the default interface on the host via the iptables tool. Such changes can be made persistent by installing the iptables-persistent package:
or, if using ufw:
The MicroK8s inspect command can be used to check the firewall configuration:
3. Ingress issues
3.1. Ingress rules are not resolving for Nginx Ingress v0.22 or later when installing Mojaloop Helm v12.x or less
Description
Note: This is only applicable to Mojaloop Helm v12.x or less release.
Ingress rules are unable to resolve to the correct path based on the annotations specified in the values.yaml configuration files when using Nginx Ingress controllers v0.22 or later.
Make the following change to Ingress annotations (from --> to) in the values.yaml files:
3.2. Ingress rules are not resolving for Nginx Ingress earlier than v0.22
Description
Ingress rules are unable to resolve to the correct path based on the annotations specified in the values.yaml configuration files when using Nginx Ingress controllers that are older than v0.22.