- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CreateLocalEtcdStaticPodManifestFile (0.45 sec)
-
cmd/kubeadm/app/phases/etcd/local_test.go
manifestPath := filepath.Join(tmpdir, kubeadmconstants.ManifestsSubDirName) err := CreateLocalEtcdStaticPodManifestFile(manifestPath, "", "", test.cfg, &kubeadmapi.APIEndpoint{}, false /* IsDryRun */) if !test.expectedError { if err != nil { t.Errorf("CreateLocalEtcdStaticPodManifestFile failed when not expected: %v", err) } // Assert expected files are there
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 15.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/etcd/local.go
etcdHealthyCheckRetries = 8 ) // CreateLocalEtcdStaticPodManifestFile will write local etcd static pod manifest file. // This function is used by init - when the etcd cluster is empty - or by kubeadm // upgrade - when the etcd cluster is already up and running (and the --initial-cluster flag have no impact)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 14:07:27 UTC 2024 - 13.8K bytes - Viewed (1) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
t.Fatalf("couldn't run CreateInitStaticPodManifestFiles: %v", err) } err = etcdphase.CreateLocalEtcdStaticPodManifestFile(pathMgr.RealManifestDir(), pathMgr.PatchesDir(), oldcfg.NodeRegistration.Name, &oldcfg.ClusterConfiguration, &oldcfg.LocalAPIEndpoint, false /* isDryRun */) if err != nil { t.Fatalf("couldn't run CreateLocalEtcdStaticPodManifestFile: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods.go
if err != nil { return true, err } // Write the updated etcd static Pod manifest into the temporary directory, at this point no etcd change // has occurred in any aspects. if err := etcdphase.CreateLocalEtcdStaticPodManifestFile(pathMgr.TempManifestDir(), pathMgr.PatchesDir(), cfg.NodeRegistration.Name, &cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, false /* isDryRun */); err != 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)