2025-05-03T21:41+02:00

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-05-03 21:41:32 +02:00
parent a913e1cbc0
commit b70c8408dc
3 changed files with 25 additions and 12 deletions

View File

@@ -72,3 +72,16 @@ sudo vgextend k3s-vg /dev/sda3
# Use the newly available storage in the root volume
sudo lvresize -l +100%FREE -r /dev/k3s-vg/root
```
## Cloud Init VMs
```sh
# On Hypervisor Host
qm resize <vmid> scsi0 +32G
# On VM
sudo fdisk -l /dev/sda # To check
echo 1 | sudo tee /sys/class/block/sda/device/rescan
sudo fdisk -l /dev/sda # To check
# sudo apt-get install cloud-guest-utils
sudo growpart /dev/sda 1
```

View File

@@ -1,11 +1,11 @@
$ANSIBLE_VAULT;1.1;AES256
36383135343063353934336632616563666331386639393065633161353364623166393433636430
3930633063366563306364643934353135333164383663660a346134626362396233626562313736
38353830376130343734323631363036363163326666356231373963643933633437613331643665
3030356364626235340a366162343334653333643962393131303239386331653436393431373636
39356462393762626362653430376138633539663331396138663237363734613133613631356235
33323439646230613934373639346136663330626330383566636361616234363333613464376538
35356565663032613463626133633164383538313564376362336135373732396332343835323038
66656639616566613564396338623934623830333135343837363230646161323665316432646532
36613338616334306532376237316566376635326538313730633938333436623333383866383264
3438343462323536653130306333626132326231376231653465
33366337663238336235656339393633373761396661346339366239353538636534656237363630
6538326333356531366139333439336164323136336162650a656161633533323339353066313862
63653666656134633039386331376133333638643531383061303235393530343461626530613365
3435313536396130360a623063343263616166333562323063393935363034323132353330396139
30353536383237656130663430663838383263613631373064326637353335616631363161313162
64613634303632343236666339393230353531333334646135376364383030336266613563366333
30333331333333613565666530646462656161613031633931666637656537303765623837303230
36653664393838663330633333326539636634666531343031383133333634376262366563336463
37306561323865316630636661623732626635323233363463613130363939306466316632643836
3763353161366531386565393032383763363334326530373762

View File

@@ -31,6 +31,7 @@ k3s-longhorn[00:02]
[docker]
docker-host[00:01]
docker-host[11:12]
docker-lb
[vps]
@@ -53,8 +54,7 @@ k3s-loadbalancer
[docker_host]
docker-host[00:01]
docker-host[11:12]
[docker_lb]
docker-lb
docker-host11
docker-host12