Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for StaticPodPath (0.19 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/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)
Back to top