Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for cfgData (0.11 sec)

  1. pilot/pkg/config/kube/crdclient/client_test.go

    		name := "name1"
    		namespace := "bar"
    		cfgMeta := config.Meta{
    			GroupVersionKind: r.GroupVersionKind(),
    			Name:             name,
    		}
    		if !r.IsClusterScoped() {
    			cfgMeta.Namespace = namespace
    		}
    		pb := &v1alpha3.WorkloadGroup{Probe: &v1alpha3.ReadinessProbe{PeriodSeconds: 6}}
    		if _, err := store.Create(config.Config{
    			Meta: cfgMeta,
    			Spec: config.Spec(pb),
    		}); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/join_test.go

    			name: "pre-flights errors from JoinConfiguration only",
    			flags: map[string]string{
    				options.CfgPath: configFilePath,
    			},
    			validate: expectedJoinIgnorePreflightErrors(sets.New("c", "d")),
    		},
    		{
    			name: "pre-flights errors from both CLI args and JoinConfiguration",
    			flags: map[string]string{
    				options.CfgPath:               configFilePath,
    				options.IgnorePreflightErrors: "a,b",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/upgrade/diff.go

    	controllerManagerManifestPath string
    	schedulerManifestPath         string
    	newK8sVersionStr              string
    	contextLines                  int
    	kubeConfigPath                string
    	cfgPath                       string
    	out                           io.Writer
    }
    
    var (
    	defaultAPIServerManifestPath         = constants.GetStaticPodFilepath(constants.KubeAPIServer, constants.GetStaticPodDirectory())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go

    				InheritFlags:   []string{options.CfgPath, options.CertificatesDir, options.DryRun},
    				Example:        kubeletFinalizePhaseExample,
    				RunAllSiblings: true,
    			},
    			{
    				Name:         "enable-client-cert-rotation",
    				Short:        "Enable kubelet client certificate rotation",
    				InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:54:51 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. cmd/admin-bucket-handlers.go

    		bucketQuotaConfigFile,
    		objectLockConfig,
    		bucketVersioningConfig,
    		bucketReplicationConfig,
    		bucketTargetsFile,
    	}
    	for _, bi := range buckets {
    		for _, cfgFile := range cfgFiles {
    			cfgPath := pathJoin(bi.Name, cfgFile)
    			bucket := bi.Name
    			switch cfgFile {
    			case bucketNotificationConfig:
    				config, err := globalBucketMetadataSys.GetNotificationConfig(bucket)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/token.go

    			client, err := cmdutil.GetClientSet(kubeConfigFile, dryRun)
    			if err != nil {
    				return err
    			}
    
    			return RunCreateToken(out, client, cfgPath, cfg, printJoinCommand, certificateKey, kubeConfigFile)
    		},
    	}
    
    	options.AddConfigFlag(createCmd.Flags(), &cfgPath)
    	createCmd.Flags().BoolVar(&printJoinCommand,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/node.go

    // Please note that this structure includes the public kubeadm config API, but only a subset of the options
    // supported by this api will be exposed as a flag.
    type nodeOptions struct {
    	cfgPath               string
    	kubeConfigPath        string
    	etcdUpgrade           bool
    	renewCerts            bool
    	dryRun                bool
    	patchesDir            string
    	ignorePreflightErrors []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/reset.go

    	`)
    )
    
    // resetOptions defines all the options exposed via flags by kubeadm reset.
    type resetOptions struct {
    	kubeconfigPath        string
    	cfgPath               string
    	ignorePreflightErrors []string
    	externalcfg           *v1beta4.ResetConfiguration
    	skipCRIDetect         bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/config/cluster_test.go

    			expectedError: true,
    		},
    	}
    
    	for _, rt := range tests {
    		t.Run(rt.name, func(t2 *testing.T) {
    			cfgPath := filepath.Join(tmpdir, kubeadmconstants.KubeletKubeConfigFileName)
    			if len(rt.fileContents) > 0 {
    				err := os.WriteFile(cfgPath, rt.fileContents, 0644)
    				if err != nil {
    					t.Errorf("Couldn't create file")
    					return
    				}
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/preflight.go

    		Name:    "preflight",
    		Short:   "Run pre-flight checks",
    		Long:    "Run pre-flight checks for kubeadm init.",
    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.IgnorePreflightErrors,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top