Compare commits
15 Commits
c4453d5c6d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b5ed30d10 | ||
|
|
e3b65dda61 | ||
|
|
4797d66e0d | ||
|
|
e3df74ab34 | ||
|
|
95e439f406 | ||
|
|
f7855b0483 | ||
|
|
e72066e9a7 | ||
|
|
906cb4628c | ||
|
|
51079bc226 | ||
| 33600fd444 | |||
|
|
6a13925f34 | ||
| c0c9899342 | |||
|
|
6815034619 | ||
| 39fc3f673a | |||
|
|
7ee09711ea |
33
.gitea/workflows/k8s02DEV242_DEPLOY.yaml
Normal file
33
.gitea/workflows/k8s02DEV242_DEPLOY.yaml
Normal 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
|
||||
|
||||
33
.gitea/workflows/k8s03DEV243_DEPLOY.yaml
Normal file
33
.gitea/workflows/k8s03DEV243_DEPLOY.yaml
Normal 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
|
||||
|
||||
18
readme.md
18
readme.md
@@ -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
|
||||
@@ -11,4 +12,21 @@ 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
|
||||
```
|
||||
|
||||
## 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
|
||||
```
|
||||
22
unUsedPipelines/iSCSI243_DELETE.yaml
Normal file
22
unUsedPipelines/iSCSI243_DELETE.yaml
Normal 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
|
||||
22
unUsedPipelines/k8sDEV242_DELETE.yaml
Normal file
22
unUsedPipelines/k8sDEV242_DELETE.yaml
Normal 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
|
||||
Reference in New Issue
Block a user