graceful
pod-graceful-drain
graceful | pod-graceful-drain | |
---|---|---|
1 | 1 | |
5 | 232 | |
- | - | |
4.8 | 0.0 | |
17 days ago | over 1 year ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graceful
-
Kubernetes' dirty endpoint secret and Ingress
Shameless plug... This is the go package I wrote to handle this and use in all of my servers: https://github.com/abursavich/graceful
pod-graceful-drain
-
Kubernetes' dirty endpoint secret and Ingress
This is something that plagued me when I started using Kubernetes because out of the box you will get 503s with a load balanced service.
After some research I ended up stumbling on https://github.com/foriequal0/pod-graceful-drain and never looked back. This has been working great so far. No dropped connections during a rollout and no need to set a preStop lifecycle hook. The only downside I've seen so far is it takes slightly longer (about a minute or so) to terminate pods but I'd much rather have that than have to worry about 503s in production during a rollout.
What are some alternatives?
goomerang - A small communications library based on protocol buffers over websockets
workerctl - worker controller for graceful shutdown
xtcp - A TCP Server Framework with graceful shutdown, custom protocol.
sslmgr - A layer of abstraction the around acme/autocert certificate manager (Golang)
graterm - Provides primitives to perform ordered GRAceful TERmination for Golang applications