From: Benjamin Hofer <benjamin@gridscale.io>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] Infrastructure as code with Proxmox: Building templates, automated VM/container provisioning
Date: Tue, 6 Jun 2023 10:58:39 +0200 [thread overview]
Message-ID: <CAD=jCXMOhs-b0G-eJw3zeyVcNDV+UrmD8KxTSE6VVO29rM-5ew@mail.gmail.com> (raw)
Hi community,
after doing quite some research and testing of tools, I'm still looking for
a proper way of auto-provisioning VMs and containers on Proxmox
(infrastructure as code).
The goal is on the one hand to build base images, on the other hand to have
pipelines setup infrastructure like you would do on public clouds.
Terraform - The inofficial telmate/proxmox provider appeared to be
inreliable in many situations.
Ansible - There are some community modules, but also they weren't reliable,
parameters weren't honored etc.
Cloud-init - works OK, but is implemented in a way that appeared very
unusual to me. I'd expect to be able to pass user-data via the API
directly, like it's the case with many other well-known cloud providers.
Full, API-based automation is difficult with the current implementation.
Packer builder - might do for building VM images, but doesn't seem to
support cloud-init for instance.
Any ideas/thoughts? How to do IaC without writing everything on your own?
I'm quite new to Proxmox, so of course I may be wrong at some of these
points!
Thanks in advance.
All the best
Benjamin
reply other threads:[~2023-06-06 8:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD=jCXMOhs-b0G-eJw3zeyVcNDV+UrmD8KxTSE6VVO29rM-5ew@mail.gmail.com' \
--to=benjamin@gridscale.io \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox