Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

softwaremill/k8s-template-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example app for k8s-template

Exposes an API endpoint:

curl http://localhost:8080/api/hello/john

Logs INFO and ERROR logs. ERRORs when the name is adam, INFOs for every other request:

curl http://localhost:8080/api/hello/adam

Exposes metrics, JVM + a custom request count:

curl http://localhost:8080/metrics

Exposes a status endpoint, which returns 200/503:

curl http://localhost:8080/status
curl -X POST http://localhost:8080/api/kill

Build as a docker image (using sbt docker:publish) as softwaremill/k8s-template-example-app.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages