-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
Deprecating Kubelet not used testing flags #90499
Conversation
Hi @knabben. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
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.
cmd/kubelet/app/options/options.go
Outdated
@@ -56,11 +56,6 @@ type KubeletFlags struct { | |||
KubeConfig string | |||
BootstrapKubeconfig string | |||
|
|||
// Insert a probability of random errors during calls to the master. | |||
ChaosChance float64 |
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.
@knabben mentioned this doesn't seem to be used anywhere.
May be better to deprecate and remove after 2 releases.
cmd/kubelet/app/options/options.go
Outdated
// Insert a probability of random errors during calls to the master. | ||
ChaosChance float64 | ||
// Crash immediately, rather than eating panics. | ||
ReallyCrashForTesting bool |
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.
@liggitt, @BenTheElder do you know if any tests actually set --really-crash-for-testing?
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.
https://cs.k8s.io/?q=really-crash-for-testing&i=nope&files=&repos=
Doesn't look like it
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.
https://cs.k8s.io/?q=really-crash-for-testing&i=nope&files=&repos=
Doesn't look like it
/ok-to-test |
c63bc65
to
fe9eb1b
Compare
/test pull-kubernetes-e2e-kind |
/test pull-kubernetes-e2e-kind-ipv6 |
@mtaufen @BenTheElder I'm deprecating both flags since they are not being used by sig-testing. |
/lgtm |
/assign @liggitt |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: knabben, liggitt, mtaufen 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 |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
3 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind cleanup
/area kubelet
/area kubelet-api
What this PR does / why we need it:
The PR moves testing flags
--really-crash-for-testing
and--chaos-chance
as deprecated.Which issue(s) this PR fixes:
Ref: #86843
Special notes for your reviewer:
Does this PR introduce a user-facing change?: