https://github.com/trendev/simdg
Smart In Memory Data Grid with Payara & Kubernetes
https://github.com/trendev/simdg
Last synced: about 1 year ago
JSON representation
Smart In Memory Data Grid with Payara & Kubernetes
- Host: GitHub
- URL: https://github.com/trendev/simdg
- Owner: trendev
- License: mit
- Archived: true
- Created: 2020-02-18T22:06:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-08T11:34:02.000Z (about 3 years ago)
- Last Synced: 2025-03-04T01:32:56.585Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simdg
Smart In Memory Data Grid
Build with Docker, Kubernetes, Hazelcast, Payara and Eclipse Microprofile.
## Docker
`docker build -t trendev/simdg .`
`docker run -d -p 8080:8080 trendev/simdg`
or you can use the docker-compose file
`docker-compose up`
## Kubernetes
> All config files are located in `k8s/` folder
### Create simdg namespace
`kubectl apply -f k8s/namespace.yml `
```
namespace/simdg created
```
### Create simdg service and simdg deployment
`kubectl apply -f k8s`
```
deployment.apps/simdg created
namespace/simdg unchanged
service/simdg created
```
### Control if deployment is successful
`kubectl get pods -n simdg`
```
NAME READY STATUS RESTARTS AGE
simdg-845b69789b-mvq5x 1/1 Running 0 88s
simdg-845b69789b-ntxkc 1/1 Running 0 88s
simdg-845b69789b-ps8kf 1/1 Running 0 88s
simdg-845b69789b-sjrmn 1/1 Running 0 88s
```
`kubectl get rs -n simdg`
```
NAME DESIRED CURRENT READY AGE
simdg-845b69789b 4 4 4 95s
```
`kubectl get deployments.apps -n simdg`
```
NAME READY UP-TO-DATE AVAILABLE AGE
simdg 4/4 4 4 1m47s
```
### Quick build
`mvn clean install && docker build -t trendev/simdg . && docker push trendev/simdg`