Merge pull request #36334 from luxas/add_preflight

Automatic merge from submit-queue

Add the system verification test to the kubeadm preflight checks

And refactor the system verification test to accept to write to a specific writer in order to customize the output

This PR is targeting v1.5, PTAL
cc @Random-Liu @dchen1107 @kubernetes/sig-cluster-lifecycle
This commit is contained in:
Kubernetes Submit Queue
2016-12-01 04:52:07 -08:00
committed by GitHub
14 changed files with 118 additions and 53 deletions

View File

@@ -92,7 +92,7 @@ func TestE2eNode(t *testing.T) {
glog.Exitf("chroot %q failed: %v", rootfs, err)
}
}
if err := system.Validate(); err != nil {
if err := system.ValidateDefault(); err != nil {
glog.Exitf("system validation failed: %v", err)
}
return