Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for StaticPodPath (0.17 sec)

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

    				ResolverConfig: &fooResolverConfig,
    				StaticPodPath:  "/foo/staticpods",
    				Authentication: kubeletconfig.KubeletAuthentication{
    					X509: kubeletconfig.KubeletX509Authentication{
    						ClientCAFile: "/foo/ca.crt",
    					},
    				},
    			},
    			expected: &kubeletconfig.KubeletConfiguration{
    				ResolverConfig: ptr.To(""),
    				StaticPodPath:  filepath.Join(drive, "/foo/staticpods"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    apiVersion: kubelet.config.k8s.io/v1beta1
    staticPodPath: %s
    staticPodPath: %s/foo`, relativePath, relativePath)),
    			// err:       `key "staticPodPath" already set`,
    			// strictErr: true,
    			expect: func() *kubeletconfig.KubeletConfiguration {
    				kc := newConfig(t)
    				kc.StaticPodPath = filepath.Join(configDir, relativePath, "foo")
    				return kc
    			}(),
    			skipOnWindows: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/kubelet_test.go

    			name:       "No specific defaulting works",
    			clusterCfg: kubeadmapi.ClusterConfiguration{},
    			expected: kubeletConfig{
    				config: kubeletconfig.KubeletConfiguration{
    					FeatureGates:  map[string]bool{},
    					StaticPodPath: kubeadmapiv1.DefaultManifestsDir,
    					ClusterDNS:    []string{kubeadmapiv1.DefaultClusterDNSIP},
    					Authentication: kubeletconfig.KubeletAuthentication{
    						X509: kubeletconfig.KubeletX509Authentication{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/componentconfigs/kubelet.go

    		kc.config.FeatureGates = map[string]bool{}
    	}
    
    	if kc.config.StaticPodPath == "" {
    		kc.config.StaticPodPath = kubeadmapiv1.DefaultManifestsDir
    	} else if kc.config.StaticPodPath != kubeadmapiv1.DefaultManifestsDir {
    		warnDefaultComponentConfigValue(kind, "staticPodPath", kubeadmapiv1.DefaultManifestsDir, kc.config.StaticPodPath)
    	}
    
    	clusterDNS := ""
    	dnsIP, err := constants.GetDNSIP(cfg.Networking.ServiceSubnet)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/componentconfigs/kubelet_windows.go

    	}
    
    	// Mutate the fields we care about.
    	klog.V(2).Infof("[componentconfig] kubelet/Windows: changing field \"resolverConfig\" to empty")
    	cfg.ResolverConfig = ptr.To("")
    	mutateStringField("staticPodPath", &cfg.StaticPodPath)
    	mutateStringField("authentication.x509.clientCAFile", &cfg.Authentication.X509.ClientCAFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/helpers.go

    // passing the configuration to the application. This method must be kept up to date as new fields are added.
    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)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    	if err := v1.Convert_Pointer_bool_To_bool(&in.EnableServer, &out.EnableServer, s); err != nil {
    		return err
    	}
    	out.StaticPodPath = in.StaticPodPath
    	out.PodLogsDir = in.PodLogsDir
    	out.SyncFrequency = in.SyncFrequency
    	out.FileCheckFrequency = in.FileCheckFrequency
    	out.HTTPCheckFrequency = in.HTTPCheckFrequency
    	out.StaticPodURL = in.StaticPodURL
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  8. pkg/kubemark/hollow_kubelet.go

    	c.StaticPodURL = ""
    	c.EnableServer = true
    	c.Address = "0.0.0.0" /* bind address */
    	c.Port = int32(opt.KubeletPort)
    	c.ReadOnlyPort = int32(opt.KubeletReadOnlyPort)
    	c.StaticPodPath = podFilePath
    	c.FileCheckFrequency.Duration = 20 * time.Second
    	c.HTTPCheckFrequency.Duration = 20 * time.Second
    	c.NodeStatusUpdateFrequency.Duration = 10 * time.Second
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				PodLogsDir:                    DefaultPodLogsDir,
    			},
    		},
    		{
    			"all negative",
    			&v1beta1.KubeletConfiguration{
    				EnableServer:       utilpointer.Bool(false),
    				StaticPodPath:      "",
    				SyncFrequency:      zeroDuration,
    				FileCheckFrequency: zeroDuration,
    				HTTPCheckFrequency: zeroDuration,
    				StaticPodURL:       "",
    				StaticPodURLHeader: map[string][]string{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/helpers_test.go

    		}
    	}
    }
    
    var (
    	// KubeletConfiguration fields that contain file paths. If you update this, also update KubeletConfigurationPathRefs!
    	kubeletConfigurationPathFieldPaths = sets.New[string](
    		"StaticPodPath",
    		"Authentication.X509.ClientCAFile",
    		"TLSCertFile",
    		"TLSPrivateKeyFile",
    		"ResolverConfig",
    		"PodLogsDir",
    	)
    
    	// KubeletConfiguration fields that do not contain file paths.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top