Compare commits

...

36 Commits

Author SHA1 Message Date
Martin Cholewa
1b5ed30d10 fix name 2025-10-09 17:45:54 +02:00
Martin Cholewa
e3b65dda61 fix name 2025-10-09 17:42:21 +02:00
Martin Cholewa
4797d66e0d 3rd node 2025-10-09 17:41:01 +02:00
Martin Cholewa
e3df74ab34 fix ssh 2025-10-09 10:25:51 +02:00
Martin Cholewa
95e439f406 242 second node 2025-10-09 09:35:38 +02:00
Martin Cholewa
f7855b0483 fix id and ip 2025-10-09 09:28:12 +02:00
Martin Cholewa
e72066e9a7 fixing name 2025-10-09 09:23:44 +02:00
Martin Cholewa
906cb4628c adding second k8s node 2025-10-09 09:22:27 +02:00
Martin Cholewa
51079bc226 adding documentation 2025-10-09 09:16:27 +02:00
33600fd444 Merge pull request 'removing unused deployment all cler delate brach' (#3) from cleanOldStaff into main
Reviewed-on: #3
2025-10-09 09:13:46 +02:00
Martin Cholewa
6a13925f34 removing unused deployment 2025-10-09 09:12:36 +02:00
c0c9899342 Merge pull request 'mooving out from gitea workflows' (#2) from cleanOldStaff into main
Reviewed-on: #2
2025-10-09 08:49:14 +02:00
Martin Cholewa
6815034619 mooving out from gitea workflows 2025-10-09 08:48:05 +02:00
39fc3f673a Merge pull request 'removed unused staff' (#1) from cleanOldStaff into main
Reviewed-on: #1
2025-10-09 08:46:26 +02:00
Martin Cholewa
7ee09711ea removed unused staff 2025-10-09 08:42:22 +02:00
Martin Cholewa
c4453d5c6d fix naming 2025-10-07 13:28:38 +02:00
martin.cholewa
fb92df1b5d fix ip 2025-10-07 12:58:20 +02:00
martin.cholewa
621173e9fc fix 2025-10-07 12:54:52 +02:00
martin.cholewa
6380c06229 fix and add remove 2025-10-07 12:17:59 +02:00
martin.cholewa
6ec1bef233 vmk8siscsi 2025-10-07 12:15:01 +02:00
martin.cholewa
1f8871db8e delete 243 2025-10-07 06:13:29 +02:00
martin.cholewa
8fced612a1 import fix 2025-10-07 06:12:07 +02:00
martin.cholewa
026ff54db9 iSCSI deploy 2025-10-07 06:10:29 +02:00
Martin Cholewa
2bf3cd6e57 removing k8s 2025-10-06 18:38:43 +02:00
Martin Cholewa
6df850a684 renaming 2025-10-06 14:17:21 +02:00
Martin Cholewa
c879985f34 k8sDEV vm 2025-10-06 14:16:34 +02:00
Martin Cholewa
e4531c2dad fix rename 2025-10-06 14:04:41 +02:00
Martin Cholewa
08ea8e8f5a renaming jobs 2025-10-06 14:03:44 +02:00
Martin Cholewa
e16293c9c7 new key 2025-10-06 13:10:55 +02:00
Chose Carreras
9db5656474 delete pipeline for 241 2025-10-06 11:33:43 +02:00
Chose Carreras
c08b82976d adding new VM 2025-10-06 10:20:23 +02:00
martin.cholewa
278fa4ea57 enabling agent 2025-09-26 12:05:43 +02:00
martin.cholewa
dc012a989c no salt anymore brodacom 2025-09-26 11:37:14 +02:00
martin.cholewa
65115e9980 fix 2025-09-26 11:27:37 +02:00
martin.cholewa
65a8fd2bf5 salt 2025-09-26 11:27:20 +02:00
martin.cholewa
bc48a073fd saltMaster 2025-09-26 11:27:13 +02:00
16 changed files with 383 additions and 34 deletions

View File

@@ -1,32 +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 140 --name cloudINIT140 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
qm set 140 --bios seabios
qm importdisk 140 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
qm set 140 --virtio0 smallDisk:140/vm-140-disk-0.raw
qm set 140 --ide2 smallDisk:cloudinit
qm set 140 --boot order=virtio0
qm set 140 --ipconfig0 ip=192.168.11.240/24,gw=192.168.11.1
qm set 140 --ciuser chs --cipassword genius
qm set 140 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAE39D/Dep3EHMWXB6wiMTL0My1SlMZVk0Y80jEv7LOb xchose@freya.local")
qm start 140
qm resize 140 virtio0 +30G

View File

@@ -0,0 +1,22 @@
name: Create 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 stop 244
qm destroy 244

View File

@@ -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 244 --name k8s01DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
qm set 244 --bios seabios
qm importdisk 244 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
qm set 244 --virtio0 iSCSIsynologyLVM:vm-244-disk-0
qm set 244 --ide2 iSCSIsynologyLVM:cloudinit
qm set 244 --boot order=virtio0
qm set 244 --ipconfig0 ip=192.168.11.244/24,gw=192.168.11.1
qm set 244 --ciuser chs --cipassword genius
qm set 244 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 244 --agent enabled=1
qm resize 244 virtio0 +30G
qm start 244

View File

@@ -0,0 +1,22 @@
name: Create 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 stop 242
qm destroy 242

View File

@@ -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-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 242 --agent enabled=1
qm resize 242 virtio0 +30G
qm start 242

View File

@@ -0,0 +1,22 @@
name: Create 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 stop 243
qm destroy 243

View File

@@ -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 243 --name k8s03DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
qm set 243 --bios seabios
qm importdisk 243 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
qm set 243 --virtio0 iSCSIsynologyLVM:vm-243-disk-0
qm set 243 --ide2 iSCSIsynologyLVM:cloudinit
qm set 243 --boot order=virtio0
qm set 243 --ipconfig0 ip=192.168.11.243/24,gw=192.168.11.1
qm set 243 --ciuser chs --cipassword genius
qm set 243 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 243 --agent enabled=1
qm resize 243 virtio0 +30G
qm start 243

View File

@@ -1,4 +1,5 @@
## Autmatic Instalation check 140 static ip:
First shot of deplyment via bash script
```
qm create 140 --name cloudINIT140 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
qm set 140 --bios seabios
@@ -12,3 +13,20 @@ qm set 140 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAE39D/Dep3EHMWX
qm start 140
qm resize 140 virtio0 +30G
```
## Second shot install to iSCSI synology disk:
First shot of deplyment via bash script
```
qm create 244 --name k8s01DEV --memory 12288 --net0 virtio,bridge=vmbr0 --cores 4 --sockets 2 --ostype l26
qm set 244 --bios seabios
qm importdisk 244 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img iSCSIsynologyLVM
qm set 244 --virtio0 iSCSIsynologyLVM:vm-244-disk-0
qm set 244 --ide2 iSCSIsynologyLVM:cloudinit
qm set 244 --boot order=virtio0
qm set 244 --ipconfig0 ip=192.168.11.244/24,gw=192.168.11.1
qm set 244 --ciuser chs --cipassword genius
qm set 244 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 244 --agent enabled=1
qm resize 244 virtio0 +30G
qm start 244
```

View File

@@ -18,6 +18,6 @@ jobs:
port: 22
script: |
pveversion
qm stop 140
qm destroy 140
qm stop 240
qm destroy 240

View File

@@ -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 240 --name cloudINIT240 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
qm set 240 --bios seabios
qm importdisk 240 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
qm set 240 --virtio0 smallDisk:240/vm-240-disk-0.raw
qm set 240 --ide2 smallDisk:cloudinit
qm set 240 --boot order=virtio0
qm set 240 --ipconfig0 ip=192.168.11.240/24,gw=192.168.11.1
qm set 240 --ciuser chs --cipassword genius
qm set 240 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 240 --agent enabled=1
qm start 240
qm resize 240 virtio0 +30G

View File

@@ -0,0 +1,22 @@
name: Create 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 stop 241
qm destroy 241

View File

@@ -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 241 --name cloudINIT241 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
qm set 241 --bios seabios
qm importdisk 241 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
qm set 241 --virtio0 smallDisk:241/vm-241-disk-0.raw
qm set 241 --ide2 smallDisk:cloudinit
qm set 241 --boot order=virtio0
qm set 241 --ipconfig0 ip=192.168.11.241/24,gw=192.168.11.1
qm set 241 --ciuser chs --cipassword genius
qm set 241 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 241 --agent enabled=1
qm start 241
qm resize 241 virtio0 +30G

View File

@@ -0,0 +1,22 @@
name: Create 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 stop 243
qm destroy 243

View File

@@ -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 243 --name cloudINIT243 --memory 2048 --net0 virtio,bridge=vmbr0 --cores 2 --sockets 1 --ostype l26
qm set 243 --bios seabios
qm importdisk 243 /mnt/storage_sdb/template/iso/noble-server-cloudimg-amd64.img smallDisk
qm set 243 --virtio0 iSCSIsynology:243/vm-243-disk-0.raw
qm set 243 --ide2 iSCSIsynology:cloudinit
qm set 243 --boot order=virtio0
qm set 243 --ipconfig0 ip=192.168.11.243/24,gw=192.168.11.1
qm set 243 --ciuser chs --cipassword genius
qm set 243 --sshkey <(echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 243 --agent enabled=1
qm start 243
qm resize 243 virtio0 +30G

View File

@@ -0,0 +1,22 @@
name: Create 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 stop 242
qm destroy 242

View File

@@ -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 k8sDEV --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 smallDisk
qm set 242 --virtio0 smallDisk:242/vm-242-disk-0.raw
qm set 242 --ide2 smallDisk: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-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZn0A7BiDckpYHS8qgphNHc7hpx4/Ml1iQ4KI1FTtpa Ansible key")
qm set 242 --agent enabled=1
qm start 242
qm resize 242 virtio0 +30G