Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for dryrun (0.12 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/upgrade/apply.go

    	}
    
    	// If the current session is interactive, ask the user whether they really want to upgrade.
    	dryRun, ok := cmdutil.ValueFromFlagsOrConfig(flagSet, options.DryRun, upgradeCfg.Apply.DryRun, &flags.dryRun).(*bool)
    	if ok {
    		flags.dryRun = *dryRun
    	} else {
    		return cmdutil.TypeMismatchErr("dryRun", "bool")
    	}
    
    	if flags.sessionIsInteractive() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/upgrade/common.go

    		if !ok {
    			return nil, nil, nil, nil, cmdutil.TypeMismatchErr("dryRun", "bool")
    		}
    	}
    
    	client, err := getClient(flags.kubeConfigPath, *isDryRun)
    	if err != nil {
    		return nil, nil, nil, nil, errors.Wrapf(err, "couldn't create a Kubernetes client from file %q", flags.kubeConfigPath)
    	}
    
    	ignorePreflightErrorsSet, err := validation.ValidateIgnorePreflightErrors(flags.ignorePreflightErrors, ignoreErrCfg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/node.go

    	if err != nil {
    		return nil, err
    	}
    
    	dryRun, ok := cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, upgradeCfg.Node.DryRun, &nodeOptions.dryRun).(*bool)
    	if !ok {
    		return nil, cmdutil.TypeMismatchErr("dryRun", "bool")
    	}
    	client, err := getClient(nodeOptions.kubeConfigPath, *dryRun)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    func GetKubeletDir(dryRun bool) (string, error) {
    	if dryRun {
    		return kubeadmconstants.CreateTempDirForKubeadm("", "kubeadm-upgrade-dryrun")
    	}
    	return kubeadmconstants.KubeletRunDirectory, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    			options.Patches,
    			options.DryRun,
    		}
    	case "download-certs":
    		flags = []string{
    			options.CfgPath,
    			options.ControlPlane,
    			options.FileDiscovery,
    			options.TokenDiscovery,
    			options.TokenDiscoveryCAHash,
    			options.TokenDiscoverySkipCAHash,
    			options.TLSBootstrapToken,
    			options.TokenStr,
    			options.CertificateKey,
    			options.DryRun,
    		}
    	case "certs":
    		flags = []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top