bsycorp / spot-keeper Goto Github PK
View Code? Open in Web Editor NEWThis is a simple set of scripts to enable the use of EC2 Spot Blocks for CI builds
This is a simple set of scripts to enable the use of EC2 Spot Blocks for CI builds
Cordon is only done in the replace
script, not in the maintain
even if our of hours.
Could exec and write to process stdout/stderr before spot node death as an FYI to long-running process that it is about to die. Will make it more obvious why a process fails.
via echo hey > /proc/8/fd/1
or similar
Captured the errors as below in kops-controller logs:
controller.go:218] controller-runtime/controller "msg"="Reconciler error"
"error"="unable to load instance group object for node ip-10-215-98-144.ap-southeast-2.compute.internal:
error identifying node \"ip-10-215-98-144.ap-southeast-2.compute.internal\":
kops.k8s.io/instancegroup tag not set on instance i-0c33a94b5123b8aa4"
"controller"="node" "request"={"Namespace":"","Name":"ip-10-215-98-144.ap-southeast-2.compute.internal"}
Consequently, spotbuilds nodes are listed without valid label:
% kubectl get nodes | grep none
ip-10-215-98-136.ap-southeast-2.compute.internal Ready <none> 118m v1.17.0
ip-10-215-98-144.ap-southeast-2.compute.internal Ready <none> 93m v1.17.0
ip-10-215-98-147.ap-southeast-2.compute.internal Ready <none> 98m v1.17.0
ip-10-215-98-153.ap-southeast-2.compute.internal Ready <none> 115m v1.17.0
ip-10-215-98-157.ap-southeast-2.compute.internal Ready <none> 104m v1.17.0
ip-10-215-98-158.ap-southeast-2.compute.internal Ready <none> 108m v1.17.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.