Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems found when following "Local Kubernetes Development Guide" #1046

Closed
11 of 12 tasks
yosheeck opened this issue Nov 4, 2019 · 0 comments
Closed
11 of 12 tasks

Problems found when following "Local Kubernetes Development Guide" #1046

yosheeck opened this issue Nov 4, 2019 · 0 comments
Assignees
Milestone

Comments

@yosheeck
Copy link

yosheeck commented Nov 4, 2019

Summary:
This is list of problems found when strictly following "Local Kubernetes Development Guide" (https://mojaloop.io/documentation/deployment-guide/) with corresponding actions to fix them.

Severity:
Low

Priority:
Low

Expected Behavior
Following the Guide should be straightforward.

Steps to Reproduce

  1. Follow "Local Kubernetes Development Guide" strictly on Linux machine.

Specifications

  • Component (if known): *
  • Version: version exposed as "current", so v8.1.0
  • Platform: Linux
  • Subsystem: *
  • Type of testing: manual
  • Bug found/raised by: @yosheeck

Notes:

  • Severity when opened:
  • Priority when opened:

Details:

  • Installation of microk8s at the moment (2019-11-04) defaults to version v1.16 of kubernetes. Current helm charts for mojaloop (v8.1.0) are not compatible. Last supported version is v1.15. Kubernetes explanation: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removals.
    • Action: add note in documentation to install <=v1.15 for mojaloop <=v8.3.0
  • Step 4.1 "helm init" may fail with ambiguous message (Error: error installing: Post http://localhost:8080/apis/apps/v1/namespaces/kube-system/deployments: dial tcp 127.0.0.1:8080: connect: connection refused) when .kube/config file is missing.
    • Action: add note about generating that file.
  • Pods/services fail to start when one of the needed microk8s plugin is not enabled.
    Action: add a step to ensure that mandatory services are enabled on microk8s.
  • Troubleshooting: add a section about looking at output of microk8s.inspect. Example warning about missing "sudo iptables -P FORWARD ACCEPT".
  • Postman golden path issue found. The default value of HOST_SIMULATOR_K8S_CLUSTER parameter in Mojaloop-Local environment seems to wrong
    • change configs for postman
  • Documentation->Releases needs updating: https://mojaloop.io/documentation/deployment-guide/releases.html
    • discussed that with @elnyry - not doing this as part of this ticket
  • In latest snap documentation, they removed "alias" section. Our documentation relies on that part. I reported a ticket on microk8s: New docs: alias section removed canonical/microk8s.io#172

Pull Requests:

@yosheeck yosheeck added the bug label Nov 4, 2019
@yosheeck yosheeck added this to the Sprint 8.4 milestone Nov 4, 2019
@yosheeck yosheeck self-assigned this Nov 4, 2019
@elnyry-sam-k elnyry-sam-k removed this from the Sprint 8.4 milestone Nov 8, 2019
@elnyry-sam-k elnyry-sam-k added this to the Sprint 8.5 milestone Nov 18, 2019
yosheeck added a commit to mojaloop/documentation that referenced this issue Nov 19, 2019
mdebarros pushed a commit to mojaloop/documentation that referenced this issue Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants