Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
KubeDNS ConfigMap Addon was updated upstream, which breaks against previous releases of CDK #213
Comments
|
Thanks @chuckbutler. Here's the upstream PR that made this change: kubernetes/kubernetes#40382 The So, this is a versioning problem. We're pulling in a fancy new addon definition before we have the kubernetes binaries to support it. This might be a good argument for packaging the addons as a resource, which we can update independently, rather than pulling them into the charm at build time. An alternative would be to give |
Cynerva
self-assigned this
Feb 7, 2017
Cynerva
added
kind/bug
area/kubernetes-master
labels
Feb 7, 2017
|
This issue causes a hook failure, by the way, so it's a blocker for kubernetes-master development. @chuckbutler @mbruzek @wwwtyro In case somebody needs a quick fix, see Cynerva/kubernetes@0071f7a which disables |
|
Here's a branch that removes More work would be needed to create a jenkins job for the addons resource, but I should be able to knock that out quickly if we decide this is the way to go. @chuckbutler and @mbruzek I'd like to hear your opinions before I take any further action on this issue. Open to ideas! |
|
@Cynerva i don't know that we're ready to abandon the add-on tactic just yet... I think this is simply a case of having landed a broken change in master, and we need to raise awareness that this is a broken change and we should then see if we can't press for having a proper fix vetted in k8s/k8s rather than change our build routine because an add-on manifest was updated. I imagine if this is broken for us, its broken for everyone We also have an opportunity to re-build the bins for k8s and stuff them in the edge channel for use with this new addon template... which would explain why its broken for us, but not in tip... |
|
Ha okay, apologies if I was too gung-ho about this :)
I disagree. The new addon is broken against the 1.5.2 release, but I don't think it's broken against kubernetes/master builds (though I haven't tested this). I don't think it'd be fair of us to ask for cluster/addons on master to always support the latest stable release - it's a development branch, after all. Perhaps I'm making too many assumptions about a discussion that hasn't occurred yet, but I figure they'll just suggest we grab from an earlier branch. At which point, we'll need more control than I'd like to strive for that level of control anyway, to be honest. It doesn't sit well with me that kubernetes-master development is blocked without hacking on the code to make it work. |
|
His basically means to me that we should be hacking on the next tagged release or be building against the non 1.5.2 release as that's already cut. Our tests passed it and we should be working on what's next
…
|
Cynerva
removed their assignment
Feb 9, 2017
chuckbutler
changed the title from
KubeDNS ConfigMap Source seems broken in Master branch currently
to
KubeDNS ConfigMap Addon was updated upstream, which breaks against previous releases of CDK
Feb 10, 2017
Cynerva
referenced this issue
in kubernetes/kubernetes
Feb 10, 2017
Closed
Juju kubernetes-master: Fix UpdateAddonsTactic to use local repo #41251
|
This was fixed with 41251. If you need to set a specific tag for addons, export |
chuckbutler commentedFeb 7, 2017
During a deployment, the kubedns maps are working with whats in teh charm store, however the addon template apparently landed a change which has broken when building from source
I know this was pending an actual re-publish of the container, but that's not whats listed as broken here, its the presence of the config-map being listed as optional. We've either botched a translation or the template is broken upstream, and we should really fix this before the next CDK rev.