this post was submitted on 17 Feb 2024
49 points (100.0% liked)

Selfhosted

40220 readers
926 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I might not deserve to say this, but I really wish Proxmox GmbH maintained an "official" terraform provider instead of relying on the community completely for it, à la Vates (XCP-ng). To be fair, it was the same with VMWare, so I'm not putting the blame on them.

For example, neither one out of the two well known Terraform providers (Telemate and bpg) support the newer SDN capabilities. Now, of course, it's new so I completely understand that it would take time to write code for said functionality. Especially when it's a community effort. It's just that if Proxmox handled it directly I feel like the community would be able to better support them by supplementing features on top of a base that they create instead of going from scratch.

I believe Proxmox has said that Terraform is not their priority, and I understand. It's a bad economy and companies are looking to downsize anyway. With that said, I hope I do get to see this someday.

Speaking of which, which IaC tool do you use for your Proxmox install/cluster?

all 22 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 9 months ago (1 children)

I started writing a Terraform provider for Proxmox a while ago.

Unfortunately, the API is a massive mess and the documentation is not very helpful either. It was a nightmare and I eventually gave up.

https://github.com/c10l/terraform-provider-proxmoxve

[–] [email protected] 2 points 9 months ago (2 children)

Very unfortunate. I'm considering OpenStack as an alternative for its support but TBH it's not what I want.

[–] [email protected] 4 points 9 months ago (1 children)

I might pick it back up some day but at the moment I have other projects going on at the moment.

I’m still using Proxmox myself but unfortunately it’s all fairly manually configured.

[–] [email protected] 4 points 9 months ago

It's just that when something breaks in Proxmox the remediation is completely manual and I hate that.

Thanks, I look forward to someone creating a provider which encompasses all of Proxmox.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

If you're willing to go the extra mile for OpenStack, I suggest you check out OKD and its virtualization operator. It's much easier to install and maintain, too

[–] [email protected] 1 points 9 months ago

Thanks I'll take a look

[–] [email protected] 6 points 9 months ago (1 children)

I'm using the bpg provider - but I share your pain. Both providers had things that don't work so I went with the one that supported my use-case better. But it's not ideal.

I would love an official provider.

[–] [email protected] 1 points 9 months ago

This..... bpg provider seems to check most boxes and I've had less quirks than Telmates. My biggest gripe with most / all of them is the lack of cluster support.

[–] [email protected] 5 points 9 months ago (1 children)

even most cloud hosts beyond the big 3 + Digital Ocean don't have an official terraform provider or ansible module it’s pretty ass.

[–] [email protected] 2 points 9 months ago (1 children)

A lot of them do actually. Most mid-tier cloud providers (Linode, Digital Ocean, Vultr) and less expensive providers (IONOS, for example) do have official terraform providers. Smaller providers like Racknerd don't but that is somewhat understandable.

Incidentally, Porkbun is a known DNS provider which doesn't have terraform support (which is why I'm evaluating Cloudflare in the first place for a domain).

XCP-ng has an official terraform provider, whilst ESXi and Proxmox don't. The unfortunate part is that there isn't even a provider for KVM, which really sucks.

[–] [email protected] -5 points 9 months ago

XCP-ng has an official terraform provider, whilst ESXi and Proxmox don’t. The unfortunate part is that there isn’t even a provider for KVM, which really sucks.

Use LXD/Incus instead, there's a provider for it.

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago) (1 children)

Yeah, I feel that. I've settled on telmate's but there's a few things I've had to implement as hacky post creation SSH edits on the config files, such as passing through the Intel GPU to my Jellyfin container.

[–] [email protected] 5 points 9 months ago (1 children)

AFAIK bpg's provider has significantly better feature-support than Telemate

[–] [email protected] 2 points 9 months ago

Ah, I see. I'll check it out!

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
ESXi VMWare virtual machine hypervisor
SSH Secure Shell for remote terminal access

[Thread #522 for this sub, first seen 17th Feb 2024, 20:45] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] -3 points 9 months ago
[–] [email protected] -5 points 9 months ago* (last edited 9 months ago) (1 children)

Well Proxmox doesn't have it... however LXD/Incus has one. Maybe you should try it as a replacement for Proxmox? I mean it's new, new generation software, can be installed in a clean Debian 12 setup from the repositories and does both containers and VMs.

[–] [email protected] 1 points 9 months ago (1 children)

Thanks, it's very new and I'd like to give it some time to mature. With that said, I'm happy to see a SUSE developer take it on.

It also has some great capabilities and let's me handle my storage and hardware whilst providing me paradigms akin to the Cloud a la Openstack (to an extent). It seems great, thanks for mentioning it.

[–] [email protected] -2 points 9 months ago (1 children)

Very new? The thing has been around since 2018. Anyways I know for a fact that a few cloud providers and some enterprise types are using it to power their infrastructure.

[–] [email protected] 1 points 9 months ago (1 children)

Could you tell me which cloud providers are using Incus?

It's a bit hard to search info about it with the name. But it's a fantastic project

[–] [email protected] -1 points 9 months ago

It’s a bit hard to search info about it with the name. But it’s a fantastic project

Searching for LXD usually returns more useful information... Incus is just a fork as you know.