We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f8ac35 + 5255168 commit 1a855feCopy full SHA for 1a855fe
pkg/cmd/options/options.go
@@ -58,6 +58,10 @@ func NewCustomMetricsAdapterServerOptions() *CustomMetricsAdapterServerOptions {
58
EnableMetrics: true,
59
}
60
61
+ // Explicitly disable Priority and Fairness since metric servers are not
62
+ // meant to be queried directly by default.
63
+ o.Features.EnablePriorityAndFairness = false
64
+
65
return o
66
67
test-adapter-deploy/testing-adapter.yaml
@@ -176,14 +176,6 @@ rules:
176
verbs:
177
- get
178
- list
179
-- apiGroups:
180
- - flowcontrol.apiserver.k8s.io
181
- resources:
182
- - prioritylevelconfigurations
183
- - flowschemas
184
- verbs:
185
- - list
186
- - watch
187
---
188
apiVersion: rbac.authorization.k8s.io/v1
189
kind: ClusterRoleBinding
0 commit comments