Comments (10)
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.
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.
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.
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.
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.
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.
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.
ditto here. I'm interested in a non-docker solution too, & familiar with ansible.
from playground.
Any updates with this?
from playground.
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)
- move to docker compose v2
- Quick start with EM stuck at 87%; can't complete write-netplan step HOT 1
- Documentation for "On Bare Metal with Docker" setup is outdated HOT 1
- Tink_worker on sandbox deployment fails with CERT issue HOT 3
- Document the Kubernetes back-end deployment HOT 1
- "docker-compose up -d" step failing with error "sync-images-to-local-registry container "0d851d894440" is unhealthy" HOT 4
- Broken Documentation Links HOT 1
- Add Kubernetes/helm deployment option to Sandbox HOT 1
- Add documentation HOT 1
- Pulling in helm fails HOT 7
- Integrate CAPT into the Playground
- Failed with docker-compose sandbox HOT 4
- Update service versions
- Remove postgres backend
- Suggestions for improving docker-compose quickstart guide
- Fix/update the Terraform quickstart guide
- [Ubuntu 20.04] quickstart vagrant + libvirt VM provisioning stalling HOT 3
- Failed to complete quickstart VAGRANTVBOX HOT 8
- STATE_FAILED with docker-compose sandbox HOT 3
- STATE_PENDING with kubernetes (helm) sandbox HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playground.