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/k8s.io/
$ git clone git@github.com:kubernetes/kube-deploy.git
$ cd kube-deploy/cluster-api/repair
$ go build
Run
Create a cluster using the cluster-api tool.
To do a dry run of detecting broken nodes and seeing what needs to be
repaired, run ./repair --dryrun true.
To actually repair the nodes in cluster, run ./repair without the
--dryrun flag.