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.
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.tfto saydatastore_id = optional(string, "local-lvm")and that seems to work great.If I try to change
bootstrap/volumes/persistent-volume/variables.tfandbootstrap/volumes/variables.tfin a similar fashion, I get the below error. I tried bothlocal-lvmand justlvm, but it errors either way.Also, I have to create the volume(s) at cluster creation time or, if I add it later, running
tofu applywill shut down all of the vms for some reason. Thanks for any help you can provide.