Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 354 for dryrun (0.14 sec)

  1. 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)
  2. pkg/registry/core/pod/storage/eviction.go

    		return &metav1.DeleteOptions{DryRun: options.DryRun}, nil
    	}
    	if len(eviction.DeleteOptions.DryRun) == 0 {
    		eviction.DeleteOptions.DryRun = options.DryRun
    		return eviction.DeleteOptions, nil
    	}
    	if len(options.DryRun) == 0 {
    		return eviction.DeleteOptions, nil
    	}
    
    	if !reflect.DeepEqual(options.DryRun, eviction.DeleteOptions.DryRun) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/init.go

    	}
    
    	return &initData{
    		cfg:                     cfg,
    		certificatesDir:         cfg.CertificatesDir,
    		skipTokenPrint:          initOptions.skipTokenPrint,
    		dryRun:                  cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, cfg.DryRun, initOptions.dryRun).(bool),
    		dryRunDir:               dryRunDir,
    		kubeconfigDir:           initOptions.kubeconfigDir,
    		kubeconfigPath:          initOptions.kubeconfigPath,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K 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. cmd/kubeadm/app/cmd/phases/init/addons_test.go

    				options.ImageRepository,
    				options.DryRun,
    				options.APIServerAdvertiseAddress,
    				options.ControlPlaneEndpoint,
    				options.APIServerBindPort,
    				options.NetworkingPodSubnet,
    			},
    		}, {
    			name: "coredns",
    			want: []string{options.CfgPath,
    				options.KubeconfigPath,
    				options.KubernetesVersion,
    				options.ImageRepository,
    				options.DryRun,
    				options.FeatureGatesString,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 07:35:17 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. tests/sql_builder_test.go

    		t.Errorf("The first join condition is over written instead of combining")
    	}
    }
    
    func TestToSQL(t *testing.T) {
    	// By default DB.DryRun should false
    	if DB.DryRun {
    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/join.go

    	dryRunDir := ""
    	if opt.dryRun || cfg.DryRun {
    		if dryRunDir, err = kubeadmconstants.CreateTempDirForKubeadm("", "kubeadm-join-dryrun"); err != nil {
    			return nil, errors.Wrap(err, "couldn't create a temporary directory on dryrun")
    		}
    	}
    
    	return &joinData{
    		cfg:                   cfg,
    		dryRun:                cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, cfg.DryRun, opt.dryRun).(bool),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top