k3s/federation/registry/cluster
Kubernetes Submit Queue 40efde7e0a Merge pull request #31390 from hongchaodeng/fix
Automatic merge from submit-queue

return destroy func to clean up internal resources of storage

What?
Provide a destroy func to clean up internal resources of storage.
It changes **unit tests** to clean up resources. (Maybe fix integration test in another PR.)

Why?
Although apiserver is designed to be long running, there are some cases that it's not.
See https://github.com/kubernetes/kubernetes/issues/31262#issuecomment-242208771
We need to gracefully shutdown and clean up resources.
2016-08-25 16:44:10 -07:00
..
etcd return destroy func to clean up internal resources of storage 2016-08-25 08:32:21 -07:00
registry.go Remove unnecessary empty line. 2016-07-23 19:37:13 +08:00
strategy.go More efficient field selectors 2016-08-24 09:08:38 +02:00
strategy_test.go change all PredicateFunc to use SelectionPredicate 2016-08-13 10:11:35 -07:00