Giter Site home page Giter Site logo

moja-box-2's Introduction

Moja-Box (v2)

Moja-Box aims to provide an easy way to get up and running with Mojaloop in an opinionated environment. It allows you to run a single node with a k3s cluster, helm, mojaloop, and postman already installed

This project supercedes moja-box-legacy, and tries to fix some of the issues with further dependence on terraform

Getting Started

Configuration

With Moja-Box,

References

https://medium.com/@marcovillarreal_40011/cheap-and-local-kubernetes-playground-with-k3s-helm-5a0e2a110de9

Notes:

Attempt 2: using multipass on mac os

brew cask install multipass
multipass launch --name k3s --mem 8G --disk 5G
multipass shell k3s

# inside k3s virtual machine
export INSTALL_K3S_VERSION=v1.0.1
curl -sfL https://get.k3s.io | sh -
sudo chmod 644 /etc/rancher/k3s/k3s.yaml

## verify install
kubectl get nodes
kubectl get po -n kube-system

#download helm
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > install-helm.sh

#Make instalation script executable
chmod u+x install-helm.sh

#Install helm
./install-helm.sh
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller

# install mojaloop etc.
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml #this is needed otherwise helm commands will fail
helm init --service-account tiller
helm repo add mojaloop http://mojaloop.io/helm/repo/
# helm install dev -f ./ingress.values.yml --debug --namespace=mojaloop --repo=http://mojaloop.io/helm/repo mojaloop #v3
# helm install dev --debug --namespace=mojaloop --repo=http://mojaloop.io/helm/repo mojaloop #v3
# helm install -f ./ingress.values.yml --debug --namespace=mojaloop --name=dev --repo=http://mojaloop.io/helm/repo mojaloop
helm install --debug --namespace=mojaloop --name=dev --repo=http://mojaloop.io/helm/repo mojaloop

## this is broken! As the mojaloop helm charts fail on kubernetes 1.17!

From plain ubuntu (didn't work, needs systemd):

# in dockerfile
apt-get update
apt-get install curl -y

# manual
apt-get install systemd -y
curl -sfL https://get.k3s.io | sh -

moja-box-2's People

Contributors

lewisdaly avatar

Watchers

 avatar

Forkers

almatari1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.