Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CreateLocalEtcdStaticPodManifestFile (0.61 sec)

  1. 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)
  2. cmd/kubeadm/app/cmd/phases/init/etcd.go

    				fmt.Printf("[etcd] Would ensure that %q directory is present\n", cfg.Etcd.Local.DataDir)
    			}
    			fmt.Printf("[etcd] Creating static Pod manifest for local etcd in %q\n", data.ManifestDir())
    			if err := etcdphase.CreateLocalEtcdStaticPodManifestFile(data.ManifestDir(), data.PatchesDir(), cfg.NodeRegistration.Name, &cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, data.DryRun()); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
Back to top