-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Report scheduler_perf integration test kube-scheduler metrics into artifacts dir #88162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report scheduler_perf integration test kube-scheduler metrics into artifacts dir #88162
Conversation
…tifacts dir make test-integration ran within jenkins job does not collect json file with generated metrics from kube-scheduler. The artifacts dir needs to be set explicitly through new -data-items-dir test flag. The metrics are required to provide more comphrehensive information about kube-scheduler internals.
/test pull-kubernetes-node-e2e |
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fejta, ingvagabund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/sig scheduling |
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=${TEST_PREFIX:-.} -benchmem -alsologtostderr=false -logtostderr=false" \ | ||
make test-integration WHAT="$*" KUBE_TEST_ARGS="-run='XXX' -bench=${TEST_PREFIX:-.} -benchmem -alsologtostderr=false -logtostderr=false -data-items-dir=${ARTIFACTS}" \ | ||
| (go run test/integration/benchmark/extractlog/main.go) \ | ||
| tee \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These won't be needed once we switch to the new benchmark framework. Can you create an issue to track that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What type of PR is this?
/kind feature
What this PR does / why we need it:
make test-integration ran within jenkins job does not collect json file with generated metrics
from kube-scheduler. The artifacts dir needs to be set explicitly through new -data-items-dir
test flag. The metrics are required to provide more comphrehensive information about
kube-scheduler internals.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
New option for scheduler perf benchmark tests: https://github.com/kubernetes/kubernetes/pull/87923/files#diff-8fc16044937fc03c39b585a657b20150R46
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: