Skip to content

gezb/node-restart-controller

Repository files navigation

node-drain-controller

Controller that cordons and drains nodes, taking into account pods that need special handling during restarts (for example, Vault and Elasticsearch).

Description

// TODO(user): An in-depth paragraph about your project and overview of use

Getting Started

Prerequisites

  • go version v1.26.2+
  • docker version 17.03+.
  • kubectl version v1.11.3+.
  • Access to a Kubernetes v1.11.3+ cluster.

Running the tests

Unit tests

mage test

End To End tests

mage teste2e

+NOTE The end-to-end tests start a K3D cluster with 6 nodes (1 server and 5 workers), so open file limits may need to be increased. See Kind troubleshooting: Pod errors due to “too many open files”.

All tests

All tests can be run with

mage testall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages