Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 210 for Cfg (0.02 sec)

  1. cni/pkg/repair/repair.go

    func StartRepair(ctx context.Context, cfg config.RepairConfig) {
    	if !cfg.Enabled {
    		repairLog.Info("CNI repair is disable.")
    		return
    	}
    	repairLog.Info("Start CNI race condition repair.")
    
    	client, err := clientSetup()
    	if err != nil {
    		repairLog.Fatalf("CNI repair could not construct clientSet: %s", err)
    	}
    
    	rc, err := NewRepairController(client, cfg)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. pilot/pkg/model/telemetry_test.go

    	data []struct {
    		typ config.GroupVersionKind
    		ns  string
    		cfg config.Config
    	}
    }
    
    func (ts *telemetryStore) add(cfg config.Config) {
    	ts.data = append(ts.data, struct {
    		typ config.GroupVersionKind
    		ns  string
    		cfg config.Config
    	}{
    		typ: cfg.GroupVersionKind,
    		ns:  cfg.Namespace,
    		cfg: cfg,
    	})
    }
    
    func (ts *telemetryStore) Schemas() collection.Schemas {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/config_test.go

    	testcases := []struct {
    		name           string
    		cfg            kubeadmapiv1.ClusterConfiguration
    		expectedImages int
    	}{
    		{
    			name:           "empty config",
    			expectedImages: defaultNumberOfImages,
    			cfg: kubeadmapiv1.ClusterConfiguration{
    				KubernetesVersion: dummyKubernetesVersionStr,
    			},
    		},
    		{
    			name: "external etcd configuration",
    			cfg: kubeadmapiv1.ClusterConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/common/deployment/namespace.go

    		if d.External.Namespace != nil {
    			DeployExternalServiceEntry(cfg, ns, d.External.Namespace, false)
    		}
    	}
    
    	return cfg.Apply(apply.NoCleanup)
    }
    
    func DeployExternalServiceEntry(cfg config.Factory, deployedNamespace, externalNamespace namespace.Instance, manuallyAllocate bool) config.Plan {
    	return cfg.Eval(deployedNamespace.Name(), map[string]any{
    		"Namespace":        externalNamespace.Name(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/util.go

    	out := make(map[types.NamespacedName]*config.Config)
    	for i, cfg := range ses {
    		se := cfg.Spec.(*networking.ServiceEntry)
    		if se.WorkloadSelector != nil && labels.Instance(se.WorkloadSelector.Labels).Match(wle.Labels) {
    			out[cfg.NamespacedName()] = &ses[i]
    		}
    	}
    
    	return out
    }
    
    // returns a set of objects that are in `old` but not in `curr`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/sidecar_simulation_test.go

    					} else {
    						t.Parallel() // feature flags and parallel tests don't mix
    					}
    					cfg := knownServices
    					for _, tc := range tt.cfg {
    						cfg = cfg + "\n---\n" + tc.Config(t, variant)
    					}
    					istio, k, err := crd.ParseInputs(cfg)
    					if err != nil {
    						t.Fatal(err)
    					}
    					kubeo, err := kube.SlowConvertKindsToRuntimeObjects(k)
    					if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/config.go

    func NewImagesList(cfgPath string, cfg *kubeadmapiv1old.ClusterConfiguration) (*ImagesList, error) {
    	initcfg, err := configutil.LoadOrDefaultInitConfiguration(cfgPath, &kubeadmapiv1old.InitConfiguration{}, cfg, configutil.LoadOrDefaultConfigurationOptions{
    		SkipCRIDetect: true,
    	})
    	if err != nil {
    		return nil, errors.Wrap(err, "could not convert cfg to an internal cfg")
    	}
    
    	return &ImagesList{
    		cfg: initcfg,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. internal/config/cache/cache.go

    	cfg.Enable = env.Get(EnvEnable, kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    
    	if d := env.Get(EnvBlockSize, kvs.GetWithDefault(BlockSize, DefaultKVS)); d != "" {
    		objectSize, err := humanize.ParseBytes(d)
    		if err != nil {
    			return cfg, err
    		}
    		cfg.BlockSize = int64(objectSize)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. internal/config/identity/tls/config.go

    	if err := config.CheckValidKeys(config.IdentityTLSSubSys, kvs, DefaultKVS); err != nil {
    		return Config{}, err
    	}
    	cfg := Config{}
    	var err error
    	v := env.Get(EnvIdentityTLSEnabled, "")
    	if v == "" {
    		return cfg, nil
    	}
    	cfg.Enabled, err = config.ParseBool(v)
    	if err != nil {
    		return Config{}, err
    	}
    	cfg.InsecureSkipVerify, err = config.ParseBool(env.Get(EnvIdentityTLSSkipVerify, kvs.Get(skipVerify)))
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/cleanup.go

    		i.ctx.RecordTraceEvent("istio-cleanup", delta.Seconds())
    		scopes.Framework.Infof("=== SUCCEEDED: Cleanup Istio in %v [Suite=%s] ===", delta, i.ctx.Settings().TestID)
    	}()
    
    	if i.cfg.DumpKubernetesManifests {
    		i.installer.Dump(i.ctx)
    	}
    
    	if i.cfg.DeployIstio {
    		errG := multierror.Group{}
    		// Make sure to clean up primary clusters before remotes, or istiod will recreate some of the CMs that we delete
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top