Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MaxContainerBackOff is the max backoff period, exported for the e2e test MaxContainerBackOff = 300 * time.Second // ImageGCPeriod is the period for performing image garbage collection. ImageGCPeriod = 5 * time.Second // ContainerGCPeriod is the period for performing container garbage collection. ContainerGCPeriod = 60 * time.Second //DefaultRootDir give default directory DefaultRootDir = "/var/lib/edged" // ContainerLogsDir is the location of container logs. ContainerLogsDir = "/var/log/containers" //EdgeController gives controller name EdgeController = "edgecontroller" //DockerShimEndpoint gives the default endpoint for Docker shim runtime DockerShimEndpoint = "unix:///var/run/dockershim.sock" //DockerShimEndpointDeprecated this is the deprecated dockershim endpoint DockerShimEndpointDeprecated = "/var/run/dockershim.sock" //DockershimRootDir givesthe default path to the dockershim root directory DockershimRootDir = "/var/lib/dockershim" //HairpinMode only use forkubenetNetworkPlugin.Currently not working HairpinMode = kubeletinternalconfig.HairpinVeth //NonMasqueradeCIDR only use forkubenetNetworkPlugin.Currently not working NonMasqueradeCIDR = "10.0.0.1/8" // ResolvConfDefault gives the default dns resolv configration file ResolvConfDefault = "/etc/resolv.conf" )
View Source
const ( DefaultKubeletPluginsDirName = "plugins" DefaultKubeletPluginsRegistrationDirName = "plugins_registry" DefaultKubeletVolumesDirName = "volumes" DefaultKubeletPodsDirName = "pods" )
constants for Kubelet
Variables ¶
View Source
var GPUInfoQueryTool = "/var/IEF/nvidia/bin/nvidia-smi"
GPUInfoQueryTool sets information monitoring tool location for GPU
Functions ¶
func NewInitializedVolumePluginMgr ¶
func NewInitializedVolumePluginMgr( edge *edged, plugins []volume.VolumePlugin) *volume.VolumePluginMgr
NewInitializedVolumePluginMgr returns a new instance of volume.VolumePluginMgr
func NewNamespacedNameFromString ¶ added in v1.1.0
func NewNamespacedNameFromString(s string) types.NamespacedName
NewNamespacedNameFromString parses the provided string and returns a NamespacedName
func ProbeVolumePlugins ¶
func ProbeVolumePlugins(pluginDir string) []volume.VolumePlugin
ProbeVolumePlugins collects all volume plugins into an easy to use list. PluginDir specifies the directory to search for additional third party volume plugins.
Types ¶
This section is empty.
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
volume
|
|
csi/nodeinfomanager
Package nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers
|
Package nodeinfomanager includes internal functions used to add/delete labels to kubernetes nodes for corresponding CSI drivers |
Click to show internal directories.
Click to hide internal directories.