From b309e87b409fe5dd4a5579bee23879bb83bcb433 Mon Sep 17 00:00:00 2001 From: Josia Scheytt Date: Fri, 30 Aug 2024 10:08:43 +0200 Subject: [PATCH] docs: fix invalid input in field user_data Talos config files greater than 32kb will create an error when trying to create Hetzner servers. This also applies for the default configuration. Signed-off-by: Josia Scheytt Signed-off-by: Andrey Smirnov --- .../v1.8/talos-guides/install/cloud-platforms/hetzner.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/content/v1.8/talos-guides/install/cloud-platforms/hetzner.md b/website/content/v1.8/talos-guides/install/cloud-platforms/hetzner.md index 97bd2040d..a1b9cab4d 100644 --- a/website/content/v1.8/talos-guides/install/cloud-platforms/hetzner.md +++ b/website/content/v1.8/talos-guides/install/cloud-platforms/hetzner.md @@ -180,12 +180,15 @@ hcloud load-balancer add-target controlplane \ Using the IP/DNS name of the loadbalancer created earlier, generate the base configuration files for the Talos machines by issuing: ```bash -$ talosctl gen config talos-k8s-hcloud-tutorial https://:6443 +$ talosctl gen config talos-k8s-hcloud-tutorial https://:6443 \ + --with-examples=false --with-docs=false created controlplane.yaml created worker.yaml created talosconfig ``` +Generating the config without examples and docs is necessary because otherwise you can easily exceed the 32 kb limit on uploadable userdata (see [issue 8805](https://github.com/siderolabs/talos/issues/8805)). + At this point, you can modify the generated configs to your liking. Optionally, you can specify `--config-patch` with RFC6902 jsonpatches which will be applied during the config generation.