Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bugthesystem/peximet
Akka cluster sample on Kubernetes
https://github.com/bugthesystem/peximet
akka akka-cluster kubernetes scala
Last synced: 27 days ago
JSON representation
Akka cluster sample on Kubernetes
- Host: GitHub
- URL: https://github.com/bugthesystem/peximet
- Owner: bugthesystem
- License: mit
- Created: 2017-04-10T15:08:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-12T15:36:30.000Z (over 7 years ago)
- Last Synced: 2024-04-28T08:41:46.914Z (6 months ago)
- Topics: akka, akka-cluster, kubernetes, scala
- Language: Scala
- Size: 10.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Peximet
Akka cluster sample on Kubernetes## Create Docker Image
:warning: Kubernetes configurations should be updated accordingly!```sh
#Build
sbt assembly#build image
docker build -t {username}/peximet .docker push {username}/peximet
```
## Installation
```sh
# To deploy the seed nodes:
kubectl apply -f kubernetes/peximet-seed.yaml
# To deploy the worker nodes:
kubectl apply -f kubernetes/peximet-workers.yaml#Option 2: to deploy everything
kubectl apply -f kubernetes/
```## Usage
```sh
# Scale seed nodes:
kubectl scale statefulset peximet-seed --replicas=5#Scale worker nodes:
kubectl scale deployment peximet-workers --replicas=7#See logs:
kubectl logs -f peximet-seed-4
```## TODO
- ~~Create fatjar using sbt-assembly~~
- Add tests
- ~~Implement example actor model scenario~~