Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for componentconfig (0.44 sec)

  1. cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

    	CreateEmpty: func() kubeadmapi.ComponentConfig {
    		return &clusterConfig{
    			configBase: configBase{
    				GroupVersion: kubeadmapiv1.SchemeGroupVersion,
    			},
    		}
    	},
    	fromCluster: clusterConfigFromCluster,
    }
    
    func clusterConfigFromCluster(h *handler, clientset clientset.Interface, _ *kubeadmapi.ClusterConfiguration) (kubeadmapi.ComponentConfig, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/cloud-controller-manager/nodeipamcontroller.go

    	var secondaryServiceCIDR *net.IPNet
    
    	// should we start nodeIPAM
    	if !ccmConfig.ComponentConfig.KubeCloudShared.AllocateNodeCIDRs {
    		return nil, false, nil
    	}
    
    	// Cannot run cloud ipam controller if cloud provider is nil (--cloud-provider not set or set to 'external')
    	if cloud == nil && ccmConfig.ComponentConfig.KubeCloudShared.CIDRAllocatorType == string(ipam.CloudAllocatorType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 14 19:06:22 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server_test.go

    			}
    
    			if tc.wantLeaderElection != nil {
    				gotLeaderElection := opts.ComponentConfig.LeaderElection
    				if diff := cmp.Diff(*tc.wantLeaderElection, gotLeaderElection); diff != "" {
    					t.Errorf("Unexpected leaderElection diff (-want, +got): %s", diff)
    				}
    			}
    
    			if tc.wantClientConnection != nil {
    				gotClientConnection := opts.ComponentConfig.ClientConnection
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. cmd/cloud-controller-manager/main.go

    	code := cli.Run(command)
    	os.Exit(code)
    }
    
    func cloudInitializer(config *cloudcontrollerconfig.CompletedConfig) cloudprovider.Interface {
    	cloudConfig := config.ComponentConfig.KubeCloudShared.CloudProvider
    	// initialize cloud provider with the cloud provider name and config file provided
    	cloud, err := cloudprovider.InitCloudProvider(cloudConfig.Name, cloudConfig.CloudConfigFile)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 19 13:01:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/types.go

    // +k8s:deepcopy-gen=false
    type DocumentMap map[schema.GroupVersionKind][]byte
    
    // ComponentConfig holds a known component config
    type ComponentConfig interface {
    	// DeepCopy should create a new deep copy of the component config in place
    	DeepCopy() ComponentConfig
    
    	// Marshal is marshalling the config into a YAML document returned as a byte slice
    	Marshal() ([]byte, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/storageversionmigrator.go

    		!clientgofeaturegate.FeatureGates().Enabled(clientgofeaturegate.InformerResourceVersion) {
    		return nil, false, nil
    	}
    
    	if !controllerContext.ComponentConfig.GarbageCollectorController.EnableGarbageCollector {
    		return nil, true, fmt.Errorf("storage version migrator requires garbage collector")
    	}
    
    	config := controllerContext.ClientBuilder.ConfigOrDie(controllerName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/utils.go

    		msgs = append(msgs, errs[group].Error())
    	}
    
    	return strings.Join(msgs, "\n\t- ")
    }
    
    // warnDefaultComponentConfigValue prints a warning if the user modified a field in a certain
    // ComponentConfig from the default recommended value in kubeadm.
    func warnDefaultComponentConfigValue(componentConfigKind, paramName string, defaultValue, userValue interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 08:48:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/options/options_test.go

    	sort.Sort(sortedGCIgnoredResources(expected.ComponentConfig.GarbageCollectorController.GCIgnoredResources))
    
    	c := &kubecontrollerconfig.Config{}
    	s.ApplyTo(c, []string{""}, []string{""}, nil)
    
    	if !reflect.DeepEqual(expected.ComponentConfig, c.ComponentConfig) {
    		t.Errorf("Got different configuration than expected.\nDifference detected on:\n%s", cmp.Diff(expected.ComponentConfig, c.ComponentConfig))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/validatingadmissionpolicystatus.go

    		controllerContext.ClientBuilder.ClientOrDie(names.ValidatingAdmissionPolicyStatusController).AdmissionregistrationV1().ValidatingAdmissionPolicies(),
    		typeChecker,
    	)
    
    	go c.Run(ctx, int(controllerContext.ComponentConfig.ValidatingAdmissionPolicyStatusController.ConcurrentPolicySyncs))
    	return nil, true, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/config/initconfiguration.go

    func SetClusterDynamicDefaults(cfg *kubeadmapi.ClusterConfiguration, localAPIEndpoint *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions) error {
    	// Default all the embedded ComponentConfig structs
    	componentconfigs.Default(cfg, localAPIEndpoint, nodeRegOpts)
    
    	// Resolve possible version labels and validate version string
    	if err := NormalizeKubernetesVersion(cfg); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top