Skip to content
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

Create a default ManagedOSVersionChannel for os2 #87

Closed
6 tasks done
Tracked by #58
mudler opened this issue Apr 4, 2022 · 4 comments
Closed
6 tasks done
Tracked by #58

Create a default ManagedOSVersionChannel for os2 #87

mudler opened this issue Apr 4, 2022 · 4 comments
Assignees

Comments

@mudler
Copy link
Contributor

mudler commented Apr 4, 2022

Now that we have a basic mechanism to update ManagedOSVersion in a cluster, let's try to consume it and create a ManagedOSVersion for os2, for example a yaml file which can be applied on a cluster afterwards (part of our release artifacts).

At the end the user should be able to kubectl apply a YAML file which will keep them in sync by using ManagedOSVersionChannel with our github releases by re-using the ManagedOSVersion logic.

example:

api: "v1"
Kind: "ManagedOSVersionChannel"

spec:
   type: "Custom"
   options:  |  
       ....

IF something won't fit for our use-case, probably won't fit for anyone else, so this is an explorative card, to figure out what it takes to get there (e.g. if the custom or JSON type aren't enough, we can think one about git, etc.).

This card is also about to distribute someway this mechanism to the users, as this is user-facing. Includes creating Docs also on how to update to a ManagedOSVersion with a ManagedOS, and how to setup custom ManagedOSVersionChannel.

For instance, we can even have a github repository hosting .json files corresponding to available releases, and a custom syncer that wraps them up in ManagedOSVersions

@mudler mudler added the status/blocked Issue depend on another one label Apr 4, 2022
@mudler
Copy link
Contributor Author

mudler commented Apr 4, 2022

Blocked by #84

@mudler mudler removed the status/blocked Issue depend on another one label Apr 8, 2022
@mudler mudler self-assigned this Apr 11, 2022
@mudler
Copy link
Contributor Author

mudler commented Apr 11, 2022

WIP in https://github.com/rancher-sandbox/upgradechannel-discovery. I'm creating a small github discoverer image that can be used inside ManagedOSVersionChannel specs to pull versions from github releases (it just takes the versions, no other fields, like metadata are considered).

Ideally should be enough as a base to at least display available versions and select them for upgrades, individual enhancements we can track separately

@mudler
Copy link
Contributor Author

mudler commented Apr 14, 2022

I'm trying to have a look at #86 while at this, as currently I'd need to test the whole process manually again. maybe I can find an automated shortcut (without registering nodes) that we can include in our CI with a couple of tests on it.

@mudler
Copy link
Contributor Author

mudler commented Apr 22, 2022

A new os2 release is available with the default managedosversionchannel resource shipped as part of releases. Instructions on how to use it are in the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant