kubeletconfig

package
v1.37.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 0 Imported by: 61

Documentation

Index

Constants

View Source
const (
	DefaultKubeletPodsDirName                = "pods"
	DefaultKubeletVolumesDirName             = "volumes"
	DefaultKubeletVolumeSubpathsDirName      = "volume-subpaths"
	DefaultKubeletVolumeDevicesDirName       = "volumeDevices"
	DefaultKubeletPluginsDirName             = "plugins"
	DefaultKubeletPluginsRegistrationDirName = "plugins_registry"
	DefaultKubeletContainersDirName          = "containers"
	DefaultKubeletPluginContainersDirName    = "plugin-containers"
	DefaultKubeletPodResourcesDirName        = "pod-resources"
	DefaultKubeletPodsAPIDirName             = "pods-api"
	KubeletPluginsDirSELinuxLabel            = "system_u:object_r:container_file_t:s0"
	KubeletContainersSharedSELinuxLabel      = "system_u:object_r:container_file_t:s0"
	DefaultKubeletCheckpointsDirName         = "checkpoints"
	DefaultKubeletUserNamespacesIDsPerPod    = 65536
)

Defines sane defaults for the kubelet config.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerRuntimeOptions added in v1.35.0

type ContainerRuntimeOptions struct {

	// RuntimeCgroups that container runtime is expected to be isolated in.
	RuntimeCgroups string

	// ImageCredentialProviderConfigPath is the path to the credential provider plugin config file or directory.
	// If a directory is specified, all .json, .yaml, or .yml files in the directory are loaded and merged
	// in lexicographical order. This config file(s) specify what credential providers are enabled
	// and invoked by the kubelet. The plugin config should contain information about what plugin binary
	// to execute and what container images the plugin should be called for.
	// +optional
	ImageCredentialProviderConfigPath string
	// ImageCredentialProviderBinDir is the path to the directory where credential provider plugin
	// binaries exist. The name of each plugin binary is expected to match the name of the plugin
	// specified in imageCredentialProviderConfigFile.
	// +optional
	ImageCredentialProviderBinDir string
}

ContainerRuntimeOptions defines options for the container runtime.

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL