All Projects → ticofab → akka-cluster-kubernetes

ticofab / akka-cluster-kubernetes

Licence: other
Code for our talk about achieving elasticity with Akka Cluster and Kubernetes

Programming Languages

scala
5932 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to akka-cluster-kubernetes

akka-cookbook
提供清晰、实用的Akka应用指导
Stars: ✭ 30 (-9.09%)
Mutual labels:  akka-cluster
MSAT
MATLAB Seismic Anisotropy Toolkit
Stars: ✭ 31 (-6.06%)
Mutual labels:  elasticity
akka-cluster-on-kubernetes
Sample project for deploying Akka Cluster to Kubernetes. Presented at Scala Up North on July 21, 2017.
Stars: ✭ 35 (+6.06%)
Mutual labels:  akka-cluster
endless
Scala library to describe sharded and event sourced entities using tagless-final algebras
Stars: ✭ 70 (+112.12%)
Mutual labels:  akka-cluster
akka-cluster-sample
A sample Akka Cluster application that uses ZooKeeper for service discovery
Stars: ✭ 13 (-60.61%)
Mutual labels:  akka-cluster
simplexspatial
The Reactive Geospatial Server
Stars: ✭ 17 (-48.48%)
Mutual labels:  akka-cluster
distributed-cache-on-k8s-poc
[PoC] Distributed Cache with Akka Cluster Sharding and Akka HTTP on Kubernetes
Stars: ✭ 15 (-54.55%)
Mutual labels:  akka-cluster
PINN-elastodynamics
physics-informed neural network for elastodynamics problem
Stars: ✭ 68 (+106.06%)
Mutual labels:  elasticity
akka-cluster-operator
Run Akka Cluster applications in Kubernetes.
Stars: ✭ 72 (+118.18%)
Mutual labels:  akka-cluster
continuum mechanics
Utilities for doing calculations in continuum mechanics.
Stars: ✭ 18 (-45.45%)
Mutual labels:  elasticity
DOT
Decomposed Optimization Time Integration (DOT) is a domain-decomposed optimization method for fast, reliable simulation of deformation dynamics. DOT efficiently converges with frame-rate time-steps across a wide range of extreme conditions.
Stars: ✭ 37 (+12.12%)
Mutual labels:  elasticity
Market-Mix-Modeling
Market Mix Modelling for an eCommerce firm to estimate the impact of various marketing levers on sales
Stars: ✭ 31 (-6.06%)
Mutual labels:  elasticity
PhysIKA
PhysIKA: Physics-based Interactive Kinematics Architecture
Stars: ✭ 91 (+175.76%)
Mutual labels:  elasticity
insightedge
InsightEdge Core
Stars: ✭ 22 (-33.33%)
Mutual labels:  elasticity
sbt-kubeyml
Sbt plugin to help deploy Scala applications to Kubernetes
Stars: ✭ 37 (+12.12%)
Mutual labels:  akka-cluster
akkadotnet-bootstrap
Akka.Remote and Akka.Cluster Bootstrapping Tools for Akka.NET
Stars: ✭ 29 (-12.12%)
Mutual labels:  akka-cluster
akka-cluster-minimal
Akka Cluster - absolute minimal
Stars: ✭ 16 (-51.52%)
Mutual labels:  akka-cluster
khermes
A distributed fake data generator based in Akka.
Stars: ✭ 94 (+184.85%)
Mutual labels:  akka-cluster

Akka Cluster Kubernetes

This project is a working example of achieving Elasticity (in the sense of the Reactive Manifesto) using Akka Cluster and Kubernetes.

Elasticity is the ability of a system to scale its resources up and down according to the present need. We want to use just the right amount: nothing more, nothing less.

We combine custom resource metrics with logic to automatically adjust the configuration of the underlying cloud infrastructure.

An alternative example of cluster formation is in my other project CloudMatch, which uses the Akka Cluster Bootstrap - Kubernetes API module for Akka.

Usage

First, package the app localy in a Docker container:

sbt docker:publishLocal

Upload the image to your Kubernetes project:

gcloud docker -- push <your_project>:latest

From the k8s-deployment folder, start the whole thing with:

kubectl apply -f service.yaml

Now you can access nodes' logs. When done, shut down:

kubectl delete deployment akka-master

License

Copyright 2018 Fabio Tiriticco, Adam Sandor

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].