Code Monkey home page Code Monkey logo

Comments (10)

jmpolom avatar jmpolom commented on September 21, 2024 1

Thanks for the response. I think we're going to start working on this and we'll definitely send over a PR when we have something we feel is worth your time.

from playground.

jacobweinstock avatar jacobweinstock commented on September 21, 2024

Hey @jmpolom, this seems very doable. For the docker-compose to podman hopefully should only require some minor modifications to the existing docker-compose.yml file. If you've got anything started please do submit a regular or draft PR or a repo branch and we can collaborate.

from playground.

djpbessems avatar djpbessems commented on September 21, 2024

Feel free to take a look at https://code.spamasaurus.com/djpbessems/Packer.Images/src/branch/Tinkerbell.Appliance/ansible to see how I'm deploying the sandbox through Ansible (though it does use docker-compose).

from playground.

jacobweinstock avatar jacobweinstock commented on September 21, 2024

Hey @djpbessems, any chance there are any docs to help me understand how to use this? my Ansible is quite rusty and I'm having some difficulty finding where the code is for deploying the sandbox.

from playground.

djpbessems avatar djpbessems commented on September 21, 2024

Sorry, apparently I linked to the wrong branch (updated my comment with correct link now https://code.spamasaurus.com/djpbessems/Packer.Images/src/branch/Tinkerbell.Appliance/ansible)

The playbook has 4 roles, out of which tinkerbell and firstboot are relevant:
Within those roles, the sandbox.yml does the initial setup of the Tink stack, while the ansible playbook that is run as payload upon first boot then also has a role tinkerbell (that brings up the tink stack up with the last configuration applied).

from playground.

jmpolom avatar jmpolom commented on September 21, 2024

Just want to put out there that we are working on an ansible role that deploys the 'sandbox' with podman using the ansible podman_container module. This does not directly consume the sandbox docker compose file which is a primary objective for us since we do not intend to deploy with docker-compose. Our overarching objective is to enable us to host the sandbox using rootless podman containers.

My thought is that it would be most beneficial if the tinkerbell project supported a similar type of ansible deployment method (using docker_container and podman_container so both runtimes are supported) that doesn't directly rely on docker-compose. We haven't yet sent any kind of a PR for what we have as we're also looking to implement systemd service units to host the sandbox as well and would prefer to include that in a PR.

from playground.

djpbessems avatar djpbessems commented on September 21, 2024

I'm super interested in your efforts.

Just a heads-up: Installing ansible through apt on Ubuntu 20.xx will result in ansible 2.9.x which doesn't properly support galaxy collections. The better installation method (this goes for all distro's I think) is to install it through pip:

apt install python3-pip python3-wheel python3-setuptools -y
pip3 install --upgrade pip
pip3 install ansible-core

from playground.

dch avatar dch commented on September 21, 2024

ditto here. I'm interested in a non-docker solution too, & familiar with ansible.

from playground.

alancaldelas avatar alancaldelas commented on September 21, 2024

Any updates with this?

from playground.

chrisdoherty4 avatar chrisdoherty4 commented on September 21, 2024

We recently adopted a minimalist approach to deployment options. We're very open to adding more but its unlikely we'll prioritize investing in this any time soon.

If you have time to develop and support this option don't hesitate to leave a comment.

Dubbing the issue as stale and closing for now.

from playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.