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 matchbox image flatcar linux and Redhat CoreOS automation #503

Open
fishman opened this issue Sep 28, 2020 · 3 comments
Open

Create matchbox image flatcar linux and Redhat CoreOS automation #503

fishman opened this issue Sep 28, 2020 · 3 comments

Comments

@fishman
Copy link

fishman commented Sep 28, 2020

Matchbox seems to have become a standard for auto-provisioning Flatcar linux environments such as etcd, Lokomotiv Kubernetes and other environments on top of flatcar linux(CoreOS fork) and RedHat CoreOS.

It is built as a go binary that we could integrate into an LX Zone or maybe even a normal SmartOS zone.

https://github.com/poseidon/matchbox

https://matchbox.psdn.io

@YanChii
Copy link
Contributor

YanChii commented Sep 28, 2020

(Related to #504)

Not sure what you are trying to achieve. Do you want to create a VM image with the matchbox binary present? Or do you want to create some automation from it?
In the first case, we can add it as a pkgsrc package.
In the second case you need to describe your intentions a bit more.

@fishman
Copy link
Author

fishman commented Sep 28, 2020

I think first step would be for me to see if there is any issue to running matchbox inside of a solaris zone.

If not step one would be to add it to pkgsrc and create a base image that we can create.

I think the normal use case would then be using terraform:

  1. create new net
  2. deploy matchbox vm in the new network
  3. configure with terraform matchbox
  4. create new vms and have them configured automatically using matchbox(for example etcd, kubernetes etc...)

@YanChii
Copy link
Contributor

YanChii commented Oct 24, 2020

We can push the matchbox/ignition scripts using the metadata when creating a VM. The same process is currently used for cloud-init scripts.

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

No branches or pull requests

2 participants