https://github.com/deas/k8s-jee-test
Kubernetes JEE Test Application
https://github.com/deas/k8s-jee-test
Last synced: 2 months ago
JSON representation
Kubernetes JEE Test Application
- Host: GitHub
- URL: https://github.com/deas/k8s-jee-test
- Owner: deas
- Created: 2019-03-16T17:02:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-19T12:47:47.000Z (about 6 years ago)
- Last Synced: 2025-01-22T05:28:24.152Z (4 months ago)
- Language: Java
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Test Tomcat on Kubernetes
- Graceful Termination
- Deployment Scaling
- Load Balancing (via Service and Ingress Controller)
- Health Checks## Installation
```
helm install --name k8s-jee-test --namespace k8s-jee-test chart
```You may want to check `charts/values.yaml` and tweak values.
## Testing
Example:
```
ab -n 10 http://ip-and-port-of-service/k8s-jee-test/\?passthrough\=foobar\&sleep\=10
```The `k8s-jee-test` reference application should be logging meaningful infomartion to stdout.
## Request parameters
Request Parameter | Description
------------------------------- | ------------------------------------- |
`sleep` | Millis to wait before app responds |
`passthrough` | passthrough value (for tracing) |
`set_healthy` | `true` or `false`. Setting `false` gives `500` status. Restart should be kicking in.| |The `k8s-jee-test` reference app has as `unloadDelay` set to `20000`.