package
1.8.0-alpha.1
Repository: https://github.com/bentheelder/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
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/v1alpha1/runtime/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.
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
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 containers gRPC implementation of internalapi.RuntimeService and internalapi.ImageManagerService.
This file contains all image related functions for rkt runtime.
Package rktshim is the package that contains the shim code for rkt to be used as the kubelet container runtime implementation that is integrated using the Container Runtime Interface.
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
Common types in the Kubelet.
Utility functions.
No description provided by the author

# Functions

GetPhase returns the phase of a pod given its container info.
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.
No description provided by the author
No description provided by the author

# Constants

Period for performing container garbage collection.
Location of container logs.
Period for performing image garbage collection.
kubernetes firewall rules.
the mark-for-drop chain.
the mark-for-masquerade chain TODO: clean up this logic in kube-proxy.
kubernetes postrouting rules.
max backoff period, exported for the e2e test.

# Structs

No description provided by the author
KillPodOptions are options when performing a pod update whose update type is kill.
Kubelet is the main kubelet implementation.
KubeletDeps is a bin for things we might consider "injected dependencies" -- objects constructed at runtime that are necessary for running the Kubelet.
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>.
No description provided by the author
UpdatePodOptions is an options struct to pass to a UpdatePod operation.

# Interfaces

bootstrapping interface for kubelet, targets the initialization protocol.
No description provided by the author
PodWorkers is an abstract interface for testability.
SyncHandler is an interface implemented by Kubelet, for testability.

# Type aliases

create and initialize 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.