chore(documentation): added additional context in the talos gpu guide. (#31730)

Added a placement example of the gpu patch placement on the node as well
as a short explanation of the context around when it's placed in certain
places.

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: TJ <55514551+nerddotdad@users.noreply.github.com>
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
TJ
2025-02-07 12:23:08 -08:00
committed by GitHub
parent 2d629f6867
commit 4717e501df
+20 -1
View File
@@ -56,7 +56,7 @@ Additionally, you will need to create the following patch file `gpu.yaml` in the
```
This patch file then needs to be added to the `talconfig.yaml`:
This patch file then needs to be added to the `talconfig.yaml`. The placement of this line would be in relation to where your GPU exists. More than likely it would be placed under a specific node:
```yaml
@@ -65,6 +65,25 @@ patches:
```
Example:
```yaml
nodes:
# We would adivce to always stick to a "k8s-something-1" style naming scheme
- hostname: k8s-control-1
ipAddress: ${MASTER1IP_IP}
controlPlane: true
schematic:
customization:
systemExtensions:
officialExtensions:
- siderolabs/util-linux-tools
- siderolabs/nonfree-kmod-nvidia-lts
- siderolabs/nvidia-container-toolkit-lts
### Note the placement of the gpu patch reference ###
patches:
- "@./patches/gpu.yaml"
```
## Adding it to your cluster
If its a fresh bootstrap you can simply follow the clustertool guide on how to bootstrap your cluster.