Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 630 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 630 Bytes

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.