mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-21 16:43:48 +00:00
temporary fix kubeapiserver issue
This commit is contained in:
8
vendor/k8s.io/apiserver/pkg/server/filters/maxinflight.go
generated
vendored
8
vendor/k8s.io/apiserver/pkg/server/filters/maxinflight.go
generated
vendored
@@ -60,7 +60,9 @@ type requestWatermark struct {
|
||||
}
|
||||
|
||||
func (w *requestWatermark) recordMutating(mutatingVal int) {
|
||||
w.mutatingObserver.Set(float64(mutatingVal))
|
||||
// Disabled, as this takes a long time to process when this is the first request in a while.
|
||||
// See https://github.com/kubernetes/kubernetes/issues/95300
|
||||
//w.mutatingObserver.Set(float64(mutatingVal))
|
||||
|
||||
w.lock.Lock()
|
||||
defer w.lock.Unlock()
|
||||
@@ -71,7 +73,9 @@ func (w *requestWatermark) recordMutating(mutatingVal int) {
|
||||
}
|
||||
|
||||
func (w *requestWatermark) recordReadOnly(readOnlyVal int) {
|
||||
w.readOnlyObserver.Set(float64(readOnlyVal))
|
||||
// Disabled, as this takes a long time to process when this is the first request in a while.
|
||||
// See https://github.com/kubernetes/kubernetes/issues/95300
|
||||
//w.readOnlyObserver.Set(float64(readOnlyVal))
|
||||
|
||||
w.lock.Lock()
|
||||
defer w.lock.Unlock()
|
||||
|
||||
3
vendor/modules.txt
vendored
3
vendor/modules.txt
vendored
@@ -578,7 +578,7 @@ k8s.io/apimachinery/pkg/version
|
||||
k8s.io/apimachinery/pkg/watch
|
||||
k8s.io/apimachinery/third_party/forked/golang/json
|
||||
k8s.io/apimachinery/third_party/forked/golang/reflect
|
||||
# k8s.io/apiserver v0.19.0
|
||||
# k8s.io/apiserver v0.19.0 => github.com/staebler/apiserver v0.19.1-0.20201005174924-a3ef0d1e45df
|
||||
## explicit
|
||||
k8s.io/apiserver/pkg/admission
|
||||
k8s.io/apiserver/pkg/admission/configuration
|
||||
@@ -978,3 +978,4 @@ sigs.k8s.io/structured-merge-diff/v4/value
|
||||
# sigs.k8s.io/yaml v1.2.0
|
||||
sigs.k8s.io/yaml
|
||||
# github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.4.1
|
||||
# k8s.io/apiserver => github.com/staebler/apiserver v0.19.1-0.20201005174924-a3ef0d1e45df
|
||||
|
||||
Reference in New Issue
Block a user