kubernetes/plugin/pkg/admission
Kubernetes Submit Queue 45e5719c2c Merge pull request #33792 from caesarxuchao/decouple-workqueue-prometheus
Automatic merge from submit-queue

decouple workqueue metrics from prometheus

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:
We want to include the workqueue in client-go, but do not want to having to import Prometheus. This PR decouples the workqueue from prometheus.

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

Partially address https://github.com/kubernetes/kubernetes/issues/33497
User requested for `workqueue` in client-go: https://github.com/kubernetes/client-go/issues/4#issuecomment-249444848

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
The implicit registration of Prometheus metrics for workqueue has been removed, and a plug-able interface was added. If you were using workqueue in your own binaries and want these metrics, add the following to your imports in the main package: "k8s.io/pkg/util/workqueue/prometheus".
```
2016-10-05 22:10:11 -07:00
..
admit Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
alwayspullimages Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
antiaffinity Return pointer for Affinity in api helper 2016-07-28 16:57:28 +02:00
deny Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
exec Admission control errors should have consistent lower casing 2016-08-08 10:31:23 -04:00
imagepolicy Ensure that we are closing files. 2016-09-12 09:33:24 +02:00
initialresources Update Google Cloud API client import paths 2016-09-13 22:21:06 -04:00
limitranger move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
namespace Fix cache expiration check 2016-09-26 10:31:33 -04:00
persistentvolume/label Use strongly-typed types.NodeName for a node name 2016-09-27 10:47:31 -04:00
resourcequota decouple workqueue metrics from prometheus 2016-10-03 11:02:06 -07:00
security Complete sysctl PSP tests 2016-09-30 17:56:11 +02:00
securitycontext/scdeny Add /eviction subresource. 2016-08-22 16:38:00 -07:00
serviceaccount Admission control errors should have consistent lower casing 2016-08-08 10:31:23 -04:00
storageclass/default move StorageClass to its own group 2016-09-06 08:41:17 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00