Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for componentconfig (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cmd/kube-controller-manager/app/config/config.go

    	"k8s.io/client-go/tools/record"
    	kubectrlmgrconfig "k8s.io/kubernetes/pkg/controller/apis/config"
    )
    
    // Config is the main context object for the controller manager.
    type Config struct {
    	ComponentConfig kubectrlmgrconfig.KubeControllerManagerConfiguration
    
    	SecureServing *apiserver.SecureServingInfo
    	// LoopbackClientConfig is a config for a privileged loopback connection
    	LoopbackClientConfig *restclient.Config
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 31 09:32:21 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go

    	// The components store their config in their own ConfigMaps, then reset the .ComponentConfig struct;
    	// We don't want to mutate the cfg itself, so create a copy of it using .DeepCopy of it first
    	clusterConfigurationToUpload := cfg.ClusterConfiguration.DeepCopy()
    	clusterConfigurationToUpload.ComponentConfigs = kubeadmapi.ComponentConfigMap{}
    
    	// restore the resolved Kubernetes version as CI Kubernetes version if needed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 04 07:20:43 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. cmd/kube-scheduler/app/testing/testserver.go

    			err, ok := <-errCh
    			if ok && err != nil {
    				logger.Error(err, "Failed to shutdown test server clearly")
    			}
    		}
    		if len(result.TmpDir) != 0 {
    			os.RemoveAll(result.TmpDir)
    		}
    		configz.Delete("componentconfig")
    	}
    	defer func() {
    		if result.TearDownFn == nil {
    			tearDown()
    		}
    	}()
    
    	result.TmpDir, err = os.MkdirTemp("", "kube-scheduler")
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 10:35:59 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top