-
Notifications
You must be signed in to change notification settings - Fork 196
design and implement phase2 and phase3 handoff (a.k.a. deploy addons) #126
Comments
I wonder whether this is really needed. Looking at SkyDNS right now, it has the following:
I am pretty sure that a config map can be used for 2, not quite sure about 1. I'd guess a simple and flexible approach would be to use a git repo, and make updates optional through git mechanics. User could override the repo location, if they really have to set different parameters to add-ons they can fork and edit. However, I'm only familiar with SkyDNS add-on, and the
As I suggested, using a git repo may be a simple way to start. I've also whether user might want to freeze certain addons, and in that case they would just have to make sure to not commit any changes... Well, this now becomes a little separate project, some folks might like using such a thing for doing simple CI/CD stuff. Also, would be good to check the status of updates for daemon sets, last time I checked, it didn't work yet, although it does't sound too complicated to handle daemon sets in different fashion. I'm happy to think of a simple design/prototype for this, if the general idea of using git sounds plausible.
With the approach described above, it would have to run constantly or, at least periodically. I am also thinking that some user might prefer to perform explicit updates to the set of addons, which may be a kind of thing they'd do with Ansible (or other such thing)... That's just for the record. I'd go with a single easy solution for the start. |
It would be great if the configuration required was minimal enough to not require templating. I think for the MVP, we need to be able to apply addons to the control-plane once (probably at the end of the deployment process). Versioning through git also sounds good. We should investigate https://github.com/kubernetes/helm and see if it has the capabilities we require from an addon applier. It would be great not to have to roll our own. Explicit updates sound good for the initial implementation. |
Yes, I was wondering if Helm would be appropriate to provide out of the box. |
See helm/helm#838 (comment) for details of my investigation so far, basically I didn't get very far with it. Hacking a PoC version of Helm that would work with |
Ok, actually helm/helm#852 fixes the issue, I'll carry on trying out what it takes to actually use Helm for managing addons. |
Helm solves templating question, and I'd be happy convert addons to charts with the obvious parameters (ones that are currently substitute by I've converted dashboard addon to illustrate how this might look like.
Helm currently doesn't have an upgrade mechanism helm/helm#690, but we haven't decided if that is required, so may be it's okay to wait for it to appear in Helm eventually, as it's most likely will.
Regarding this item, I suppose Helm would provide enough flexibility to how addons are managed, except for upgrades being an outstanding feature... |
@mikedanese good catch on the title, I though something was odd with it 👍 |
Thanks for exploring this. In your opinion is it to early to move to helm or should we go for it? Would it be easy to selectively enable addons? https://github.com/kubernetes/kubernetes-anywhere/blob/master/phase3/Kconfig |
I haven't used Helm super extensively to judge how well it works in the On Wed, 22 Jun 2016, 19:41 Mike Danese, [email protected] wrote:
|
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/close |
Right now addon configuration can be generated from the cluster config object. We need a way to run it automatically after phase2 on the master completes. kube-up uses the kube-addon-manager.sh which is a mess which we should avoid. Open questions:
The text was updated successfully, but these errors were encountered: