k3s/cmd
k8s-merge-robot e7f7a49bac Merge pull request #26016 from hongchaodeng/phantom
Automatic merge from submit-queue

scheduler: change phantom pod test from integration into unit test

This is an effort for #24440.

Why this PR?
- Integration test is hard to debug. We could model the test as a unit test similar to [TestSchedulerForgetAssumedPodAfterDelete()](132ebb091a/plugin/pkg/scheduler/scheduler_test.go (L173)). Currently the test is testing expiring case, we can change that to delete.
- Add a test similar to TestSchedulerForgetAssumedPodAfterDelete() to test phantom pod.
- refactor scheduler tests to share the code between TestSchedulerNoPhantomPodAfterExpire() and TestSchedulerNoPhantomPodAfterDelete()
- Decouple scheduler tests from scheduler events: not to use events
2016-06-29 12:09:49 -07:00
..
gendocs Make kubectl bash completion namespace aware and add noun aliases 2016-04-03 16:25:56 +02:00
genkubedocs Make kubectl bash completion namespace aware and add noun aliases 2016-04-03 16:25:56 +02:00
genman insert space after comment character in cmd folder 2016-01-08 16:25:57 +05:30
genswaggertypedocs fix imported package names to not use under_scores 2015-10-16 16:37:03 +08:00
genutils Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
genyaml Create cmd to generate kubectl yaml docs 2016-04-11 17:07:45 -07:00
hyperkube Add federation api and cm servers to hyperkube 2016-06-16 18:01:47 -07:00
integration integration.go: remove scheduler phantom pod test 2016-06-21 09:55:09 -07:00
kube-apiserver Merge pull request #25599 from caesarxuchao/orphaning-finalizer 2016-05-26 13:19:19 -07:00
kube-controller-manager Convert service account token controller to use a work queue 2016-06-27 13:01:24 -04:00
kube-dns Updating KubeDNS to try a local service first for federation query 2016-06-23 17:50:12 -07:00
kube-proxy Use protobufs by default to communicate with apiserver 2016-05-21 11:38:32 +02:00
kubectl Fix hyperkube flag parsing 2016-05-13 15:41:22 -07:00
kubelet Marking container gc policy deprecated in the future and changing the default value 2016-06-22 13:32:13 -07:00
kubemark Added pods-per-core to kubelet. #25762 2016-05-27 07:10:13 -04:00
kubernetes-discovery Adding a discovery summarizer server 2016-05-13 13:52:23 -07:00
libs/go2idl Merge pull request #26680 from olegshaldybin/fake-clientset-registry 2016-06-29 06:04:33 -07:00
linkcheck linkchecker tool now visits the URL to determine if it's valid 2016-01-26 17:01:37 -08:00
mungedocs Update the latestReleaseBranch to release-1.3 in the munger. 2016-06-13 12:24:17 -07:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00