package
1.11.0-alpha.0
Repository: https://github.com/richardmarshall/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Kubelet interactions with cAdvisor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package config implements the pod configuration readers.
No description provided by the author
No description provided by the author
Package custommetrics contains support for instrumenting cAdvisor to gather custom metrics from pods.
Docker integration using pkg/kubelet/apis/cri/runtime/v1alpha2/api.pb.go.
Package envvars is the package that build the environment variables that kubernetes provides to the containers run by it.
No description provided by the author
Package eviction is responsible for enforcing eviction thresholds to maintain node stability.
No description provided by the author
Package images is responsible for managing lifecycle of container images.
No description provided by the author
Package kuberuntime contains an implementation of kubecontainer.Runtime using the interface in pkg/kubelet/v1.
Package leaky holds bits of kubelet that should be internal but have leaked out through bad abstractions.
Handlers for pod lifecycle events and interfaces to integrate with kubelet admission, synchronization, and eviction of pods.
No description provided by the author
No description provided by the author
No description provided by the author
Package pleg contains types and a generic implementation of the pod lifecycle event generator.
No description provided by the author
No description provided by the author
No description provided by the author
package qos contains helper functions for quality of service.
Package remote contains gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.
This file contains all image related functions for rkt runtime.
No description provided by the author
Package server contains functions related to serving Kubelet's external interface.
No description provided by the author
No description provided by the author
No description provided by the author
Common types in the Kubelet.
Utility functions.
No description provided by the author
Package winstats provides a client to get node and pod level stats on windows.

# Functions

NewInitializedVolumePluginMgr returns a new instance of volume.VolumePluginMgr initialized with kubelets implementation of the volume.VolumeHost interface.
NewMainKubelet instantiates a new Kubelet object along with all the required internal modules.
NewOOMWatcher creates and initializes a OOMWatcher based on parameters.
NewReasonCache creates an instance of 'ReasonCache'.

# Constants

ContainerGCPeriod is the period for performing container garbage collection.
ContainerLogsDir is the location of container logs.
ImageGCPeriod is the period for performing image garbage collection.
KubeFirewallChain is kubernetes firewall rules.
KubeMarkDropChain is the mark-for-drop chain.
KubeMarkMasqChain is the mark-for-masquerade chain TODO: clean up this logic in kube-proxy.
KubePostroutingChain is kubernetes postrouting rules.
MaxContainerBackOff is the max backoff period, exported for the e2e test.

# Structs

Dependencies is a bin for things we might consider "injected dependencies" -- objects constructed at runtime that are necessary for running the Kubelet.
KillPodOptions are options when performing a pod update whose update type is kill.
Kubelet is the main kubelet implementation.
NoOpLegacyHost implements the network.LegacyHost interface for the remote runtime shim by just returning empties.
ReasonCache stores the failure reason of the latest container start in a string, keyed by <pod_UID>_<container_name>.
RunPodResult defines the running results of a Pod.
UpdatePodOptions is an options struct to pass to a UpdatePod operation.

# Interfaces

Bootstrap is a bootstrapping interface for kubelet, targets the initialization protocol.
OOMWatcher defines the interface of OOM watchers.
PodWorkers is an abstract interface for testability.
SyncHandler is an interface implemented by Kubelet, for testability.

# Type aliases

Builder creates and initializes a Kubelet instance.
OnCompleteFunc is a function that is invoked when an operation completes.
Option is a functional option type for Kubelet.
PodStatusFunc is a function that is invoked to generate a pod status.