Skip to content
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

klog flag deprecation #27305

Merged
merged 2 commits into from
Sep 2, 2022
Merged

Conversation

pohly
Copy link
Contributor

@pohly pohly commented Aug 30, 2022

As describe in https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components, several klog flags will soon be removed from Kubernetes commands, in particular in the e2e test suites invoked by kubetest.

Right now that triggers a deprecation warning, for example in https://storage.googleapis.com/kubernetes-jenkins/logs/ci-crio-cgroupv1-node-e2e-conformance/1564520501156515840/build-log.txt

Looks like the script is unused (?) because the current
./maintenance/migratestatus command doesn't support the flag.
It has been the default in klog for a long time and will be removed soon.

-vmodule continues to be supported. The way it is used here seems unnecessarily
complex, but perhaps there was a reason for it (like not conflicting with -v),
so that part is kept.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/kubetest labels Aug 30, 2022
@k8s-ci-robot k8s-ci-robot added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Aug 30, 2022
@pohly
Copy link
Contributor Author

pohly commented Aug 30, 2022

/retest

@matthyx
Copy link
Contributor

matthyx commented Sep 2, 2022

/lgtm
/assign @chaodaiG

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 2, 2022
@dims
Copy link
Member

dims commented Sep 2, 2022

/approve
/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, pohly

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 2, 2022
@k8s-ci-robot k8s-ci-robot merged commit cdfab4f into kubernetes:master Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/kubetest cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants