added missing dep
This commit is contained in:
parent
8ce2b8f834
commit
6361a78052
@ -8,6 +8,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: oven/bun:latest
|
image: oven/bun:latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Git
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y git
|
||||||
- name: Grab local files
|
- name: Grab local files
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Clone Quartz
|
- name: Clone Quartz
|
||||||
|
|||||||
@ -7,6 +7,57 @@ tags:
|
|||||||
draft: false
|
draft: false
|
||||||
date: 2025-12-14
|
date: 2025-12-14
|
||||||
---
|
---
|
||||||
|
### Enabling Talos system extensions
|
||||||
|
|
||||||
|
I wanted to deploy Longhorn on a Talos cluster and I didn't realise that at the time I didn't include the required extensions:
|
||||||
|
|
||||||
|
- siderolabs/iscsi-tools
|
||||||
|
- siderolabs/util-linux-tools
|
||||||
|
|
||||||
|
After a bit of struggling, I found the fix on Reddit lol... create a patch file:
|
||||||
|
|
||||||
|
```
|
||||||
|
# patch.yaml
|
||||||
|
|
||||||
|
customization:
|
||||||
|
systemExtensions:
|
||||||
|
officialExtensions:
|
||||||
|
- siderolabs/iscsi-tools
|
||||||
|
- siderolabs/util-linux-tools
|
||||||
|
```
|
||||||
|
|
||||||
|
Use this patch file in a POST request to the Talos image builder to get the schematic ID for an image with these extensions:
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -X POST --data-binary @patch.yaml https://factory.talos.dev/schematics
|
||||||
|
|
||||||
|
# OUTPUT:
|
||||||
|
{"id":"613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245"}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Then upgrade the Talos cluster using this new schematic (make sure to match the version of Talos software that is currently running - in my case it was 1.11.5):
|
||||||
|
|
||||||
|
```
|
||||||
|
talosctl upgrade --preserve --image factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245:v1.11.5 --nodes=192.168.0.5,192.168.0.6,192.168.0.7,192.168.0.8
|
||||||
|
|
||||||
|
# OUTPUT:
|
||||||
|
watching nodes: [192.168.0.5 192.168.0.6 192.168.0.7 192.168.0.8]
|
||||||
|
* 192.168.0.5: post check passed
|
||||||
|
* 192.168.0.6: post check passed
|
||||||
|
* 192.168.0.7: post check passed
|
||||||
|
* 192.168.0.8: post check passed
|
||||||
|
|
||||||
|
talosctl get extensions -n 192.168.0.5
|
||||||
|
|
||||||
|
# OUTPUT:
|
||||||
|
NODE NAMESPACE TYPE ID VERSION NAME VERSION
|
||||||
|
192.168.0.5 runtime ExtensionStatus 0 1 iscsi-tools v0.2.0
|
||||||
|
192.168.0.5 runtime ExtensionStatus 1 1 util-linux-tools 2.41.1
|
||||||
|
192.168.0.5 runtime ExtensionStatus 2 1 schematic 613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
### Migrating data between PVCs
|
### Migrating data between PVCs
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user