This service will run as DaemonSet within your K8s cluster running on AWS Spot Instance, it watches the AWS metadata service when running on Spot Instances.
AWS Spot instance receives termination notice via the instance meta data, that field will become available when the instance has been marked for termination, and will contain the time when a shutdown signal will be sent to the instance’s operating system.
This service will notify you via Slack that an Spot instance will be taken out of service.
- Kubernetes Cluster (running in AWS)
- Slack API Token
- Slack Channel
Remeber to update Slack
SLACK_API_TOKEN
andSLACK_CHANNEL
insecret.yml
- CHANNEL (otherwise it will be to
default
) - SLACK_API_TOKEN
- SLACK_CHANNEL
To deoloy this in your cluster:
Update
kustomization.yml
to deploy in a differentnamespace
otherwise this will be deployed to
default
namespace
kubectl apply -k deployment/
Our latest and greatest source of Jenkins can be found on GitHub. Fork us!
We would ❤️ you to contribute by making a pull request.
Please read the official Contribution Guide for more information on how you can contribute.
[] Drain Node