mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-20 12:14:23 -04:00
bootstrapper: wipe disk and reboot on non-recoverable error (#2971)
* Let JoinClient return fatal errors * Mark disk for wiping if JoinClient or InitServer return errors * Reboot system if bootstrapper detects an error * Refactor joinClient start/stop implementation * Fix joining nodes retrying kubeadm 3 times in all cases * Write non-recoverable failures to syslog before rebooting --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
1b973bf23f
commit
1077b7a48e
10 changed files with 199 additions and 220 deletions
|
@ -37,7 +37,7 @@ const (
|
|||
|
||||
var diskPath = flag.String("disk", "", "Path to the disk to use for the benchmark")
|
||||
|
||||
var toolsEnvs []string = []string{"DD", "RM"}
|
||||
var toolsEnvs = []string{"DD", "RM"}
|
||||
|
||||
// addToolsToPATH is used to update the PATH to contain necessary tool binaries for
|
||||
// coreutils.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue