- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BackupEtcdDir (0.23 sec)
-
cmd/kubeadm/app/phases/upgrade/staticpods.go
backupEtcdDir := pathMgr.BackupEtcdDir() runningEtcdDir := cfg.Etcd.Local.DataDir output, err := kubeadmutil.CopyDir(backupEtcdDir, runningEtcdDir) if err != nil { // Let the user know there we're problems, but we tried to reçover return errors.Wrapf(err, "couldn't recover etcd database with error, the location of etcd backup: %s, output: %q", backupEtcdDir, output) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 10:07:41 UTC 2024 - 30.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
if test.shouldDeleteEtcd { if _, err := os.Stat(pathmgr.BackupEtcdDir()); !os.IsNotExist(err) { t.Errorf("expected etcd dir %s not to exist, but it did (%v)", pathmgr.BackupEtcdDir(), err) } } else { if _, err := os.Stat(pathmgr.BackupEtcdDir()); os.IsNotExist(err) { t.Errorf("expected etcd dir %s to exist, but it did not", pathmgr.BackupEtcdDir()) } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0)