Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 354 for dryrun (0.14 sec)

  1. cmd/kubeadm/app/cmd/phases/init/preflight.go

    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.IgnorePreflightErrors,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    func runPreflight(c workflow.RunData) error {
    	data, ok := c.(InitData)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/init/kubeconfig.go

    		if data.ExternalCA() {
    			fmt.Printf("[kubeconfig] External CA mode: Using user provided %s\n", kubeConfigFileName)
    			// If using an external CA while dryrun, copy kubeconfig files to dryrun dir for later use
    			if data.DryRun() {
    				err := kubeadmutil.CopyFile(filepath.Join(kubeadmconstants.KubernetesDir, kubeConfigFileName), filepath.Join(data.KubeConfigDir(), kubeConfigFileName))
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 04:36:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    	}
    	return ""
    }
    
    func cleanDryRun(u *url.URL) string {
    	// avoid allocating when we don't see dryRun in the query
    	if !strings.Contains(u.RawQuery, "dryRun") {
    		return ""
    	}
    	dryRun := u.Query()["dryRun"]
    	if errs := validation.ValidateDryRun(nil, dryRun); len(errs) > 0 {
    		return "invalid"
    	}
    	// Since dryRun could be valid with any arbitrarily long length
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator-init.go

    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    	// If CR was passed, we must create a namespace for it and install CR into it.
    	customResource, istioNamespace, err := getCRAndNamespaceFromFile(oiArgs.inFilename, l)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. pkg/registry/core/service/ipallocator/interfaces.go

    	AllocateNext() (net.IP, error)
    	Release(net.IP) error
    	ForEach(func(net.IP))
    	CIDR() net.IPNet
    	IPFamily() api.IPFamily
    	Has(ip net.IP) bool
    	Destroy()
    	EnableMetrics()
    
    	// DryRun offers a way to try operations without persisting them.
    	DryRun() Interface
    }
    
    var (
    	ErrFull              = errors.New("range is full")
    	ErrAllocated         = errors.New("provided IP is already allocated")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	BootstrapTokens []bootstraptokenv1.BootstrapToken `json:"bootstrapTokens,omitempty"`
    
    	// DryRun tells if the dry run mode is enabled, don't apply any change if it is and just output what would be done.
    	// +optional
    	DryRun bool `json:"dryRun,omitempty"`
    
    	// NodeRegistration holds fields that relate to registering the new control-plane node to the cluster
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/token.go

    		// user knows that their command was invalid.
    		Run: cmdutil.SubCmdRun(),
    	}
    
    	options.AddKubeConfigFlag(tokenCmd.PersistentFlags(), &kubeConfigFile)
    	tokenCmd.PersistentFlags().BoolVar(&dryRun,
    		options.DryRun, dryRun, "Whether to enable dry-run mode or not")
    
    	cfg := &kubeadmapiv1.InitConfiguration{}
    
    	// Default values for the cobra help text
    	kubeadmscheme.Scheme.Default(cfg)
    
    	var cfgPath string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    	if err := InstallManifests(iop, iArgs.Force, rootArgs.DryRun, kubeClient, client, iArgs.ReadinessTimeout, l); err != nil {
    		return fmt.Errorf("failed to install manifests: %v", err)
    	}
    	opts := &helmreconciler.ProcessDefaultWebhookOptions{
    		Namespace: ns,
    		DryRun:    rootArgs.DryRun,
    	}
    	if processed, err := helmreconciler.ProcessDefaultWebhook(kubeClient, iop, exists, opts); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.UpdateOptions.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 172 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.UpdateOptions.yaml

    apiVersion: v1
    dryRun:
    - dryRunValue
    fieldManager: fieldManagerValue
    fieldValidation: fieldValidationValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 127 bytes
    - Viewed (0)
Back to top