Skip to content

🤵Maid Café - Kubernetes Cluster 6 #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025
Merged

Conversation

clee231
Copy link
Contributor

@clee231 clee231 commented May 24, 2025

Ignoring VM state after initial creation.

With this PR, this should be all that is needed for the initial VM creation.

@clee231 clee231 self-assigned this May 24, 2025
@clee231 clee231 added ✨ enhancement New feature or request 🖥️ Proxmox Proxmox related work 🏗️ Terraform Terraform related work labels May 24, 2025
@clee231 clee231 enabled auto-merge (squash) May 24, 2025 21:50
Copy link

github-actions bot commented May 24, 2025

OpenTofu plan in proxmox/terraform/stacks/maid-cafe-k8s in the prod workspace
With var files: proxmox/terraform/stacks/maid-cafe-k8s/configuration/prod.tfvars

Plan: 0 to add, 8 to change, 0 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~  update in-place

OpenTofu will perform the following actions:

  # proxmox_vm_qemu.k8s_01 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_01" {
        id                     = "boba/qemu/108"
        name                   = "k8s-01"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_02 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_02" {
        id                     = "chai/qemu/105"
        name                   = "k8s-02"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_03 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_03" {
        id                     = "coffee/qemu/107"
        name                   = "k8s-03"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_04 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_04" {
        id                     = "matcha/qemu/109"
        name                   = "k8s-04"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_05 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_05" {
        id                     = "boba/qemu/104"
        name                   = "k8s-05"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_06 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_06" {
        id                     = "chai/qemu/102"
        name                   = "k8s-06"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_07 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_07" {
        id                     = "coffee/qemu/106"
        name                   = "k8s-07"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

  # proxmox_vm_qemu.k8s_08 will be updated in-place
!~  resource "proxmox_vm_qemu" "k8s_08" {
        id                     = "matcha/qemu/101"
        name                   = "k8s-08"
+       pool                   = "Kubernetes"
#        (36 unchanged attributes hidden)

!~      disk {
            id                   = 2
!~          iothread             = false -> true
-           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso" -> null
!~          slot                 = "ide2" -> "virtio0"
+           storage              = "ceph"
!~          type                 = "cdrom" -> "disk"
#            (18 unchanged attributes hidden)
        }
!~      disk {
-           format               = "raw" -> null
            id                   = 2
-           iothread             = true -> null
+           iso                  = "cephfs:iso/taloslinux-cached-amd64-20250522.iso"
!~          slot                 = "virtio0" -> "ide2"
-           storage              = "ceph" -> null
!~          type                 = "disk" -> "cdrom"
#            (18 unchanged attributes hidden)
        }

#        (5 unchanged blocks hidden)
    }

Plan: 0 to add, 8 to change, 0 to destroy.

✅ Plan applied in Tofu Apply for Maid Café #9

Outputs
k8s-01_vm_id = "boba/qemu/108"
k8s-02_vm_id = "chai/qemu/105"
k8s-03_vm_id = "coffee/qemu/107"
k8s-04_vm_id = "matcha/qemu/109"
k8s-05_vm_id = "boba/qemu/104"
k8s-06_vm_id = "chai/qemu/102"
k8s-07_vm_id = "coffee/qemu/106"
k8s-08_vm_id = "matcha/qemu/101"

@clee231 clee231 disabled auto-merge May 26, 2025 22:45
@clee231 clee231 merged commit 1c3085a into main May 26, 2025
1 check passed
@clee231 clee231 deleted the feature/maid-cafe-vms6 branch May 26, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏗️ Terraform Terraform related work 🖥️ Proxmox Proxmox related work ✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant