From 95e439f406a42c1cf1706299499ffc0035542192 Mon Sep 17 00:00:00 2001 From: Martin Cholewa Date: Thu, 9 Oct 2025 09:35:38 +0200 Subject: [PATCH] 242 second node --- ...45_DELETE.yaml => k8s02DEV242_DELETE.yaml} | 4 +-- .gitea/workflows/k8s02DEV242_DEPLOY.yaml | 33 +++++++++++++++++++ .gitea/workflows/k8s02DEV245_DEPLOY.yaml | 33 ------------------- 3 files changed, 35 insertions(+), 35 deletions(-) rename .gitea/workflows/{k8s02DEV245_DELETE.yaml => k8s02DEV242_DELETE.yaml} (87%) create mode 100644 .gitea/workflows/k8s02DEV242_DEPLOY.yaml delete mode 100644 .gitea/workflows/k8s02DEV245_DEPLOY.yaml diff --git a/.gitea/workflows/k8s02DEV245_DELETE.yaml b/.gitea/workflows/k8s02DEV242_DELETE.yaml similarity index 87% rename from .gitea/workflows/k8s02DEV245_DELETE.yaml rename to .gitea/workflows/k8s02DEV242_DELETE.yaml index 0b39c46..fc3ab31 100644 --- a/.gitea/workflows/k8s02DEV245_DELETE.yaml +++ b/.gitea/workflows/k8s02DEV242_DELETE.yaml @@ -18,5 +18,5 @@ jobs: port: 22 script: | pveversion - qm stop 255 - qm destroy 255 + qm stop 242 + qm destroy 242 diff --git a/.gitea/workflows/k8s02DEV242_DEPLOY.yaml b/.gitea/workflows/k8s02DEV242_DEPLOY.yaml new file mode 100644 index 0000000..46cab4c --- /dev/null +++ b/.gitea/workflows/k8s02DEV242_DEPLOY.yaml @@ -0,0 +1,33 @@ +name: DEPLOY VM at proxmox + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + + - name: Deploying VM to Proxmox + uses: appleboy/ssh-action@v1.2.0 + with: + host: 192.168.11.102 + username: root + password: ${{ secrets.PASSWORD }} + port: 22 + script: | + pveversion + qm create 242 --name k8s02DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26 + qm set 242 --bios seabios + qm importdisk 242 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM + qm set 242 --virtio0 iSCSIsynologyLVM:vm-242-disk-0 + qm set 242 --ide2 iSCSIsynologyLVM:cloudinit + qm set 242 --boot order=virtio0 + qm set 242 --ipconfig0 ip=192.168.11.242/24,gw=192.168.11.1 + qm set 242 --ciuser chs --cipassword genius + qm set 242 --sshkey <(echo "ssh-ed24219 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key") + qm set 242 --agent enabled=1 + qm resize 242 virtio0 +30G + qm start 242 + \ No newline at end of file diff --git a/.gitea/workflows/k8s02DEV245_DEPLOY.yaml b/.gitea/workflows/k8s02DEV245_DEPLOY.yaml deleted file mode 100644 index c25f533..0000000 --- a/.gitea/workflows/k8s02DEV245_DEPLOY.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: DEPLOY VM at proxmox - -on: - workflow_dispatch: - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - - name: Deploying VM to Proxmox - uses: appleboy/ssh-action@v1.2.0 - with: - host: 192.168.11.102 - username: root - password: ${{ secrets.PASSWORD }} - port: 22 - script: | - pveversion - qm create 245 --name k8s02DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26 - qm set 245 --bios seabios - qm importdisk 245 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM - qm set 245 --virtio0 iSCSIsynologyLVM:vm-245-disk-0 - qm set 245 --ide2 iSCSIsynologyLVM:cloudinit - qm set 245 --boot order=virtio0 - qm set 245 --ipconfig0 ip=192.168.11.245/24,gw=192.168.11.1 - qm set 245 --ciuser chs --cipassword genius - qm set 245 --sshkey <(echo "ssh-ed24519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key") - qm set 245 --agent enabled=1 - qm resize 245 virtio0 +30G - qm start 245 - \ No newline at end of file