mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #126144 from likakuli/cleanup-unusedparamters
cleanup: remove scheduler_perf unused parameters
This commit is contained in:
commit
a1fc2551ba
@ -37,13 +37,6 @@ const (
|
|||||||
UnprivilegedUserToken = "unprivileged-user"
|
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.
|
// DefaultOpenAPIConfig returns an openapicommon.Config initialized to default values.
|
||||||
func DefaultOpenAPIConfig() *openapicommon.Config {
|
func DefaultOpenAPIConfig() *openapicommon.Config {
|
||||||
openAPIConfig := genericapiserver.DefaultOpenAPIConfig(openapi.GetOpenAPIDefinitions, openapinamer.NewDefinitionNamer(legacyscheme.Scheme))
|
openAPIConfig := genericapiserver.DefaultOpenAPIConfig(openapi.GetOpenAPIDefinitions, openapinamer.NewDefinitionNamer(legacyscheme.Scheme))
|
||||||
|
@ -729,7 +729,7 @@
|
|||||||
intervalMilliseconds: 1000
|
intervalMilliseconds: 1000
|
||||||
- opcode: createPods
|
- opcode: createPods
|
||||||
countParam: $measurePods
|
countParam: $measurePods
|
||||||
podTemplatePath: config/templates//pod-default.yaml
|
podTemplatePath: config/templates/pod-default.yaml
|
||||||
collectMetrics: true
|
collectMetrics: true
|
||||||
workloads:
|
workloads:
|
||||||
- name: 10Nodes
|
- name: 10Nodes
|
||||||
|
@ -80,9 +80,6 @@ func newDefaultComponentConfig() (*config.KubeSchedulerConfiguration, error) {
|
|||||||
// Notes on rate limiter:
|
// Notes on rate limiter:
|
||||||
// - client rate limit is set to 5000.
|
// - 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) {
|
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),
|
// 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.
|
// except for DRA API group when needed.
|
||||||
runtimeConfig := []string{"api/alpha=false"}
|
runtimeConfig := []string{"api/alpha=false"}
|
||||||
|
Loading…
Reference in New Issue
Block a user