Skip to content

Use non-zfs with persistent volumes and the proxmox CSI #233

@riddley

Description

@riddley

Hello. I'm learning k8s and your blog post and repo have been invaluable. Thank you very much for both.

I'm trying to set up a cluster on a system that isn't using ZFS and it's almost entirely working other than persistent volumes. I changed talos/variables.tf to say datastore_id = optional(string, "local-lvm") and that seems to work great.

If I try to change bootstrap/volumes/persistent-volume/variables.tf and bootstrap/volumes/variables.tf in a similar fashion, I get the below error. I tried both local-lvm and just lvm, but it errors either way.

│ Error: unexpected response code '501': {"data":null,"message":"Method 'POST /api2/json/nodes/wu/storage/lvm/content/' not implemented"}

│ with module.volumes.module.proxmox-volume["duke"].restapi_object.proxmox-volume,
│ on bootstrap/volumes/proxmox-volume/config.tf line 5, in resource "restapi_object" "proxmox-volume":
│ 5: resource "restapi_object" "proxmox-volume" {

Also, I have to create the volume(s) at cluster creation time or, if I add it later, running tofu apply will shut down all of the vms for some reason. Thanks for any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions