Skip to content

schmiddim/fastify-graceful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastify Graceful Shutdown Example

Requirements

  • working kubectl setup
  • docker

Build

Build & Deploy with

./build.sh

Usage

  1. Watch for Pod logs
kubectl logs -nfastify -lapp=fastify -f
  1. Watch in a seperate terminal for changes in the deployment
 watch kubectl get pods  -n fastify
  1. Kill a fastify container and check the output from (1)

About

example for graceful container kill

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published