https://github.com/bugthesystem/peximet
Akka cluster sample on Kubernetes
https://github.com/bugthesystem/peximet
akka akka-cluster kubernetes scala
Last synced: about 2 months 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-12T15:36:30.000Z (about 9 years ago)
- Last Synced: 2025-02-14T13:06:23.652Z (over 1 year 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~~