Merge pull request #27349 from resouer/delete

Automatic merge from submit-queue

Generates DELETE pod update operations

fixes #27105

Generates DELETE pod update operations  to make the code and log more intuitive.

1. main refactoring is in `kubelet/config`
2. kubelet will log if it received DELETE, just like other OPs

cc @Random-Liu :)
This commit is contained in:
k8s-merge-robot
2016-07-12 01:04:35 -07:00
committed by GitHub
5 changed files with 78 additions and 28 deletions

View File

@@ -80,5 +80,5 @@ func (kl *executorKubelet) Run(mergedUpdates <-chan kubetypes.PodUpdate) {
//TODO(jdef) revisit this if/when executor failover lands
// Force kubelet to delete all pods.
kl.HandlePodDeletions(kl.GetPods())
kl.HandlePodRemoves(kl.GetPods())
}