mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
remove dead code in kubelet
This commit is contained in:
parent
f7aafaeb40
commit
80872881ed
@ -1195,9 +1195,6 @@ type Kubelet struct {
|
|||||||
// StatsProvider provides the node and the container stats.
|
// StatsProvider provides the node and the container stats.
|
||||||
*stats.StatsProvider
|
*stats.StatsProvider
|
||||||
|
|
||||||
// containerized should be set to true if the kubelet is running in a container
|
|
||||||
containerized bool
|
|
||||||
|
|
||||||
// This flag, if set, instructs the kubelet to keep volumes from terminated pods mounted to the node.
|
// This flag, if set, instructs the kubelet to keep volumes from terminated pods mounted to the node.
|
||||||
// This can be useful for debugging volume related issues.
|
// This can be useful for debugging volume related issues.
|
||||||
keepTerminatedPodVolumes bool // DEPRECATED
|
keepTerminatedPodVolumes bool // DEPRECATED
|
||||||
@ -1408,13 +1405,6 @@ func (kl *Kubelet) Run(updates <-chan kubetypes.PodUpdate) {
|
|||||||
kl.syncLoop(updates, kl)
|
kl.syncLoop(updates, kl)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetKubeClient returns the Kubernetes client.
|
|
||||||
// TODO: This is currently only required by network plugins. Replace
|
|
||||||
// with more specific methods.
|
|
||||||
func (kl *Kubelet) GetKubeClient() clientset.Interface {
|
|
||||||
return kl.kubeClient
|
|
||||||
}
|
|
||||||
|
|
||||||
// syncPod is the transaction script for the sync of a single pod.
|
// syncPod is the transaction script for the sync of a single pod.
|
||||||
//
|
//
|
||||||
// Arguments:
|
// Arguments:
|
||||||
|
Loading…
Reference in New Issue
Block a user