Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PodLogsDir (0.17 sec)

  1. pkg/kubelet/apis/config/validation/validation.go

    	}
    
    	if kc.PodLogsDir == "" {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: podLogsDir was not specified"))
    	}
    
    	if !utilfs.IsAbs(kc.PodLogsDir) {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: pod logs path %q must be absolute path", kc.PodLogsDir))
    	}
    
    	if !utilfs.IsPathClean(kc.PodLogsDir) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/helpers.go

    func BuildContainerLogsDirectory(podLogsDir, podNamespace, podName string, podUID types.UID, containerName string) string {
    	return filepath.Join(BuildPodLogsDirectory(podLogsDir, podNamespace, podName, podUID), containerName)
    }
    
    // BuildPodLogsDirectory builds absolute log directory path for a pod sandbox.
    func BuildPodLogsDirectory(podLogsDir, podNamespace, podName string, podUID types.UID) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/validation/validation_test.go

    			config.PodLogsDir = ""
    			return config
    		},
    		errMsg: "invalid configuration: podLogsDir was not specified",
    	}, {
    		name: "pod logs path must be absolute",
    		configure: func(config *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
    			config.PodLogsDir = "./test"
    			return config
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/helpers_test.go

    	kubeletConfigurationPathFieldPaths = sets.New[string](
    		"StaticPodPath",
    		"Authentication.X509.ClientCAFile",
    		"TLSCertFile",
    		"TLSPrivateKeyFile",
    		"ResolverConfig",
    		"PodLogsDir",
    	)
    
    	// KubeletConfiguration fields that do not contain file paths.
    	kubeletConfigurationNonPathFieldPaths = sets.New[string](
    		"Address",
    		"AllowedUnsafeSysctls[*]",
    		"Authentication.Anonymous.Enabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/types.go

    	// run, or the path to a single static pod file.
    	StaticPodPath string
    	// podLogsDir is a custom root directory path kubelet will use to place pod's log files.
    	// Default: "/var/log/pods/"
    	// Note: it is not recommended to use the temp folder as a log directory as it may cause
    	// unexpected behavior in many places.
    	PodLogsDir string
    	// syncFrequency is the max period between synchronizing running
    	// containers and config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top