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
split coredns dependency to decouple kubeadm and kube-up #80749
Conversation
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
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.
this seems like a good way to fix the blockade in #78033
TL;DR: is that we are making a change in how kubeadm is doing coredns upgrades and also bumping the coredns version in kubeadm. but we are not bumping the version in kube-up and CI is failing.
it feels to me that the sync between the two deployers is much desired in this regard, yet it should not be forced, thus this PR.
/lgtm
@kubernetes/sig-cluster-lifecycle-pr-reviews
/assign @justaugustus
cc @MrHohn
/retest |
Just noting here that I don't want us to get in the habit of bifurcating versions for the same dependency. Let's get this merged to unblock the kubeadm work with a future goal to dedupe the dependency. /lgtm /hold |
I'd echo @justaugustus, that this concerns me. I'd like some way to make sure that when we get to release time, both officially supported install paths should install the same version of CoreDNS. Is that at least documented somewhere in policy? I have a couple questions:
|
that is true, at the same time ideally kubeadm PRs should not be touching
i see the same. will defer to the list of folks bellow [1].
the test jobs here exercise both the deploy and deploy + upgrade paths for kubeadm using coredns:
[1] possibly @rajansandeep , @chrisohaver and @MrHohn can answer that.
that's a good question. i personally think that we should not. there has been a few important bug fixes in coredns after 1.3.1 including scalability and it's time to move on. if kube-up is delayed maybe it can catch up next cycle. to quote myself from earlier:
|
Having it be enforced technically in such a way that creates unreviewably large PRs, I can see being a problem. But considering that all our presubmits use kube-up right now, having code merging into master that isn't being tested with all components doesn't seem right to me... especially letting a release go out without it. The board of jobs you linked is all for periodic ( |
To quote my comment on the other PR (#78033 (comment)):
|
a few of points:
these periodics are pretty well monitored. |
@cblecker @neolit123 I will be updating the upgrade logic for CoreDNS in kube-up (soon) the same way the upgrade migration logic is underway for kubeadm. I foresee the split to update the version to happen only this time since this is a major change to how the upgrade in CoreDNS will be handled. |
that is true. we do not have performance tests in the kubeadm jobs, so some of the kube-up tests might catch that. @chrisohaver do you have performance tests on the coredns repository side? |
Then perhaps we revert this change after this upgrade is done? Either way, the intent here is to update kube-up in short order, but just not the same exact PR. That addresses my main concern.. I just don't want to forget kube-up, or leave it to really really late in the cycle and then have to make tough decisions. Do you have a time estimate on the kube-up version of this upgrade work @rajansandeep? Is there an PR open already (it's okay if not, but if there is I'd like to follow it)? cc: @lachie83 -- Just to make sure this is on your radar. |
@rajansandeep Fantastic! All my concerns are more than addressed. Will follow along in those PRs. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cblecker, justaugustus, yastij 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 |
sounds good to me this problem [coordinating versions and testing ...] will be tricker as more things move out of the mono repo ... something to think about going forward 🤔 |
once kubeadm moves out of tree we are unlikely to enforce matching of the same coredns version as kube-up, unless the coredns maintainers prefer that. then again, the hardcoded coredns addon in kubeadm itself will eventually move outside of kubeadm, and into the "cluster-addons" project, which will probably allow the users to install any version, but still have a sane default. |
right, that just means there may be even more spread on what we test and more places to need to go track down updates...
that would be very nice I'm hopeful for consuming this sort of thing in kind as well :-) |
Signed-off-by: Yassine TIJANI ytijani@vmware.com
What type of PR is this?
/kind bug
/sig release
/sig architecture
/priority important-soon
What this PR does / why we need it: decouples kubeadm and kube-up and allows bumping coredns separately. Unblocks #78033
Which issue(s) this PR fixes: ref #80546
Special notes for your reviewer:
/assign @cblecker @neolit123
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: