Merge pull request #126144 from likakuli/cleanup-unusedparamters

cleanup: remove scheduler_perf unused parameters
This commit is contained in:
Kubernetes Prow Robot 2024-08-22 19:29:40 +01:00 committed by GitHub
commit a1fc2551ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 11 deletions

View File

@ -37,13 +37,6 @@ const (
UnprivilegedUserToken = "unprivileged-user"
)
// MinVerbosity determines the minimum klog verbosity when running tests that
// involve the apiserver. This overrides the -v value from the command line,
// i.e. -v=0 has no effect when MinVerbosity is 4 (the default). Tests can opt
// out of this by setting MinVerbosity to zero before starting the control
// plane or choose some different minimum verbosity.
var MinVerbosity = 4
// DefaultOpenAPIConfig returns an openapicommon.Config initialized to default values.
func DefaultOpenAPIConfig() *openapicommon.Config {
openAPIConfig := genericapiserver.DefaultOpenAPIConfig(openapi.GetOpenAPIDefinitions, openapinamer.NewDefinitionNamer(legacyscheme.Scheme))

View File

@ -729,7 +729,7 @@
intervalMilliseconds: 1000
- opcode: createPods
countParam: $measurePods
podTemplatePath: config/templates//pod-default.yaml
podTemplatePath: config/templates/pod-default.yaml
collectMetrics: true
workloads:
- name: 10Nodes

View File

@ -80,9 +80,6 @@ func newDefaultComponentConfig() (*config.KubeSchedulerConfiguration, error) {
// Notes on rate limiter:
// - client rate limit is set to 5000.
func mustSetupCluster(tCtx ktesting.TContext, config *config.KubeSchedulerConfiguration, enabledFeatures map[featuregate.Feature]bool, outOfTreePluginRegistry frameworkruntime.Registry) (informers.SharedInformerFactory, ktesting.TContext) {
// Run API server with minimimal logging by default. Can be raised with -v.
framework.MinVerbosity = 0
// No alpha APIs (overrides api/all=true in https://github.com/kubernetes/kubernetes/blob/d647d19f6aef811bace300eec96a67644ff303d4/staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go#L136),
// except for DRA API group when needed.
runtimeConfig := []string{"api/alpha=false"}