Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for KC (0.02 sec)

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

    }
    
    func (kc *kubeletConfig) Get() interface{} {
    	return &kc.config
    }
    
    func (kc *kubeletConfig) Set(cfg interface{}) {
    	kc.config = *cfg.(*kubeletconfig.KubeletConfiguration)
    }
    
    func (kc *kubeletConfig) Default(cfg *kubeadmapi.ClusterConfiguration, _ *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions) {
    	const kind = "KubeletConfiguration"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/helpers.go

    func KubeletConfigurationPathRefs(kc *KubeletConfiguration) []*string {
    	paths := []*string{}
    	paths = append(paths, &kc.StaticPodPath)
    	paths = append(paths, &kc.Authentication.X509.ClientCAFile)
    	paths = append(paths, &kc.TLSCertFile)
    	paths = append(paths, &kc.TLSPrivateKeyFile)
    	paths = append(paths, &kc.ResolverConfig)
    	paths = append(paths, &kc.VolumePluginDir)
    	paths = append(paths, &kc.PodLogsDir)
    	return paths
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    apiVersion: kubelet.config.k8s.io/v1beta1
    staticPodPath: %s`, relativePath)),
    			expect: func() *kubeletconfig.KubeletConfiguration {
    				kc := newConfig(t)
    				kc.StaticPodPath = filepath.Join(configDir, relativePath)
    				return kc
    			}(),
    			skipOnWindows: true,
    		},
    		{
    			desc: "json, relative path is resolved",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/validation/validation_windows.go

    func validateKubeletOSConfiguration(kc *kubeletconfig.KubeletConfiguration) error {
    	message := "invalid configuration: %v (%v) %v is not supported on Windows"
    	allErrors := []error{}
    
    	if kc.CgroupsPerQOS {
    		allErrors = append(allErrors, fmt.Errorf(message, "CgroupsPerQOS", "--cgroups-per-qos", kc.CgroupsPerQOS))
    	}
    
    	if len(kc.EnforceNodeAllocatable) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/ingress/status.go

    func NewStatusSyncer(meshHolder mesh.Watcher, kc kubelib.Client) *StatusSyncer {
    	c := &StatusSyncer{
    		meshConfig:     meshHolder,
    		ingresses:      kclient.NewFiltered[*knetworking.Ingress](kc, kclient.Filter{ObjectFilter: kc.ObjectFilter()}),
    		ingressClasses: kclient.New[*knetworking.IngressClass](kc),
    		pods: kclient.NewFiltered[*corev1.Pod](kc, kclient.Filter{
    			ObjectFilter:    kc.ObjectFilter(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. tests/fuzz/kube_ingress_fuzzer.go

    	return 1
    }
    
    func newServiceLister(objects ...runtime.Object) (kclient.Client[*corev1.Service], func()) {
    	kc := kube.NewFakeClient(objects...)
    	stop := make(chan struct{})
    	kc.RunAndWait(stop)
    	teardown := func() {
    		close(stop)
    	}
    	return kclient.New[*corev1.Service](kc), teardown
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 15 16:18:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/validation/validation_reserved_memory.go

    func validateReservedMemoryConfiguration(kc *kubeletconfig.KubeletConfiguration) []error {
    	if len(kc.ReservedMemory) == 0 {
    		return nil
    	}
    
    	var errors []error
    
    	numaTypeDuplicates := map[int32]map[v1.ResourceName]bool{}
    	for _, reservedMemory := range kc.ReservedMemory {
    		numaNode := reservedMemory.NumaNode
    		if _, ok := numaTypeDuplicates[numaNode]; !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:31:31 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. cni/pkg/install/kubeconfig.go

    func maybeWriteKubeConfigFile(cfg *config.InstallConfig) error {
    	kc, err := createKubeConfig(cfg)
    	if err != nil {
    		return err
    	}
    
    	if err := checkExistingKubeConfigFile(cfg, kc); err != nil {
    		installLog.Info("kubeconfig either does not exist or is out of date, writing a new one")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue50755.go

    // during constraint type inference.
    func f4[M4 map[K4]int, K4 comparable](m4 M4) {}
    
    func f5[M5 map[K5]int, K5 comparable](m5 M5) {
    	f4(m5)
    }
    
    // test case from issue
    
    func Copy[MC ~map[KC]VC, KC comparable, VC any](dst, src MC) {
    	for k, v := range src {
    		dst[k] = v
    	}
    }
    
    func Merge[MM ~map[KM]VM, KM comparable, VM any](ms ...MM) MM {
    	result := MM{}
    	for _, m := range ms {
    		Copy(result, m)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/componentconfigs/kubelet_unix.go

    	"k8s.io/utils/ptr"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/initsystem"
    )
    
    // Mutate allows applying pre-defined modifications to the config before it's marshaled.
    func (kc *kubeletConfig) Mutate() error {
    	if err := mutateResolverConfig(&kc.config, isServiceActive); err != nil {
    		return err
    	}
    	return nil
    }
    
    // mutateResolverConfig mutates the ResolverConfig in the kubeletConfig dynamically.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top