-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Remove TODO: check for defaulting min-available #53047
Remove TODO: check for defaulting min-available #53047
Conversation
Hi @yuexiao-wang. 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 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. I understand the commands that are listed here. |
/assign @deads2k |
/ok-to-test |
|
||
// This behavior is intended for backward compatibility. | ||
// TODO: remove in Kubernetes 1.8 | ||
fmt.Fprintln(os.Stderr, "Deprecated behavior in kubectl create pdb: Defaulting min-available to 1. "+ |
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.
W0926 16:37:37.741] # k8s.io/kubernetes/pkg/kubectl
W0926 16:37:37.742] pkg/kubectl/pdb.go:21: imported and not used: "os"
W0926 16:37:49.206] !!! [0926 16:37:49] Call tree:
W0926 16:37:49.207] !!! [0926 16:37:49] 1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:720 kube::golang::build_binaries_for_platform(...)
W0926 16:37:49.209] !!! [0926 16:37:49] 2: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
W0926 16:37:49.213] !!! [0926 16:37:49] Call tree:
W0926 16:37:49.215] !!! [0926 16:37:49] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
W0926 16:37:49.219] !!! [0926 16:37:49] Call tree:
W0926 16:37:49.221] !!! [0926 16:37:49] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
need to remove the "os" import since you removed the only use of the package
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.
Got it and Thanks
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.
Done
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
/retest |
/test pull-kubernetes-e2e-kops-aws |
/test pull-kubernetes-e2e-kops-aws |
@spiffxp Thank you very much |
/lgtm |
/retest |
@foxish Any suggestion? Thanks. |
@foxish Could you review this PR? |
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.
Add a better description in the release not please.
@kow3ns Thanks for your review and it is update |
@foxish Could I remove this TODO? |
/test pull-kubernetes-e2e-kops-aws |
/retest |
/retest |
/assign @foxish |
LGTM, but we should have a better release note for this. Something like:
|
/retest |
@foxish Thanks for your suggestion. The release note is updated. |
Could you approve this PR? |
@foxish PTAL |
/retest |
ping @foxish |
/lgtm |
cc/ @liggitt @kubernetes/sig-cli-maintainers for approval |
@liggitt Could you approve this PR? |
/approve no-issue |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: foxish, liggitt, spiffxp, yuexiao-wang Associated issue requirement bypassed by: liggitt The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue (batch tested with PRs 53047, 54861, 55413, 55395, 55308). If you want to cherry-pick this change to another branch, please follow the instructions here. |
@yuexiao-wang: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
@liggitt Thanks |
Signed-off-by: yuexiao-wang wang.yuexiao@zte.com.cn
What this PR does / why we need it:
Remove the default for min-available
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Release note: