An open API service indexing awesome lists of open source software.

https://github.com/tgaff/k8s-puma-experiment

learning about k8s and scaling
https://github.com/tgaff/k8s-puma-experiment

Last synced: 16 days ago
JSON representation

learning about k8s and scaling

Awesome Lists containing this project

README

          

# general run

```sh
kubectl apply -f puma-deployment.yaml
kubectl expose deployment puma --port 8000 --target-port=9292 --name puma --type=LoadBalancer
curl http://localhost:8000/
```

To harass the server:
```
while true; do curl http://localhost:8000 &>/dev/null ; done
```

To get stats:

```
curl "http://localhost:9293/stats?token=12345" | jsonpp
```