Giter VIP home page Giter VIP logo

akka-java-cluster-openshift's Introduction

akka-java-cluster-openshift

This is based on Hugh's Akka Cluster demo app with the nice visualizer. We've only removed a few config options so they go back to defaults, and updated Akka Mangement to 1.0, and then specify the app with an AkkaCluster resource instead of Namespace + Role + Rolebinding against default account + Deployment.

The AkkaCluster resource can be installed in any namespace.

install the AkkaCluster operator

To install the operator, clone this repo and follow README. It is pre-built so you're just loading Kubernetes resources in this step and using the bintray image.

https://github.com/lightbend/akka-cluster-operator

build the app docker image (optional)

mvn clean package docker:build

If this doesn't work, you can git checkout bintray and go straight to the deploy step, using a pre-built image published to bintray.

openshift

git checkout bintray
kubectl apply -f ./kubernetes

make a Route to deployment/akka-cluster-demo port 8080 for the UI

minikube

Install the AkkaCluster Operator.

Build the app against minikube's docker environment. Verify that the akka-cluster-demo:1.0.2 image is in minikube's registry:

docker images

Deploy the app:

kubectl apply -f ./kubernetes

Expose the built in UI:

kubectl expose deployment/akka-cluster-demo --type=NodePort --port 8080

Go to the UI:

minikube service akka-cluster-demo

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.