k3s/cmd/kube-apiserver/app
Kubernetes Submit Queue d12d711ba6
Merge pull request #54849 from hzxuzhonghu/audit-graceful-shutdown
Automatic merge from submit-queue (batch tested with PRs 46581, 55426, 54849). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiserver shutdown gracefully

**What this PR does / why we need it**:
apiserver shutdown gracefully and wait all non-long running requests finish before process exit.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #54793

**Special notes for your reviewer**:
remove waitGroup, use atomic to count. 
**Release note**:

```release-note
NONE
```
2017-11-10 03:30:21 -08:00
..
options Merge pull request #53651 from sttts/sttts-apis-core 2017-11-09 06:13:39 -08:00
testing Fix data race in TestCRD 2017-11-08 14:44:11 -08:00
BUILD Update generated files 2017-11-09 12:14:08 +01:00
aggregator.go Promotes the StatefulSet, ControllerRevision, Deployment, and ReplicaSet kinds to the apps/v1 group version. 2017-11-02 14:19:04 -07:00
apiextensions.go apimachinery: mechanical removal of ObjectCopier plumbing 2017-10-06 19:21:03 +02:00
server.go Merge pull request #54849 from hzxuzhonghu/audit-graceful-shutdown 2017-11-10 03:30:21 -08:00