Skip to content

Slay preboot providing shutdown and Kubernetes readiness / liveness checks with terminus

License

Notifications You must be signed in to change notification settings

godaddy/slay-terminus

Repository files navigation

slay-terminus

Slay preboot providing shutdown and Kubernetes readiness / liveness checks with terminus.

Usage

const terminusOptions = {
  healthChecks: {
    '/healthcheck': () => Promise.resolve()
  },
  logger: console.log
};

app.preboot(require('slay-terminus')(terminusOptions));

Tests

All tests are written with mocha and should be run with npm:

$ npm test

About

Slay preboot providing shutdown and Kubernetes readiness / liveness checks with terminus

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published