Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for dryrun (0.31 sec)

  1. cmd/kubeadm/app/util/dryrun/dryrun.go

    			files = append(files, NewFileToPrint(realPath, outputPath))
    		}
    	} else {
    		fmt.Printf("[dryrun] Wrote certificates and kubeconfig files to the %q directory\n", manifestDir)
    	}
    
    	fmt.Println("[dryrun] The certificates or kubeconfig files would not be printed due to their sensitive nature")
    	fmt.Printf("[dryrun] Please examine the %q directory for details about what would be written\n", manifestDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go

    		dirsToClean = append(dirsToClean, tempDir)
    	}
    	resetConfigDir(kubeadmconstants.KubernetesDir, dirsToClean, r.DryRun())
    
    	if r.Cfg() != nil && features.Enabled(r.Cfg().FeatureGates, features.RootlessControlPlane) {
    		if !r.DryRun() {
    			klog.V(1).Infoln("[reset] Removing users and groups created for rootless control-plane")
    			if err := users.RemoveUsersAndGroups(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/upgrade/node/kubeletconfig.go

    		cfg := data.InitCfg()
    		dryRun := data.DryRun()
    
    		// Write the configuration for the kubelet down to disk and print the generated manifests instead if dry-running.
    		// If not dry-running, the kubelet config file will be backed up to /etc/kubernetes/tmp/ dir, so that it could be
    		// recovered if there is anything goes wrong.
    		err := upgrade.WriteKubeletConfigFiles(cfg, data.PatchesDir(), dryRun, data.OutputWriter())
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go

    		cfg := data.InitCfg()
    		client := data.Client()
    		dryRun := data.DryRun()
    		etcdUpgrade := data.EtcdUpgrade()
    		renewCerts := data.RenewCerts()
    		patchesDir := data.PatchesDir()
    
    		// Upgrade the control plane and etcd if installed on this node
    		fmt.Printf("[upgrade] Upgrading your Static Pod-hosted control plane instance to version %q...\n", cfg.KubernetesVersion)
    		if dryRun {
    			return upgrade.DryRunStaticPodUpgrade(patchesDir, cfg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

            this.filter = filter;
            this.objects = objects;
            this.testTaskTemporaryDir = testTaskTemporaryDir;
            this.htmlReport = htmlReport;
            this.options = options;
            this.detector = new TestNGDetector(new ClassFileExtractionManager(testTaskTemporaryDir));
            this.dryRun = dryRun;
    
            conventionMapOutputDirectory(options, htmlReport);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go

    		return err
    	}
    
    	return nil
    }
    
    // newControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up.
    func newControlPlaneWaiter(dryRun bool, timeout time.Duration, client clientset.Interface, out io.Writer) (apiclient.Waiter, error) {
    	if dryRun {
    		return dryrunutil.NewWaiter(), nil
    	}
    	return apiclient.NewKubeWaiter(client, timeout, out), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/reset_test.go

    					t.Error("Invalid forceReset")
    				}
    			},
    		},
    		{
    			name: "dryRun configured in the config file only",
    			flags: map[string]string{
    				options.CfgPath: configFilePath,
    			},
    			validate: func(t *testing.T, data *resetData) {
    				if data.dryRun != true {
    					t.Error("Invalid dryRun")
    				}
    			},
    		},
    		{
    			name: "--cert-dir flag is not allowed to mix with config",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	// TODO: think of a better place to move this call - e.g. a hidden phase.
    	if data.DryRun() {
    		if err := dryrunutil.PrintFilesIfDryRunning(true /* needPrintManifest */, data.ManifestDir(), data.OutputWriter()); err != nil {
    			return errors.Wrap(err, "error printing files on dryrun")
    		}
    	}
    
    	// Both Wait* calls below use a /healthz endpoint, thus a client without permissions works fine
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate.go

    func RenderToDir(manifests name.ManifestMap, outputDir string, dryRun bool, l clog.Logger) error {
    	l.LogAndPrintf("Component dependencies tree: \n%s", helmreconciler.InstallTreeString())
    	l.LogAndPrintf("Rendering manifests to output dir %s", outputDir)
    	return renderRecursive(manifests, helmreconciler.InstallTree, outputDir, dryRun, l)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/shared.go

    type applyOptions struct {
    	// Path to the kubeconfig file.
    	Kubeconfig string
    	// ComponentName of the kubeconfig context to use.
    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top