Skip to content

multiple proxmox clusters (nodes without cluster) #2008

Open
@schmitch

Description

@schmitch

Is your feature request related to a problem? Please describe.
currently sometimes it's better to have individual nodes not within a proxmox cluster and instead use them on their own.
however with the current proxmox provider that works, but it's inconvienient. first of all node migration does not work (besides that this is possible, as seen in proxmox data center) and second it's a little bit akward to have tons of provider inside the state

i.e. like:

provider "proxmox" {
  alias    = "nodes"
  endpoint = "https://${var.proxmox_nodes[each.key].hostname}:8006"
  username = var.proxmox_nodes[each.key].username
  password = var.proxmox_nodes[each.key].password
  insecure = true
  ssh {
    agent = true
  }

  for_each = local.proxmox_providers
}

while it works, it will break some functions completly when migrating vms between clusters for example.

Describe the solution you'd like
currently dell redshift has a cool pattern for that by specifcing a map of servers instead: https://search.opentofu.org/provider/dell/redfish

Describe alternatives you've considered

Additional context
currently we host kubernetes on top of proxmox but we do not really need the cluster features of proxmox and we also have a higher latency between some clusters (wan) however we still sometimes need to move vms between nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    📥 Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions