-
Notifications
You must be signed in to change notification settings - Fork 638
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
bump k8s.io dependencies to 1.17.2 #760
Conversation
/assign @mmiranda96 |
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.
Thanks for this PR! I was working on something similar, but you beat me to it.
Could you upgrade to a later version of k8s.io? Perhaps 1.27, the latest available one.
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible | ||
k8s.io/kubernetes v1.14.6 |
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.
Why are we removing kubernetes as a dep?
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.
In the later version, we need to add a lot of replace statements. It is much simpler if there are fewer dependencies.
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.
I understand, but not sure if this is correct. Let's keep it on the same version for now, we can send a follow-up PR just to update 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.
ssh package is the only package imported from k8s.io/kubernetes if we move the package, dependency can be removed.
Thank you for the review! |
Hey @MartinForReal and @mmiranda96 - I was also looking into upgrading k8s dependencies to address #742, and opened this PR to perform the upgrade - #761. Do you think we can merge it instead to get closer to the current k8s version? |
@mmiranda96 Which choice do you prefer? upgrade to 1.25 directly and put all of changes mentioned above into one pr? |
Apologies for the delay. Since these upgrades result in very heavy PRs, I would prefer to review several smaller PRs (easier to review + Github page doesn't crash that often). |
Glad to know that.
I would suggest putting code changes into separate pr. @yaron-idan How do you think? |
@MartinForReal @mmiranda96 - so the suggestion is to merge this PR, and then merge the changes into #761 so it would include fewer changes? If so, I think it's a good idea. |
@mmiranda96 Could you please review this pr? 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.
I left a couple of comments, please take a look. I'll continue reviewing the vendor/ directory, please bear with me as a PR this size will take me some time to review.
k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible | ||
k8s.io/kubernetes v1.14.6 |
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.
I understand, but not sure if this is correct. Let's keep it on the same version for now, we can send a follow-up PR just to update it.
@mmiranda96 comment is addressed in new commit. Could you please kindly review this pr? Thanks! |
/assign @andyxning |
/assign @vteratipally |
/assign @xueweiz |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MartinForReal, vteratipally 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 |
move k8s.io/kubernetes/pkg/ssh to k8s.io/node-problem-detector/test/e2e/lib/ssh/k8sssh because ssh package is removed from k8s.io/kubernetes
remove k8s.io/kubernetes from dependencies
bump k8s.io dependencies to 1.17.2