Skip to content

Latest commit

 

History

History
96 lines (67 loc) · 2.8 KB

README.md

File metadata and controls

96 lines (67 loc) · 2.8 KB

Reactionetes

Spin up a Kubernetes stack dedicated to Reaction Commerce PDQ

Build Status CircleCI Waffle.io - Columns and their card count

TLDR

helm install \
  --name my-release-name \
  --set mongodbReleaseName=massive-mongonetes \
  --set replicaCount=1 \
  --set mongoReplicaCount=3 \
  --set image.repository=reactioncommerce/reaction \
  --set image.tag=latest \
  ./reactioncommerce

Oneliner Autopilot

The oneliner:

curl -L https://git.io/reactionetes | bash

That merely performs the autopilot recipe using the bootstrap file.

This script automagically attempts to determine your OS and tries to install the minikube and kubectl appropriate for your OS.

At the end of which you will get some notes if everything went successfully. Here is some example output:

NOTES:
1. Get the ReactionCommerce URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace default -l
"app=reactionetes,release=EXAMPLE_RELEASE" -o
jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:3001 to use your application"
  kubectl port-forward $POD_NAME 3001:3000

It should be noted that you can then paste the last three lines from your output (not the above example lines, EXAMPLE_RELEASE will have your release name that is generated by kubernetes instead) directly into your terminal and you will be able to access the reaction commerce site once all the pods spin up at:

127.0.0.1:3001

it may take some time depending mainly on your internet connection and how fast you can download all the necessary images. The first time being the worst as you have to download kubectl and minikube, AND all the docker images to spin up kubernetes.

Asciinema

asciicast

Detailed Docs

Discussion

Feel free to open an issue here at github.

There is also a forum post at the reaction commerce forums.

I appreciate feedback and suggestions!