Sign inSign up

errm/spotgun

By errm

•Updated almost 7 years ago

Image
0

335

errm/spotgun repository overview

⁠Spotgun

spotgun

Image Credit⁠

Spotgun polls the EC2 metadata service for a spot instance termination notice and then drains the node before it is terminated.

This gives Kubernetes almost 2 minutes to gracefully remove any pods running on a spot instance before it is terminated by AWS.

You can read more about spot instance termination notices here⁠

⁠Usage

Ensure that your spot nodes are labeled appropriately, e.g:

"node-role.kubernetes.io/spot-worker": "true"

Then deploy the manifest:

kubectl -f spotgun.yaml

Tag summary

Content type

Image

Digest

Size

21.8 MB

Last updated

almost 7 years ago

docker pull errm/spotgun