GithubHelp home page GithubHelp logo

jodr5786 / drain-node-on-crash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattmattox/drain-node-on-crash

0.0 1.0 0.0 13.53 MB

This app is designed to automatically Drain a node after a crash where the node fails to recover after 5mins.

Dockerfile 8.04% Shell 91.96%

drain-node-on-crash's Introduction

Drain-Node-On-Crash

This app is designed to automatically Drain a node after a crash where the node fails to recover after 5mins.

Install

git clone https://github.com/mattmattox/drain-node-on-crash.git
cd drain-node-on-crash
kubectl apply -f .

Upgrade

rm -rf drain-node-on-crash
git clone https://github.com/mattmattox/drain-node-on-crash.git
cd drain-node-on-crash
kubectl apply -f .

Default settings

NODE_TIMEOUT = 360 (seconds)

AUTO_UNCORDON = true (This setting will automatically uncordon a node that was drained by the script. NOTE: Nodes that have cordon outside this app will not be changed.)

REMOVE_PODS = true (This setting will automatically delete all pods from the node after draining.)

CATTLE_CLUSTER_AGENT = true (This setting will apply a fix for cattle-cluster-agent.)

drain-node-on-crash's People

Contributors

mattmattox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.