GitXplorerGitXplorer
l

testconn

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
f1ade100167ee60959a5dccb69a5fb6f8f751af8

chore(main): release 1.6.0 (#8)

lleonardoce committed 2 years ago
Unverified
23c7813a91853e7ea588a428d47cb57a1f7a153b

feat: allow faking the liveness probe

lleonardoce committed 2 years ago
Verified
27b70e2b8677000ccf06344428db7011a49f9dec

chore(main): release 1.5.0 (#7)

lleonardoce committed 2 years ago
Unverified
ccb256f84558a4def9c0f3952b4e90aa3809199e

feat: configuration from environment variable

lleonardoce committed 2 years ago
Unverified
affddec397df4caf86261049f88281b6ea598d5c

fix: linter messages

lleonardoce committed 2 years ago
Unverified
40d7d42ae42a52aeec69a4d7c8937e3a172c74cd

feat: add Kubernetes definitions

lleonardoce committed 2 years ago

README

The README file for this repository.

Test connection

This is a simple web application that just tests a PostgreSQL connection.

It exposes just a few entrypoints:

  • /ping pings the database
  • /readyz pings the database
  • /livez returns 200 if the probe is not failed, otherwise it will raise an internal server error
  • /fake set the liveness probe to be faked

This application must not be used as a reference, but it is just meant to explain the meaning of Kubernetes probes.

Some example Kubernetes definitions can be found in the k8s directory.