Skip to content

Latest commit

 

History

History
 
 

repair

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Cluster Repair

repair is an standalone tool to detect problematic nodes in a cluster and repair them. It is built on top of the Cluster API, and is an example of tooling that can be built in a cloud-agnostic way.

Build

$ cd $GOPATH/src/sigs.k8s.io/
$ git clone https://github.com/kubernetes-sigs/cluster-api
$ cd cluster-api/tools/repair
$ go build

Run

  1. Create a cluster using the gcp-deployer tool.
  2. To do a dry run of detecting broken nodes and seeing what needs to be repaired, run ./repair --dryrun true.
  3. To actually repair the nodes in cluster, run ./repair without the --dryrun flag.